Using the API directly is not recommended for most users. Instead, we recommend using the Python SDK.
Request Parameters
The job_id returned when you submitted the batch inference job
Headers
Your Sutro API key using Key authentication scheme.Format:
Key YOUR_API_KEY
Example: Authorization: Key sk_live_abc123...
Response
Returns the current status and details of the batch inference job.Message describing the job’s current status
The current status of the job. See status values below
Additional information about the job. If the status is
failed
during job initialization, will contain a failure_reason
key with details about the failure, and optionally an additional_context
key with debugging informationJob Status Values
Thejob_status
field will be one of the following:
succeeded
: The job completed successfullyfailed
: The job failedcancelled
: The job was cancelledpending
: The job is still pendingsubmitted
: The job has been submittedstarting
: The job is startingrunning
: The job is runningunknown
: The job status is unknown