MINARA

OpenAI direct API key

POST /v1/auth/openai/api-key — Save an OpenAI platform API key (api.openai.com). Validates via GET /v1/models before persisting; pass `saveAnyway: true

POST /v1/auth/openai/api-key

Save an OpenAI platform API key (api.openai.com). Validates via GET /v1/models before persisting; pass saveAnyway: true to skip validation when offline. Requires gateway bearer auth (returns 503 when MINARA_HTTP_TOKEN is unset).

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

Request body

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

On this page