Skip to content
API reference

Control plane API

Tenants, members, apps, environments, provisioning jobs, budgets and health. Operator console only.

On this page

Contract version 1.1.0. 23 operations; 22 served, 1 specified only.

Note

"Served" means the endpoint exists in the runtime, not that it is enabled for your app. Provider-backed endpoints return 503 FEATURE_UNAVAILABLE until the matching connection is ready.

MethodPathSummaryAuthStatus
GET/health/liveGet livenessNoneserved
GET/health/readyGet readinessOperator sessionserved
GET/v1/control/auditList auditOperator sessionserved
GET/v1/control/costsGet costsOperator sessionserved
GET/v1/control/environments/{resource_id}Get environmentOperator sessionserved
POST/v1/control/environments/{resource_id}/archiveArchive environmentOperator sessionserved
POST/v1/control/environments/{resource_id}/exportExport environmentOperator sessionserved
POST/v1/control/environments/{resource_id}/migrateMigrate environmentOperator sessionserved
POST/v1/control/environments/{resource_id}/promotePromote environmentOperator sessionserved
POST/v1/control/environments/{resource_id}/provisionProvision environmentOperator sessionserved
POST/v1/control/environments/{resource_id}/restoreRestore environmentOperator sessionserved
POST/v1/control/environments/{resource_id}/resumeResume environmentOperator sessionserved
POST/v1/control/environments/{resource_id}/suspendSuspend environmentOperator sessionserved
GET/v1/control/jobs/{job_id}Get jobOperator sessionserved
GET/v1/control/membershipsList membershipsOperator sessionserved
POST/v1/control/membershipsInvite operatorOperator sessionserved
POST/v1/control/memberships/{membership_id}/revokeRevoke membershipOperator sessionserved
GET/v1/control/tenantsList tenantsOperator sessionserved
POST/v1/control/tenantsCreate tenantOperator sessionserved
GET/v1/control/tenants/{tenant_id}Get tenantOperator sessionserved
GET/v1/control/tenants/{tenant_id}/appsList appsOperator sessionserved
POST/v1/control/tenants/{tenant_id}/appsCreate appOperator sessionserved
GET/v1/jobs/{job_id}Get my jobConsumer sessionspecified only

GET /health/live

Get liveness. Process liveness only; no database or provider readiness claim.

Operation IDgetLiveness
AuthNone (public)
StatusServed

Responses

  • 200 Successful operation — Envelope { request_id, data, next_cursor? } (data shape not yet pinned in the contract)

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /health/ready

Get readiness. Redacted dependencies and evidence levels; only production-ready dependencies produce full readiness.

Operation IDgetReadiness
AuthOperator session (console)
StatusServed

Responses

  • 200 Successful operation — Envelope { request_id, data, next_cursor? } (data shape not yet pinned in the contract)

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/control/audit

List audit.

Operation IDlistAudit
AuthOperator session (console)
StatusServed

Responses

  • 200 Successful operation — Envelope { request_id, data, next_cursor? } (data shape not yet pinned in the contract)

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/control/costs

Get costs.

Operation IDgetCosts
AuthOperator session (console)
StatusServed

Responses

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/control/environments/{resource_id}

Get environment.

Operation IDgetEnvironment
AuthOperator session (console)
StatusServed

Parameters

NameInTypeRequiredNotes
resource_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Responses

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/environments/{resource_id}/archive

Archive environment.

Operation IDarchiveEnvironment
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
resource_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): ReasonRequest

Responses

  • 202 Accepted for asynchronous processing — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/environments/{resource_id}/export

Export environment.

Operation IDexportEnvironment
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
resource_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): ReasonRequest

Responses

  • 202 Accepted for asynchronous processing — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/environments/{resource_id}/migrate

Migrate environment.

Operation IDmigrateEnvironment
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
resource_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): ReasonRequest

Responses

  • 202 Accepted for asynchronous processing — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/environments/{resource_id}/promote

Promote environment.

Operation IDpromoteEnvironment
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
resource_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): ReasonRequest

Responses

  • 202 Accepted for asynchronous processing — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/environments/{resource_id}/provision

Provision environment.

Operation IDprovisionEnvironment
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
resource_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): ReasonRequest

Responses

  • 202 Accepted for asynchronous processing — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/environments/{resource_id}/restore

Restore environment.

Operation IDrestoreEnvironment
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
resource_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): EnvironmentRestoreRequest

Responses

  • 202 Accepted for asynchronous processing — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/environments/{resource_id}/resume

Resume environment.

Operation IDresumeEnvironment
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
resource_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): ReasonRequest

Responses

  • 202 Accepted for asynchronous processing — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/environments/{resource_id}/suspend

Suspend environment.

Operation IDsuspendEnvironment
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
resource_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): ReasonRequest

Responses

  • 202 Accepted for asynchronous processing — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/control/jobs/{job_id}

Get job.

Operation IDgetJob
AuthOperator session (console)
StatusServed

Parameters

NameInTypeRequiredNotes
job_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Responses

  • 200 Successful operation — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/control/memberships

List memberships.

Operation IDlistMemberships
AuthOperator session (console)
StatusServed

Responses

  • 200 Successful operation — Envelope { request_id, data, next_cursor? } (data shape not yet pinned in the contract)

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/memberships

Invite operator. Explicit action sends the invitation only after role checks. A new invite cannot grant permissions the inviter cannot delegate.

Operation IDinviteOperator
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Request body (application/json, required): MembershipRequest

Responses

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/memberships/{membership_id}/revoke

Revoke membership.

Operation IDrevokeMembership
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
membership_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): ReasonRequest

Responses

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/control/tenants

List tenants.

Operation IDlistTenants
AuthOperator session (console)
StatusServed

Responses

  • 200 Successful operation — Envelope { request_id, data, next_cursor? } (data shape not yet pinned in the contract)

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/tenants

Create tenant.

Operation IDcreateTenant
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Request body (application/json, required): TenantCreate

Responses

  • 202 Accepted for asynchronous processing — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/control/tenants/{tenant_id}

Get tenant.

Operation IDgetTenant
AuthOperator session (console)
StatusServed

Parameters

NameInTypeRequiredNotes
tenant_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Responses

  • 200 Successful operation — Tenant

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/control/tenants/{tenant_id}/apps

List apps.

Operation IDlistApps
AuthOperator session (console)
StatusServed

Parameters

NameInTypeRequiredNotes
tenant_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Responses

  • 200 Successful operation — Envelope { request_id, data, next_cursor? } (data shape not yet pinned in the contract)

Errors: 400 401 403 404 409 422 429 503 as problem details.

POST /v1/control/tenants/{tenant_id}/apps

Create app.

Operation IDcreateApp
AuthOperator session (console)
StatusServed
Idempotency-KeyRequired — see idempotency

Parameters

NameInTypeRequiredNotes
tenant_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Request body (application/json, required): AppCreate

Responses

  • 202 Accepted for asynchronous processing — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.

GET /v1/jobs/{job_id}

Get my job. Consumer-owned jobs only. Strip admin/provider/other-user evidence. Cannot query control-plane provisioning or restore jobs.

Operation IDgetMyJob
AuthConsumer session (app user)
StatusSpecified only — not served yet

Parameters

NameInTypeRequiredNotes
job_idpathstringyesmin length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$

Responses

  • 200 Successful operation — Job

Errors: 400 401 403 404 409 422 429 503 as problem details.