Skip to main content
GET
/
api
/
captain
/
agents
/
{id}
/
config
/
raw
Get agent raw config
curl --request GET \
  --url http://localhost:63372/api/captain/agents/{id}/config/raw \
  --cookie captain_session=
{
  "content": "# Agent-specific YAML...",
  "path": "./agents/meepa/agent.yaml",
  "agent_id": "meepa"
}

Authorizations

captain_session
string
cookie
required

HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.

Path Parameters

id
string
required

Agent ID

Response

Raw agent config

content
string
required
Example:

"# Agent-specific YAML..."

path
string
required
Example:

"./agents/meepa/agent.yaml"

agent_id
string
required
Example:

"meepa"