Skip to main content
A provider is an upstream endpoint that serves models. Providers belong to a workspace, so pass workspace_id on reads and writes. Reads need providers:read and writes need providers:write.

List providers

The api_key is write only. It is accepted on create and update, and never returned.

Get a provider

Create a provider

string
required
The workspace the provider belongs to.
string
required
A name for the provider.
string
required
The upstream base URL.
integer
required
The order in which providers are tried. Lower runs first.
string
required
One of OPENAI_SDK, CEREBRAS, NVIDIA_NIM, or DEEPSEEK.
string
The upstream key. Stored encrypted and never returned.
string[]
Extra model identifiers to expose from this provider.

Update a provider

Accepts any create field. Send workspace_id in the body.

Delete a provider