GET
/
v0.1
/
batches
Get All Batches
curl --request GET \
  --url https://api.promptloop.com/v0.1/batches \
  --header 'x-api-key: <api-key>'
{
  "status": "success",
  "data": [
    {
      "batch_id": "<string>",
      "task_id": "<string>",
      "task_version": "<string>",
      "batch_name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "completed": true,
      "cancelled": true
    }
  ],
  "message": "<string>",
  "error": {
    "code": 123,
    "details": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Response

200
application/json

Successfully retrieved batches

The response is of type object.