Docs

Search documentation

Console
Browse API reference

List instances

GET/v1/projects/{project_id}/instances

A page of instances (deleted instances are not listed).

Request

cURL
curl --fail-with-body --silent --show-error \
  --request GET \
  --url "https://api.tachora.ai/v1/projects/${TACHORA_PROJECT_ID}/instances" \
  --header "Authorization: Bearer ${TACHORA_API_KEY}"

Set TACHORA_API_KEY and any resource IDs in your shell before running the command.

Path parameters

project_idstringRequired

Query parameters

limitinteger
  • Default 20
  • Minimum 1
  • Maximum 100
cursorstring

The next_cursor from the previous page.

Responses

200

A page of instances (deleted instances are not listed).

401

Missing, invalid, expired or revoked credentials, or an API key whose creator no longer has access (unauthenticated).

403

Authenticated but not allowed (permission_denied), including users outside the sign-in allowlist.

404

The resource does not exist or the caller cannot see it (not_found).

200 JSON response fields
dataobject[]Required
data[].conditionsobject[]Required
data[].conditions[].last_transition_timestring · date-timeRequired
data[].conditions[].messagestringRequired
data[].conditions[].reasonstringRequired

A CamelCase machine-readable reason.

data[].conditions[].statusstringRequired
  • Values True, False, Unknown
data[].conditions[].typestringRequired
  • Values Placed, Realized, Running, NetworkReady
data[].created_atstring · date-timeRequired
data[].desired_powerstringRequired
  • Values running, stopped
data[].generationinteger · int64Required

Increases on every change to what was asked for.

data[].idstringRequired
  • Example "ins_01jd3v7k8m0000000000000000"
data[].imagestringRequired
  • Example "ubuntu-24.04"
data[].instance_typestringRequired
  • Example "cpu.2x4"
data[].namestringRequired

Lowercase letters, digits and hyphens; starts with a letter; unique within its parent.

  • Pattern ^[a-z][a-z0-9-]{0,62}$
  • Example "chat-prod"
data[].observed_generationinteger · int64Required

The generation the running instance reflects.

data[].private_ipstring

The instance's address in its subnet.

  • Example "10.0.1.5"
data[].project_idstringRequired
data[].regionstringRequired
  • Example "us-ohio-1"
data[].ssh_key_idsstring[]Required
data[].statestringRequired

Derived from conditions.

  • Values provisioning, running, stopping, stopped, deleting, failed
data[].subnet_idstringRequired
data[].updated_atstring · date-timeRequired
next_cursorstring
401, 403, 404 JSON response fields
errorobjectRequired
error.codestringRequired

Stable, machine-readable error code.

  • Values invalid_argument, unauthenticated, permission_denied, not_found, conflict, billing_setup_required, idempotency_key_reused, internal, unavailable, rate_limited, insufficient_capacity, quota_exceeded, subnet_full, resource_in_use, not_implemented
error.detailsobject[]

Per-field problems for invalid_argument.

error.details[].fieldstringRequired
error.details[].messagestringRequired
error.messagestringRequired

Human-readable explanation. Do not parse.

error.request_idstring

Echoes the X-Request-Id response header.