Skip to main content
GET
Get an agent's container configuration
Returns everything an orchestrator needs to start a container behind the gateway. Name the agent to get its config. See How it works. Everything an orchestrator needs to point a container at the gateway as a given agent — environment variables, the CA certificate, and credential stub files. Name the agent with agent=; omitting it only works for workspaces that still carry a pre-v2 default agent.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Query Parameters

agent
string

The agent's identifier.

Response

The configuration

Server-controlled environment variables, file contents, and paths.