cURL
curl --request GET \ --url http://localhost:63372/api/captain/config/raw \ --cookie captain_session=
{ "content": "# YAML content...", "path": "/path/to/config.yaml" }
Returns the raw YAML configuration file content. Secrets are redacted.
HMAC-signed session cookie returned by /api/captain/auth/login. Valid for 7 days. Invalidated when password changes.
Raw YAML configuration
"# YAML content..."
"/path/to/config.yaml"