Skip to main content
GET
Get the status of an agent job

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

jobId
string<uuid>
required

The ID of the agent job

Response

200 - application/json

Successful response

success
boolean
status
enum<string>
Available options:
processing,
completed,
failed
data
object

The extracted data (only present when status is completed)

model
enum<string>
default:spark-1-pro

Model preset used for the agent run

Available options:
spark-1-pro,
spark-1-mini
error
string

Error message (only present when status is failed)

expiresAt
string<date-time>
creditsUsed
number