Axelered
Splits

Read Split

GET
/splits/{job_id}

Read a Split. With wait, long-poll until it finishes: 200 when done or failed, 202 while it runs.

Path Parameters

job_id*Job Id
Formatuuid

Query Parameters

wait?Wait

Seconds to wait for the Job to finish. 200 when it is done or failed, 202 while it runs.

Range0 <= value <= 30
Default0

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": {    "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      ]    }  }}