Using the API directly is not recommended for most users. Instead, we recommend using the Python SDK.
Headers
Your Sutro API key using Key authentication scheme.Format:
Key YOUR_API_KEY
Example: Authorization: Key sk_live_abc123...
Response
Returns a list of all jobs associated with your account.A list of jobs you have access to. Each job object contains metadata about the job including job_id, status, creation time, and other relevant information.
Verbose message for the job’s results
Code Examples
Job Object Fields
Each job in thejobs
array contains the following fields:
job_id
: Unique identifier for the jobstatus
: Current status of the job (succeeded, failed, running, pending, etc.)created_at
: ISO timestamp of when the job was createdcompleted_at
: ISO timestamp of when the job completed (null if still running)model
: The model used for the jobinput_count
: Number of inputs processed in the jobpriority
: Priority level of the job (0 or 1)
Notes
- Jobs are returned in reverse chronological order (newest first)
- The response includes both active and completed jobs
- Historical job data is retained for account management and billing purposes