Skip to main content
GET
Get the status of an async request.

Authorizations

Authorization
string
header
required

Pass your Baseten API key. Clients automatically send Authorization: Bearer <key>. Direct callers can also use Authorization: Api-Key <key>; both schemes are accepted.

Path Parameters

request_id
string
required

The ID of the async request.

Response

Current status of an async request.

request_id
string
required

The ID of the async request.

deployment_id
string
required

The ID of the deployment that executed the request.

status
enum<string>
required

The status of the async request.

Available options:
QUEUED,
IN_PROGRESS,
SUCCEEDED,
FAILED,
EXPIRED,
CANCELED,
WEBHOOK_FAILED
webhook_status
enum<string>
required

The status of sending the prediction result to the provided webhook.

Available options:
PENDING,
SUCCEEDED,
FAILED,
CANCELED,
NO_WEBHOOK_PROVIDED
created_at
string
required

The time in UTC at which the async request was created.

status_at
string
required

The time in UTC at which the async request's status was last updated.

errors
object[]
required

Errors that occurred while processing the async request. Empty if no errors occurred.

model_id
string

The ID of the model that executed the request. Present for model requests.

chain_id
string

The ID of the chain that executed the request. Present for chain requests.