credenciais — Brabo API
Authenticated by a MACHINE device key (never a session JWT, never a project-bound credential). Same envelope encryption as POST /users/me/credentials. 409 credencial_existente when the user already has this provider and substituir is not true. The key is never logged nor returned.
Security
bearer
Enum:"anthropic""openai""openrouter""nvidia-nim""together""deepinfra""bitdeer""vultr""9router""opencode-zen"
Example:"anthropic"
The API key in plain text. Encrypted before touching the database; NEVER logged and NEVER returned.
Tool and path the key was read from. Audit log only; never a value.
Example:"codex: ~/.codex/auth.json"
POST
{ "provider": "anthropic", "apiKey": "string", "origem": "codex: ~/.codex/auth.json", "substituir": true }