{ "opencollection": "1.0.0", "info": { "name": "OpenAI Assistants Batch API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Batch", "type": "folder" }, "items": [ { "info": { "name": "List your organization's batches.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openai.com/v1/batches", "params": [ { "name": "after", "value": "", "type": "query", "description": "A cursor for use in pagination. `after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.\n" }, { "name": "limit", "value": "", "type": "query", "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.\n" } ] }, "docs": "List your organization's batches." }, { "info": { "name": "Creates and executes a batch from an uploaded file of requests", "type": "http" }, "http": { "method": "POST", "url": "https://api.openai.com/v1/batches", "body": { "type": "json", "data": "{}" } }, "docs": "Creates and executes a batch from an uploaded file of requests" }, { "info": { "name": "Retrieves a batch.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openai.com/v1/batches/:batch_id", "params": [ { "name": "batch_id", "value": "", "type": "path", "description": "The ID of the batch to retrieve." } ] }, "docs": "Retrieves a batch." }, { "info": { "name": "Cancels an in-progress batch. The batch will be in status `cancelling` for up to 10 minutes, before changing to `cancelled`, where it will have partial results (if any) available in the output file.", "type": "http" }, "http": { "method": "POST", "url": "https://api.openai.com/v1/batches/:batch_id/cancel", "params": [ { "name": "batch_id", "value": "", "type": "path", "description": "The ID of the batch to cancel." } ] }, "docs": "Cancels an in-progress batch. The batch will be in status `cancelling` for up to 10 minutes, before changing to `cancelled`, where it will have partial results (if any) available in the output file." } ] } ], "bundled": true }