workspace
Set a BYOK LLM provider API key for this workspace.
Encrypts and persists a bring-your-own-key (BYOK) provider API key for the authenticated workspace (AES-256-GCM, ADR-036). ADR-049: multi-provider BYOK — now accepts provider type + api_key + optional model. Requires AES L1 encryption to be enabled on this deployment (ANDISH_ENCRYPTION_L1_ENABLED=true). Supported providers: openrouter_byok, polza_byok, ollama_byok. Plaintext key is NEVER logged or returned (ADR-019). Requires 'admin' scope.
post/v1/workspace/byok-key
Request
- Base URL: https://api.andish.ru (the document declares no server; this is the origin it was published from)
- URL: https://api.andish.ru/v1/workspace/byok-key
- Auth: none declared
Request body
Response
Key accepted and encrypted. No content returned.
Changes
No recorded changes to this operation across all 1 revision of this API.