Skip to main content
POST
Validate a custom endpoint

Authorizations

Authorization
string
header
required

JWT authentication token

Body

application/json
api_key
string
required
Maximum string length: 4096
base_url
string
required
Maximum string length: 2048

Response

Validation result

base_url
string
required

Normalised base URL, corrected after a successful /v1 retry. Empty when the typed URL is refused before any request (endpoint_blocked).

models
string[]
required

Model IDs the endpoint listed (empty when none)

valid
boolean
required
error
string

One coarse code when valid is false (for example endpoint_auth_failed); absent when valid