Skip to main content
Asynchronously call a specific deployment of a chain.
curl --request POST \
  --url https://model-{model_id}.api.baseten.co/deployment/{deployment_id}/async_run_remote \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

API key with the Api-Key prefix, e.g. Authorization: Api-Key abcd1234.abcd1234.

Path Parameters

deployment_id
string
required

The alphanumeric ID of the deployment.

Body

application/json

JSON input matching the chain's run_remote method signature.

Response

Async run remote request enqueued.

request_id
string
required

The ID of the async request.