Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for creating an LLM provider

provider
string
required

Name of the LLM provider

Example:

"OpenAI"

credentials
Credential Request · object[]
required

List of credentials for the provider

models
Model Compact Request · object[]
required

List of models supported by this provider

api_base
string | null

Custom API base URL. Required for some providers (e.g., Databricks), optional for others (e.g., Bedrock VPC endpoints). Must use HTTPS.

Maximum string length: 512
Example:

"https://adb-xxx.azuredatabricks.net/serving-endpoints"

Response

LLM provider created successfully

Response object for standard API responses.

api_version
enum<string>
default:3.0

API version.

Available options:
2.0,
3.0
kind
enum<string>
default:NORMAL

Type of response, indicating a normal response.

Available options:
NORMAL
data
object

Details of an LLM provider