Skip to main content
GET
/
api
/
captain
/
agents
List agents
curl --request GET \
  --url http://localhost:63372/api/captain/agents \
  --cookie captain_session=
[
  {
    "id": "meepa",
    "name": "Meepa",
    "default": true,
    "workspace": "./agents/meepa",
    "provider": "anthropic",
    "model": "claude-sonnet-4-5-20250929",
    "max_iterations": 10
  }
]

Authorizations

captain_session
string
cookie
required

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

Response

Array of agents

id
string
required
Example:

"meepa"

name
string
required
Example:

"Meepa"

default
boolean
Example:

true

workspace
string
Example:

"./agents/meepa"

provider
string
Example:

"anthropic"

model
string | null
Example:

"claude-sonnet-4-5-20250929"

max_iterations
integer | null
Example:

10