Skip to main content
GET
Checking Job Status
Using the API directly is not recommended for most users. Instead, we recommend using the Python SDK.
Retrieve the status of a batch inference job by its job_id.

Request Parameters

string
required
The job_id returned when you submitted the batch inference job

Headers

string
required
Your Sutro API key using Key authentication scheme.Format: Key YOUR_API_KEYExample: Authorization: Key sk_live_abc123...

Response

Returns the current status and details of the batch inference job.
string
Message describing the job’s current status
string
The current status of the job. See status values below
object
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 information

Job Status Values

The job_status field will be one of the following:
  • succeeded: The job completed successfully
  • failed: The job failed
  • cancelled: The job was cancelled
  • pending: The job is still pending
  • submitted: The job has been submitted
  • starting: The job is starting
  • running: The job is running
  • unknown: The job status is unknown

Code Examples