Skip to main content
GET
/
v1
/
models
List Models
curl --request GET \
  --url https://api.ldx.dev/v1/models \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "gpt-4",
      "object": "model",
      "created": 123,
      "owned_by": "openai"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.liandanxia.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Headers

x-api-key
string

Anthropic API Key (for Claude format)

anthropic-version
string

Anthropic API version

Example:

"2023-06-01"

x-goog-api-key
string

Google API Key (for Gemini format)

Query Parameters

key
string

Google API Key (for Gemini format)

Response

Successfully retrieved model list

object
string
Example:

"list"

data
object[]