GET
/
api
/
v1
/
chat
/
models
curl --request GET \
  --url https://studio.premai.io/api/v1/chat/models \
  --header 'Authorization: Bearer <token>'
{
  "object": "<string>",
  "data": [
    {
      "id": "<string>",
      "created": 123,
      "object": "<string>",
      "owned_by": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

List of available models in OpenAI format.

The response is of type object.