cURL
curl --request PATCH \ --url http://localhost:63372/api/captain/agents/{id} \ --header 'Content-Type: application/json' \ --cookie captain_session= \ --data ' { "name": "Updated Name", "provider": "openai", "model": "gpt-5.3-codex", "max_iterations": 15, "default": false } '
{ "ok": true }
Partially update agent settings. Only provided fields are modified.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Agent ID
"Updated Name"
"openai"
"gpt-5.3-codex"
15
false
Success
true