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.
| Method | Path | Summary | Auth | Status |
|---|---|---|---|---|
| GET | /health/live | Get liveness | None | served |
| GET | /health/ready | Get readiness | Operator session | served |
| GET | /v1/control/audit | List audit | Operator session | served |
| GET | /v1/control/costs | Get costs | Operator session | served |
| GET | /v1/control/environments/{resource_id} | Get environment | Operator session | served |
| POST | /v1/control/environments/{resource_id}/archive | Archive environment | Operator session | served |
| POST | /v1/control/environments/{resource_id}/export | Export environment | Operator session | served |
| POST | /v1/control/environments/{resource_id}/migrate | Migrate environment | Operator session | served |
| POST | /v1/control/environments/{resource_id}/promote | Promote environment | Operator session | served |
| POST | /v1/control/environments/{resource_id}/provision | Provision environment | Operator session | served |
| POST | /v1/control/environments/{resource_id}/restore | Restore environment | Operator session | served |
| POST | /v1/control/environments/{resource_id}/resume | Resume environment | Operator session | served |
| POST | /v1/control/environments/{resource_id}/suspend | Suspend environment | Operator session | served |
| GET | /v1/control/jobs/{job_id} | Get job | Operator session | served |
| GET | /v1/control/memberships | List memberships | Operator session | served |
| POST | /v1/control/memberships | Invite operator | Operator session | served |
| POST | /v1/control/memberships/{membership_id}/revoke | Revoke membership | Operator session | served |
| GET | /v1/control/tenants | List tenants | Operator session | served |
| POST | /v1/control/tenants | Create tenant | Operator session | served |
| GET | /v1/control/tenants/{tenant_id} | Get tenant | Operator session | served |
| GET | /v1/control/tenants/{tenant_id}/apps | List apps | Operator session | served |
| POST | /v1/control/tenants/{tenant_id}/apps | Create app | Operator session | served |
| GET | /v1/jobs/{job_id} | Get my job | Consumer session | specified only |
GET /health/live
Get liveness. Process liveness only; no database or provider readiness claim.
| Operation ID | getLiveness |
| Auth | None (public) |
| Status | Served |
Responses
200Successful 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 ID | getReadiness |
| Auth | Operator session (console) |
| Status | Served |
Responses
200Successful 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 ID | listAudit |
| Auth | Operator session (console) |
| Status | Served |
Responses
200Successful 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 ID | getCosts |
| Auth | Operator session (console) |
| Status | Served |
Responses
200Successful operation —ReportResult
Errors: 400 401 403 404 409 422 429 503 as problem details.
GET /v1/control/environments/{resource_id}
Get environment.
| Operation ID | getEnvironment |
| Auth | Operator session (console) |
| Status | Served |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
resource_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Responses
200Successful operation —AppEnvironment
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/control/environments/{resource_id}/archive
Archive environment.
| Operation ID | archiveEnvironment |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
resource_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
202Accepted 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 ID | exportEnvironment |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
resource_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
202Accepted 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 ID | migrateEnvironment |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
resource_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
202Accepted 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 ID | promoteEnvironment |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
resource_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
202Accepted 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 ID | provisionEnvironment |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
resource_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
202Accepted 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 ID | restoreEnvironment |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
resource_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): EnvironmentRestoreRequest
Responses
202Accepted 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 ID | resumeEnvironment |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
resource_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
202Accepted 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 ID | suspendEnvironment |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
resource_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
202Accepted 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 ID | getJob |
| Auth | Operator session (console) |
| Status | Served |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
job_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Responses
200Successful operation —Job
Errors: 400 401 403 404 409 422 429 503 as problem details.
GET /v1/control/memberships
List memberships.
| Operation ID | listMemberships |
| Auth | Operator session (console) |
| Status | Served |
Responses
200Successful 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 ID | inviteOperator |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Request body (application/json, required): MembershipRequest
Responses
200Successful operation —Membership
Errors: 400 401 403 404 409 422 429 503 as problem details.
POST /v1/control/memberships/{membership_id}/revoke
Revoke membership.
| Operation ID | revokeMembership |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
membership_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): ReasonRequest
Responses
200Successful operation —Membership
Errors: 400 401 403 404 409 422 429 503 as problem details.
GET /v1/control/tenants
List tenants.
| Operation ID | listTenants |
| Auth | Operator session (console) |
| Status | Served |
Responses
200Successful 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 ID | createTenant |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Request body (application/json, required): TenantCreate
Responses
202Accepted 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 ID | getTenant |
| Auth | Operator session (console) |
| Status | Served |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
tenant_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Responses
200Successful operation —Tenant
Errors: 400 401 403 404 409 422 429 503 as problem details.
GET /v1/control/tenants/{tenant_id}/apps
List apps.
| Operation ID | listApps |
| Auth | Operator session (console) |
| Status | Served |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
tenant_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Responses
200Successful 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 ID | createApp |
| Auth | Operator session (console) |
| Status | Served |
| Idempotency-Key | Required — see idempotency |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
tenant_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Request body (application/json, required): AppCreate
Responses
202Accepted 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 ID | getMyJob |
| Auth | Consumer session (app user) |
| Status | Specified only — not served yet |
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
job_id | path | string | yes | min length 1; max length 128; pattern ^[A-Za-z0-9][A-Za-z0-9_.:-]*$ |
Responses
200Successful operation —Job
Errors: 400 401 403 404 409 422 429 503 as problem details.