Skip to main content

List the agent spaces a client may name

GET 

/agent-spaces

Lists the agent spaces a session may run in, sorted by name, and the default a session gets when it is opened without naming one. It takes no X-Session-ID header, because a client reads it before it has a session.

  • control runs the agent where the controller runs. It is listed only when the controller cannot reach a Docker daemon.
  • docker:<profile> runs the agent in its own container, one space per Docker profile the operator configured, plus the built-in default profile (no Docker access, bridge network, no sudo) unless the operator redefines it.

A client names an agent space when it opens a workspace or reconfigures a session, and never sends an image, mount, network setting, or capability: the operator's configuration decides what each name means. Each Docker space reports its grants (docker, network, sudo), and capabilityWarnings carries one sentence for each risky grant.

Responses​

The offered agent spaces and the deployment default.

Response Headers
    X-Request-ID

    The request's correlation ID. When the request carried an X-Request-ID header holding a UUID, Peen echoes it; otherwise Peen generates a new UUID. The controller log records the same value for this request.