GET
/
models
curl --request GET \
  --url http://localhost/api/v1/models \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "tenant_id": "<string>",
    "tenant_name": "<string>",
    "title": "<string>",
    "description": "<string>",
    "created_on": "2023-11-07T05:31:56Z",
    "created_by": "<string>",
    "created_by_username": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "tags": [
      "<string>"
    ],
    "name": "<string>",
    "model_type": "chat",
    "model_name": "<string>",
    "api_base": "<string>",
    "api_version": "<string>",
    "deployment_id": "<string>",
    "provider": "openai"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

select
string
default:*

Response

200
application/json

Successful Response

The response is of type ModelOut · object[].