Skip to main content
POST
Verify an OpenAI-compatible model catalog

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Organization → Settings → API Keys.

Body

application/json

Use an OpenAI API key, or set base_url with an API key or exact Authorization header. When models_url is omitted, model discovery uses <base_url>/models.

api_key
string
required
Minimum string length: 1
base_url
string<uri>
Minimum string length: 1
Pattern: ^https://
models_url
string<uri>

Optional model catalog URL. Defaults to <base_url>/models.

Minimum string length: 1
Pattern: ^https://
authorization_header
string

Exact value sent in the Authorization request header.

Minimum string length: 1
preserve_authorization_header
boolean
default:false

Reuse the stored exact Authorization header while updating other credential fields.

Response

Verified OpenAI-compatible model catalog

source
enum<string>
required
Available options:
aster,
openrouter,
opencode-go,
static,
openai-compatible
models
object[]
required
page
integer
required
total
integer
required
limit
integer
required
totalPages
integer
required