# Source: https://docs.chatling.ai/api-reference/v2/ai-kb/list-ai-models.md

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatling.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List AI models

> Get a list of all the supported AI models.

## Request parameters

### Path

<ParamField path="chatbotId" type="string" required>
  The chatbot ID.
</ParamField>

### Query

<ParamField query="page" type="integer" default="1">
  The page number for pagination.
</ParamField>

## Response

<ResponseField name="status" type="string">
  The status of the request. Will be `success` if the request was successful, otherwise `error`.
</ResponseField>

<ResponseField name="data" type="object">
  <Expandable title="properties">
    <ResponseField name="pages" type="object">
      <Expandable title="properties">
        <ResponseField name="current_page" type="integer">
          The current page number.
        </ResponseField>

        <ResponseField name="last_page" type="integer">
          The last page number.
        </ResponseField>

        <ResponseField name="per_page" type="integer">
          The number of items per page.
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="models" type="array">
      <Expandable title="properties">
        <ResponseField name="id" type="integer">
          The unique identifier of the AI model.
        </ResponseField>

        <ResponseField name="name" type="string">
          The name of the model.
        </ResponseField>

        <ResponseField name="credits" type="array">
          The number of AI credits consumed for each response generated by the model.
        </ResponseField>

        <ResponseField name="temperature" type="object">
          The minimum and maximum temperature values for the model.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
      "status": "success",
      "data": {
          "pages": {
              "current_page": 1,
              "last_page": 1,
              "per_page": 15
          },
          "models": [
              {
                  "id": 1,
                  "name": "GPT-3.5 Turbo",
                  "credits": 1,
                  "temperature": {
                      "min": 0,
                      "max": 1
                  }
              },
              {
                  "id": 2,
                  "name": "GPT-4",
                  "credits": 10,
                  "temperature": {
                      "min": 0,
                      "max": 1
                  }
              },
              {
                  "id": 3,
                  "name": "Claude 3 Opus",
                  "credits": 18,
                  "temperature": {
                      "min": 0,
                      "max": 1
                  }
              },
              {
                  "id": 4,
                  "name": "Claude 3 Sonnet",
                  "credits": 4,
                  "temperature": {
                      "min": 0,
                      "max": 1
                  }
              },
              {
                  "id": 5,
                  "name": "Claude 3 Haiku",
                  "credits": 1,
                  "temperature": {
                      "min": 0,
                      "max": 1
                  }
              },
              {
                  "id": 6,
                  "name": "GPT-4o",
                  "credits": 5,
                  "temperature": {
                      "min": 0,
                      "max": 1
                  }
              },
              {
                  "id": 7,
                  "name": "Claude 3.5 Sonnet",
                  "credits": 4,
                  "temperature": {
                      "min": 0,
                      "max": 1
                  }
              },
          ]
      }
  }
  ```
</ResponseExample>