Skip to main content
POST
Create a deployment

Authorizations

X-API-Key
string
header
required

Organization API key

Headers

Idempotency-Key
string

Optional. Without a key, repeated submissions are treated as separate actions. A blank or over-long key is rejected. Reuse this key when retrying a submission; the SDK generates one per call and reuses it across automatic retries.

Required string length: 1 - 256

Body

application/json
checkpoint_id
string
required
test_model_slug
string
required
agent_id
string | null

Owning agent; inferred from the checkpoint when omitted.

Required string length: 1 - 64
model_endpoint_config
ModelEndpointConfig · object | null

Model and tokenizer identity for the deployment; defaults to the originating Training Service run. Sampling overrides and training limits are cleared.

Response

Successful Response

deployment_id
string
required
role
enum<string>
required
Available options:
production,
test