---
title: "Provider Catalog Detail"
method: GET
path: "/v1/providers/catalog/{provider_id}"
tags: ["providers"]
---

# Provider Catalog Detail

`GET /v1/providers/catalog/{provider_id}`

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.

## Path parameters

- `provider_id` string, required

## Response `200`

Successful Response

- KnownProviderSchema — A selected provider's autofill hints for the add-provider form.
  - `default_api_base` string, nullable — Built-in endpoint; blank means the SDK's default.
  - `env_key` string, nullable — Env var the SDK reads this provider's key from.
  - `env_key_present` boolean — True when env_key is already set on the server, so a pasted key is optional (env fallback).
  - `id` string, required — any-llm provider id, used as the default instance name.
  - `name` string, required — Human-friendly display name.
  - `requires_api_key` boolean, required — False for keyless local backends (Ollama, llama.cpp).

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mozilla-ai/apis/otari.md) · [All operations](https://skmtc.net/mozilla-ai/apis/otari/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mozilla-ai/otari/revisions/cea76e85cdac/schema)
