v5

latestOpenAPI 3.1.12026-08-0826601.1 MB
LLM

Issues a LiteLLM API key scoped to the requested models. The key may only call the listed model names (calls to anything else are rejected) and the real underlying models stay hidden behind aliases. Expires after duration (1-99 hours or minutes, e.g. 72h or 30m; default 72h).

post/v1/llm/keys

Headers

Authorizationstring

Request body

modelsstring[] required
durationstring

Response

Default Response