Cancel a batch job
Changed onCancel a pending or processing batch job.
Request
- Base URLhttps://api.jina.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Response
Successful Response
Example response
{
"batch_id": "batch_abc123",
"completed_at": "2024-01-15T10:35:00Z",
"created_at": "2024-01-15T10:30:00Z",
"expires_at": "2024-01-16T10:30:00Z",
"model": "jina-embeddings-v5-text-small",
"output_url": "https://storage.googleapis.com/...",
"stats": {
"completed": 998,
"failed": 2,
"total": 1000
},
"status": "completed"
}Changes
- breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response400 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response401 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response403 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response404 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response409 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response429 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response500 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response503 - breaking
response property
codelist-of-types was widened by adding typesnullto media typeapplication/jsonof response504 - breaking
response property
errorslist-of-types was widened by adding typesnullto media typeapplication/jsonof response422 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response400 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response401 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response403 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response404 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response409 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response429 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response500 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response503 - breaking
response property
request_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response504 - 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
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
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
the response property
became required for the status
- breaking
- info
endpoint added
- info