Skip to main content
GET
/
api
/
v1
/
openai
/
models
List Models
curl --request GET \
  --url https://api.example.com/api/v1/openai/models \
  --header 'Authorization: Basic <encoded-value>'
{
  "data": [
    {
      "id": "<string>",
      "provider": {
        "capabilities": [
          "llm"
        ]
      },
      "created": 0,
      "object": "model",
      "owned_by": "unknown",
      "display_name": "<string>"
    }
  ],
  "object": "list"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - application/json

Successful Response

data
Model · object[]
required
object
string
default:list
Allowed value: "list"