Skip to main content
POST
Create a deployment

Authorizations

Authorization
string
header
required

Your Abstract API key. Get it with abstract login, pass it as $(abstract token).

Headers

Abstract-Version
enum<string>

The API version your client was written for. 2026-11-17 is the newest version; 2026-10-27 and 2026-11-16 are still answered on every route except POST /v1/get_action, which refuses them with 400 unsupported_api_version (minimum_version: 2026-11-17): its request is application/vnd.abstract.chunk only. The deployment routes are answered under any of the three. Without this header the request is answered under the newest version; a version the API does not answer is refused with 400 unsupported_api_version before anything runs.

Available options:
2026-10-27,
2026-11-16,
2026-11-17
Idempotency-Key
string

Makes a create without a name safe to send again.

Body

application/json
model
string
required

A robot model id that has deployments. See Deployments.

checkpoint_uri
string

Your own checkpoint to serve on the model's lane: hf://<org>/<repo>@<commit>, with the full commit. Requires model. Without it, the deployment serves the model's own weights.

checkpoint_options
object

What a checkpoint needs said about it. An option its pipeline does not read is a problem, invalid_option.

robot
string

Your name for the robot the deployment is for.

Pattern: ^[a-z0-9][a-z0-9-]{0,31}$
name
string

The deployment's id. Without one, an id is made from the model and the robot.

Pattern: ^[a-z0-9][a-z0-9-]{1,47}$
idle_timeout
string
default:30m

A duration from 1 minute to 24 hours, such as 30m or 2h, or never.

Response

The deployment that already existed.

id
string
required

Unique inside your account. It names no account.

object
string
required
Allowed value: "deployment"
model
string
required
state
enum<string>
required

idle, stopped and failed hold no GPU.

Available options:
created,
launching,
ready,
busy,
idle,
stopped,
failed
idle_timeout
string
required

Such as 30m, or never.

attempt
integer
required

The attempt the deployment is on, counted from 1.

checkpoint_uri
string | null

Your own checkpoint it serves on the model's lane. null when it serves the model's own weights.

checkpoint_options
object | null

What a checkpoint needs said about it. An option its pipeline does not read is a problem, invalid_option.

robot
string | null
reason
enum<string> | null

Why an attempt ended. capacity: no GPU could be had when it launched. unreachable: it held a GPU and lost it. idle_timeout: it ran no chunk for its idle timeout, or the day's idle budget was spent. user: you stopped it, swapped its model or deleted it. model_error: the engine could not serve the model.

Available options:
capacity,
unreachable,
idle_timeout,
user,
model_error,
null
idle_timeout_s
integer | null
checkpoint
string | null

The weights the current attempt runs, when the engine names them.

created_at
integer
updated_at
integer
ready_at
integer | null
last_chunk_at
integer | null
idle_at
integer | null

Unix seconds at which the GPU is released if no chunk runs before then.