{ "opencollection": "1.0.0", "info": { "name": "Axiom Annotations Datasets API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Datasets", "type": "folder" }, "items": [ { "info": { "name": "List datasets", "type": "http" }, "http": { "method": "GET", "url": "https://api.axiom.co/v1/datasets" }, "docs": "Retrieve the list of datasets in the organization." }, { "info": { "name": "Create a dataset", "type": "http" }, "http": { "method": "POST", "url": "https://api.axiom.co/v1/datasets", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new dataset to store ingested events." }, { "info": { "name": "Get a dataset", "type": "http" }, "http": { "method": "GET", "url": "https://api.axiom.co/v1/datasets/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The dataset ID or name." } ] }, "docs": "Retrieve a single dataset by ID or name." }, { "info": { "name": "Update a dataset", "type": "http" }, "http": { "method": "PUT", "url": "https://api.axiom.co/v1/datasets/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The dataset ID or name." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a dataset's description." }, { "info": { "name": "Delete a dataset", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.axiom.co/v1/datasets/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The dataset ID or name." } ] }, "docs": "Permanently delete a dataset and its data." }, { "info": { "name": "Trim a dataset", "type": "http" }, "http": { "method": "POST", "url": "https://api.axiom.co/v1/datasets/:id/trim", "params": [ { "name": "id", "value": "", "type": "path", "description": "The dataset ID or name." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Delete data older than a given duration from the dataset." } ] } ], "bundled": true }