MINARA

Anthropic direct API key

POST /v1/auth/anthropic/api-key — Save an Anthropic platform API key. Validates via GET /v1/models before persisting. Lives in a dedicated `anthropicApiKe

POST /v1/auth/anthropic/api-key

Save an Anthropic platform API key. Validates via GET /v1/models before persisting. Lives in a dedicated anthropicApiKey profile slot — survives gateway restart without depending on $dataDir/env being sourced.

MethodPOST
Path/v1/auth/anthropic/api-key
AuthAuthorization: Bearer <token> required
Categoryauth

Request body

{ "apiKey": "sk-ant-...", "saveAnyway"?: boolean }

On this page