Skip to main content
GET
/
api
/
captain
/
agents
/
{id}
/
soul
Get agent soul
curl --request GET \
  --url http://localhost:63372/api/captain/agents/{id}/soul \
  --cookie captain_session=
{
  "agent_id": "meepa",
  "path": "~/.meepagateway/agents/meepa/SOUL.md",
  "content": "# Meepa\n\nYou are Meepa, a helpful bot assistant.\n"
}

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

Soul document

agent_id
string
required
Example:

"meepa"

path
string
required
Example:

"~/.meepagateway/agents/meepa/SOUL.md"

content
string
required
Example:

"# Meepa\n\nYou are Meepa, a helpful bot assistant.\n"