Skip to main content
GET
Get Agent Config

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string
required

Response

Successful Response

Response for GET /agents/{id}/config - returns the stored agent config.

agent_config is a fully-typed CreateAgentConfigRequest rather than an opaque dict so OpenAPI emits the complete schema and TypeScript clients can deserialize without guessing field names. Secret values (e.g. apiKey) come back masked (sk-a****xyzw), and every value inside any mcpServer.headers / tool.config.headers dict comes back as ******** - both satisfy the min_length=1 constraint on the underlying field.

Note: stored configs must remain valid under the current validators - re-using CreateAgentConfigRequest re-runs all its validators (per-type tool invariants, length caps, etc.) on every read. If validators tighten over time, evolve stored configs via an explicit migration rather than relying on response-time tolerance.

_id
string
required
name
string
required
agent_config
CreateAgentConfigRequest · object
required

The full stored agentConfig