Axelered
Splits

List Splits

GET
/splits

List the Splits of the workspace, newest first, optionally for one Document.

Query Parameters

documentId?|null
limit?Limit
Range1 <= value <= 100
Default50
cursor?string|null

Header Parameters

x-workspace-id?|

The Workspace to act on. Required for the Root Key and global API Keys, optional for bound ones.

Response Body

Successful Response

application/json
  1. response
status?Status
Default"ok"
data*
{  "status": "ok",  "data": {    "items": [      {        "id": "string",        "workspaceId": "string",        "createdAt": "string",        "documentId": "string",        "status": "queued",        "credits": 0,        "errorCode": "file_too_complex",        "config": {          "perimeter": "local",          "parsing": {            "tier": "accurate",            "pages": "string"          },          "instructions": "string",          "categories": [            {              "name": "string",              "description": "string"            }          ]        },        "output": {          "value": {            "sections": [              {                "category": "string",                "pages": [                  0                ],                "motivation": "string"              }            ],            "unassigned": [              0            ]          },          "truncated": false,          "pagesRead": [            0          ]        }      }    ],    "limit": 0,    "cursor": "string",    "total": 0  }}