curl --request POST \
--url http://localhost:63372/api/captain/setup \
--header 'Content-Type: application/json' \
--data '
{
"bot_name": "Meepa",
"provider": {
"name": "anthropic",
"api_key_env": "ANTHROPIC_API_KEY",
"model": "claude-sonnet-4-5-20250929",
"base_url": "https://api.anthropic.com"
},
"channel": {
"type": "meepachat",
"url": "wss://chat.example.com/api/bot-gateway",
"bot_token": "bot.secret"
}
}
'{
"ok": true
}Complete the onboarding wizard. Writes initial configuration to disk. All fields are optional; omitted fields use defaults.
curl --request POST \
--url http://localhost:63372/api/captain/setup \
--header 'Content-Type: application/json' \
--data '
{
"bot_name": "Meepa",
"provider": {
"name": "anthropic",
"api_key_env": "ANTHROPIC_API_KEY",
"model": "claude-sonnet-4-5-20250929",
"base_url": "https://api.anthropic.com"
},
"channel": {
"type": "meepachat",
"url": "wss://chat.example.com/api/bot-gateway",
"bot_token": "bot.secret"
}
}
'{
"ok": true
}