{ "opencollection": "1.0.0", "info": { "name": "Scale AI REST Batches Tasks API", "version": "1.0.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Tasks", "type": "folder" }, "items": [ { "info": { "name": "Create a task", "type": "http" }, "http": { "method": "POST", "url": "https://api.scale.com/v1/task", "body": { "type": "json", "data": "{}" } }, "docs": "Create a task" }, { "info": { "name": "Retrieve a task", "type": "http" }, "http": { "method": "GET", "url": "https://api.scale.com/v1/task/:task_id", "params": [ { "name": "task_id", "value": "", "type": "path" } ] }, "docs": "Retrieve a task" }, { "info": { "name": "Retrieve multiple tasks", "type": "http" }, "http": { "method": "GET", "url": "https://api.scale.com/v1/tasks", "params": [ { "name": "project", "value": "", "type": "query" }, { "name": "batch", "value": "", "type": "query" }, { "name": "status", "value": "", "type": "query" } ] }, "docs": "Retrieve multiple tasks" }, { "info": { "name": "Cancel a task", "type": "http" }, "http": { "method": "POST", "url": "https://api.scale.com/v1/task/:task_id/cancel", "params": [ { "name": "task_id", "value": "", "type": "path" } ] }, "docs": "Cancel a task" }, { "info": { "name": "Set task metadata", "type": "http" }, "http": { "method": "POST", "url": "https://api.scale.com/v1/task/:task_id/setMetadata", "params": [ { "name": "task_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set task metadata" } ] } ], "bundled": true }