V2
Parse
Cancel Parse Job
Changed onCancel a running parse job.
Stops processing and marks the job as CANCELLED. Returns the updated job. Jobs already in a terminal state (COMPLETED, FAILED, CANCELLED) cannot be cancelled.
post/api/v2/parse/{job_id}/cancel
Request
- Base URL: https://api.cloud.llamaindex.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.cloud.llamaindex.ai/api/v2/parse/{job_id}/cancel
- Auth: HTTP bearer
Path parameters
job_idstring required
Query parameters
project_idstring uuid nullable
organization_idstring uuid nullable
Cookies
sessionstring nullable
Response
Successful Response
Example response
{
"user_metadata": {
"owner": "jerry",
"team": "research"
},
"id": "pjb-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"project_id": "prj-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"name": "Q4 Financial Report",
"tier": "fast",
"usage": {
"credits": 30
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status
- warning