Skip to main content
POST
Create LiteLLM gateway provider

Authorizations

Authorization
string
header
required

Session token passed as Authorization: Bearer <session-token> for user-authenticated Den routes.

Body

application/json
baseUrl
string
required

LiteLLM proxy URL, with or without /v1.

Required string length: 1 - 2048
mode
enum<string>
required

org: one organization LiteLLM key for everyone, with OpenWork spend tracking. member: each person connects their own LiteLLM key. issued: OpenWork creates a LiteLLM key for each allowed person, found by their OpenWork email. In member and issued modes apiKey is a LiteLLM admin key and OpenWork spend tracking is off.

Available options:
org,
member,
issued
apiKey
string
required

Organization key (org mode) or admin key (member and issued modes). Write-only.

Required string length: 1 - 4096
name
string
default:LiteLLM
Required string length: 1 - 255
issueStrategy
enum<string>

issued mode. per_team: one key per LiteLLM team the person belongs to, or one key without a team when they are in none. mirror: a copy of their oldest active key (team, models, aliases, tags, expiry; never key-level budgets or rate limits).

Available options:
per_team,
mirror
mirrorFallback
enum<string>

issued + mirror: for someone with no key to copy, create per-team keys, or report them and create nothing.

Available options:
per_team,
error
allMembers
boolean
memberIds
string<typeid>[]
Maximum array length: 500

Den TypeID with 'om_' prefix and a 26-character base32 suffix.

Required string length: 29
teamIds
string<typeid>[]
Maximum array length: 500

Den TypeID with 'tem_' prefix and a 26-character base32 suffix.

Required string length: 30

Response

Create LiteLLM gateway provider

inferenceProvider
object
required
sync
object
required