cURL
curl --request PUT \ --url http://localhost:63372/api/captain/agents/{id}/soul \ --header 'Content-Type: application/json' \ --cookie captain_session= \ --data ' { "content": "# Meepa\n\nYou are Meepa, an expert coding assistant.\n" } '
{ "ok": true }
Replace the agent’s soul document with new content.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Agent ID
"# Meepa\n\nYou are Meepa, an expert coding assistant.\n"
Success
true