Skip to main content
GET
List models

Authorizations

Authorization
string
header
required

Use Authorization: Bearer sk-... from https://omniall.ai/dashboard

Headers

x-api-key
string

Anthropic-compatible API key. When present together with anthropic-version, the response uses Anthropic list format. The gateway also accepts this value as the token (equivalent to Authorization: Bearer ...).

Example:

"sk-xxxxxxxx"

anthropic-version
string

Anthropic API version header. Pair with x-api-key to request Anthropic response format.

Example:

"2023-06-01"

x-goog-api-key
string

Gemini-compatible API key. When present, the response uses Gemini list format.

Example:

"sk-xxxxxxxx"

Query Parameters

key
string

Alternate Gemini-compatible API key (query). Same effect as x-goog-api-key.

Example:

"sk-xxxxxxxx"

Response

Success. Default body is OpenAI-compatible (success, object, data). Anthropic / Gemini shapes apply when the corresponding headers/query are used.

Default OpenAI-compatible model list response.

object
string
required

Always list.

Example:

"list"

data
object[]
required

Array of models available to the current API key / group.

success
boolean

Gateway success flag; true when the list was returned successfully.

Example:

true