{ "opencollection": "1.0.0", "info": { "name": "Llama Platform Agent Data Batches API", "version": "0.1.0" }, "items": [ { "info": { "name": "Batches", "type": "folder" }, "items": [ { "info": { "name": "List Batches", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v2/batches", "params": [ { "name": "project_id", "value": "", "type": "query" }, { "name": "organization_id", "value": "", "type": "query" }, { "name": "page_size", "value": "", "type": "query" }, { "name": "page_token", "value": "", "type": "query" }, { "name": "created_at_on_or_after", "value": "", "type": "query" }, { "name": "created_at_on_or_before", "value": "", "type": "query" }, { "name": "status", "value": "", "type": "query" }, { "name": "source_directory_id", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List batches for the current project." }, { "info": { "name": "Create Batch", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/batches", "params": [ { "name": "project_id", "value": "", "type": "query" }, { "name": "organization_id", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a batch over a source directory and start processing asynchronously." }, { "info": { "name": "Get Batch", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v2/batches/:batch_id", "params": [ { "name": "batch_id", "value": "", "type": "path" }, { "name": "expand", "value": "", "type": "query", "description": "Fields to expand. Supported value: results." }, { "name": "project_id", "value": "", "type": "query" }, { "name": "organization_id", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a batch by ID." } ] } ], "bundled": true }