workspace

Check whether a BYOK key is configured for this workspace.

ADR-049: returns is_set + provider type + model — enables the frontend to render the correct UI state per provider without additional fetches. Plaintext key is NEVER returned. Requires 'admin' scope.

get/v1/workspace/byok-key/status

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/status
  • Auth: none declared

Response

BYOK configuration status. Plaintext never returned.

is_setboolean required

True when a BYOK key (or Ollama config) is configured for this workspace. Plaintext key is never returned by this endpoint.

provider'openrouter_byok' | 'polza_byok' | 'ollama_byok' nullable

The configured BYOK provider type. Null when is_set=false. One of: 'openrouter_byok', 'polza_byok', 'ollama_byok'.

modelstring nullable

The model override stored with the BYOK key. Null when is_set=false or no model override was specified. Plaintext key is never returned — only the model identifier.

Changes

No recorded changes to this operation across all 1 revision of this API.