inferenceClient.batches.results()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
inferenceClient.batches.results(batchId: string, query?: Record<string, any>): Promise<any>inferenceClient.files.content(batchId: string): Promise<Response>Description
Returns short-lived presigned download URLs for the output (and optional error sidecar) of a completed batch job. If results are not yet ready, the response sets result_available: false or returns 412 Precondition Failed; in both cases, keep polling batch status and retry.
Download the artifacts soon after fetching, the URLs are short-lived. Result files themselves are retained for up to 30 days after the job completes, after which they are deleted.
Parameters
batch_idstring requiredExample:
0e9d1d35-3d1e-4d66-9a2f-8c7e0f6b3e21The batch job identifier.
Request Sample
Response Example
More Information
See /v1/batches/{batch_id}/results in the API reference for additional detail on responses, headers, parameters, and more.