Skip to main content
POST
Add an OpenAI-compatible model server

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
base_url
string
required
api_key
string

Required on create; on update an omitted or empty key keeps the stored one.

Response

The created endpoint

A custom OpenAI-compatible model endpoint.

id
string<uuid>
required
name
string
required
provider
string
required
base_url
string
required
key_preview
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required