EndpointsList Workspace services

Workspace services

List Workspace services

Every product service with its state and what keeps it from creating resources now. Existing resources keep working.

GET/workspaces/{id}/services
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

idstringrequired

Required string length: 1 - 53

Response

application/json

WorkspaceServiceList

dataobject[]required

Maximum array length: 64 elements

child attributes
data.namestringrequired

Example: "workspaces/ws_j572abc/services/machine"

data.serviceenum<string>required

Available options: platform-api, domain-dispatcher, organization, workspace, platform, region, admission, billing, package, registry, product, offer, order-draft, install, placement, cluster, machine, routing, repository, vault, connection, agents, sandbox, opencode-server, identity, convex, access-proxy, instance, development-publisher

data.stateenum<string>required

Available options: ENABLED, DISABLED

data.conditionsobject[]required

Problems and notable facts that hold now, beside state; empty when there are none. See each reason in the resource description.

Maximum array length: 32 elements

child attributes

Kebab-case reason; the resource documents the reasons it reports.

Maximum string length: 64

Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Example: "agent-offline"

data.conditions.severityenum<string>required

error: the resource failed; the condition says why. warning: it is limited or held until the person acts or it recovers. info: worth knowing, nothing to do.

Available options: error, warning, info

Safe to show the person as is.

Maximum string length: 512

data.conditions.remedyobject | nullrequired

What the person can do; null when nothing they do helps.

data.conditions.remedy.kindenum<string>required

Available options: free-capacity

data.conditions.remedy.metricenum<string>required

Available options: kaas/clusters, compute/machines, compute/cpu, compute/memory, compute/machines_concurrency, compute/managed_vm_trial, agents/turns_concurrency, agents/sandboxes, agents/sandboxes_running, agents/retained_filesystem_lifetime, codemode/executions, api/secrets_access, api/secrets_write, domain_routing/preview_hostnames, domain_routing/custom_domains, source_control/repositories

Maximum string length: 256

Unix timestamp (seconds) when this condition last changed.

Required range: x >= 0