providers

Provider Catalog Detail

Changed on

Autofill hints for one provider the add-provider form has selected.

Imports only the selected provider's any-llm module (not the whole catalog) to report its credential env var, default endpoint, whether a key is required, and whether that env var is already set on the server. Returns 404 for an unknown provider id.

The SDK import is offloaded to a worker thread: the first fetch for a given provider imports that provider's module, which would otherwise block the event loop (and thus every concurrent request) for the import's duration.

get/api/v1/providers/catalog/{provider_id}

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Path parameters

provider_idstring required

Response

Successful Response

default_api_basestring nullable

Built-in endpoint; blank means the SDK's default.

env_keystring nullable

Env var the SDK reads this provider's key from.

env_key_presentboolean

True when env_key is already set on the server, so a pasted key is optional (env fallback).

idstring required

any-llm provider id, used as the default instance name.

namestring required

Human-friendly display name.

requires_api_keyboolean required

False for keyless local backends (Ollama, llama.cpp).

Changes

    • info

      added the optional property to the response with the status

    • info

      api operation id provider_catalog_detail_api_v1_providers_catalog__provider_id__get removed and replaced with providers-provider_catalog_detail