Providers

Create LLM provider

Creates a new LLM provider configuration. The auth_config field is write-once and cannot be retrieved after creation.

post/api/{org_id}/providers

Request

Path parameters

org_idstring required

Organization name

Request body

authConfigunknown required
availableModelsstring[]
defaultModelstring
endpointstring nullable
isDefaultboolean
namestring required
providerTypestring required
rateLimitsobject nullable

Response

Success

authConfigMaskedboolean required

API key / auth config is masked in responses.

availableModelsstring[] required
createdAtinteger required
defaultModelstring required
endpointstring nullable

Null for a provider on the built-in default, so the form field stays empty.

idstring required
isDefaultboolean required
namestring required
orgIdstring required
providerTypestring required
rateLimitsobject nullable
resolvedEndpointstring required

The URL actually called, with the default filled in when endpoint is null.

updatedAtinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.