Create a deployment
Creates a deployment of a robot model and launches it. The answer’s state is created;
read the deployment until it is ready, or failed with a reason. Creating a name
that exists with the same model, robot and idle_timeout answers 200 with the
deployment that exists; with anything different, 409 deployment_exists. Without a
name, send an Idempotency-Key header: a request sent again under the same key
answers the deployment the first one made, and 409 idempotency_conflict if its
model, checkpoint_uri, robot or idle_timeout differ.
With checkpoint_uri the deployment serves your own checkpoint on the model’s lane, in
place of the model’s weights. The checkpoint is inspected first, as
POST /v1/models/inspect inspects it:
one that cannot be served is refused with checkpoint_not_servable, and no GPU is started.
curl --request POST \
--url https://api.abstract.inc/v1/deployments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "physical-intelligence/pi0.5",
"robot": "yam",
"idle_timeout": "30m"
}
'import requests
url = "https://api.abstract.inc/v1/deployments"
payload = {
"model": "physical-intelligence/pi0.5",
"robot": "yam",
"idle_timeout": "30m"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "pi05-yam-a3f2",
"object": "deployment",
"model": "physical-intelligence/pi0.5",
"checkpoint_uri": null,
"checkpoint_options": null,
"robot": "yam",
"state": "ready",
"reason": null,
"idle_timeout": "30m",
"idle_timeout_s": 1800,
"attempt": 1,
"checkpoint": null,
"created_at": 1794830400,
"updated_at": 1794830441,
"ready_at": 1794830441,
"last_chunk_at": null,
"idle_at": 1794832241
}{
"id": "pi05-yam-a3f2",
"object": "deployment",
"model": "physical-intelligence/pi0.5",
"checkpoint_uri": null,
"checkpoint_options": null,
"robot": "yam",
"state": "ready",
"reason": null,
"idle_timeout": "30m",
"idle_timeout_s": 1800,
"attempt": 1,
"checkpoint": null,
"created_at": 1794830400,
"updated_at": 1794830441,
"ready_at": 1794830441,
"last_chunk_at": null,
"idle_at": 1794832241
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}{
"error": {
"message": "Invalid API key.",
"type": "invalid_request_error",
"code": "invalid_api_key"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}Authorizations
Headers
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.
2026-10-27, 2026-11-16, 2026-11-17 Body
Response
The deployment that already existed.
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.
capacity, unreachable, idle_timeout, user, model_error, null curl --request POST \
--url https://api.abstract.inc/v1/deployments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "physical-intelligence/pi0.5",
"robot": "yam",
"idle_timeout": "30m"
}
'import requests
url = "https://api.abstract.inc/v1/deployments"
payload = {
"model": "physical-intelligence/pi0.5",
"robot": "yam",
"idle_timeout": "30m"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "pi05-yam-a3f2",
"object": "deployment",
"model": "physical-intelligence/pi0.5",
"checkpoint_uri": null,
"checkpoint_options": null,
"robot": "yam",
"state": "ready",
"reason": null,
"idle_timeout": "30m",
"idle_timeout_s": 1800,
"attempt": 1,
"checkpoint": null,
"created_at": 1794830400,
"updated_at": 1794830441,
"ready_at": 1794830441,
"last_chunk_at": null,
"idle_at": 1794832241
}{
"id": "pi05-yam-a3f2",
"object": "deployment",
"model": "physical-intelligence/pi0.5",
"checkpoint_uri": null,
"checkpoint_options": null,
"robot": "yam",
"state": "ready",
"reason": null,
"idle_timeout": "30m",
"idle_timeout_s": 1800,
"attempt": 1,
"checkpoint": null,
"created_at": 1794830400,
"updated_at": 1794830441,
"ready_at": 1794830441,
"last_chunk_at": null,
"idle_at": 1794832241
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}{
"error": {
"message": "Invalid API key.",
"type": "invalid_request_error",
"code": "invalid_api_key"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>",
"retryable": true,
"retry_after_s": 123,
"request_id": "<string>",
"param": "<string>",
"cameras": [
"<string>"
],
"accepts": [
"<string>"
],
"minimum_version": "<string>"
}
}