Robot actions
Wait for a model
Starts a model’s engine if it is idle and says whether it is ready. Ask until state
is ready, waiting retry_after_s between asks. The account must be able to pay for a
chunk; nothing is billed.
GET
/
v1
/
ready
Wait for a model
curl --request GET \
--url https://api.abstract.inc/v1/ready \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.abstract.inc/v1/ready"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"model": "<string>",
"state": "ready",
"phase": "weights",
"starting_s": 123,
"retry_after_s": 123
}{
"status": {
"code": "model_overloaded",
"reason": "The runtime admission is full.",
"retryable": true,
"retry_after_s": 1
}
}{
"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>"
}
}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.
Available options:
2026-10-27, 2026-11-16, 2026-11-17 ⌘I
Wait for a model
curl --request GET \
--url https://api.abstract.inc/v1/ready \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.abstract.inc/v1/ready"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"model": "<string>",
"state": "ready",
"phase": "weights",
"starting_s": 123,
"retry_after_s": 123
}{
"status": {
"code": "model_overloaded",
"reason": "The runtime admission is full.",
"retryable": true,
"retry_after_s": 1
}
}{
"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>"
}
}