Get batch status and results
Changed onPoll for batch progress and read inline results once all requests have finished. See Reading the batch response for result handling and Large batches and individual results for limits and retries.
Request
- Base URLhttps://api.sailresearch.com/v1
- URLhttps://api.sailresearch.com/v1/batches/{batch_id}
- AuthHTTP bearer
Path parameters
Response
Batch status and counts, with inline results when complete and within the inline size limit.
Changes
- breaking
the
response's property type changed fromintegertoobjectfor status - warning
added the new
CANCELLEDenum value to the//response property for the response status - warning
added the new
COMPLETEDenum value to the//response property for the response status - warning
added the new
FAILEDenum value to the//response property for the response status - warning
added the new
QUEUEDenum value to the//response property for the response status - warning
added the new
RUNNINGenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking