v51

OpenAPI 3.1.0raw.githubusercontent.com2026-08-018486293.2 KB
providers

Provider Catalog Detail

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. Master-key gated because it is operator-facing.

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/v1/providers/catalog/{provider_id}

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).