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

# List the model providers configured

> List the model providers this deployment can route answers to. Providers are not part of MITHUNAI; a deployment reaches only those it holds credentials for.

A provider appears here when at least one of its catalogued models appears in [List models](/api-reference/models/list-models); the list is derived from that one. It says only that a provider is reachable. It never reveals anything about the credential behind it.

A deployment with no provider configured returns an empty `data` array. The response is not paginated. It requires a role that can read assistants, which every role except `dataset_operator` has.

## Response

<ResponseField name="data" type="object[]" required>
  The reachable providers, in catalogue order.

  <Expandable title="properties">
    <ResponseField name="id" type="string">
      The provider identifier: `anthropic`, `openai` or `google`.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={"theme":{"light":"github-light","dark":"github-dark"}}
  curl --request GET "$MITHUNAI_URL/arukz/api/v1/models/providers" \
    --header "Authorization: Bearer $MITHUNAI_API_KEY"
  ```

  ```python Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
  import os, requests

  response = requests.get(
      f"{os.environ['MITHUNAI_URL']}/arukz/api/v1/models/providers",
      headers={"Authorization": f"Bearer {os.environ['MITHUNAI_API_KEY']}"},
      timeout=60,
  )
  response.raise_for_status()
  print(response.json())
  ```

  ```javascript JavaScript theme={"theme":{"light":"github-light","dark":"github-dark"}}
  const response = await fetch(`${process.env.MITHUNAI_URL}/arukz/api/v1/models/providers`, {
    headers: { Authorization: `Bearer ${process.env.MITHUNAI_API_KEY}` },
  })
  console.log(await response.json())
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={"theme":{"light":"github-light","dark":"github-dark"}}
  {
    "data": [{ "id": "anthropic" }, { "id": "openai" }]
  }
  ```

  ```json 403 theme={"theme":{"light":"github-light","dark":"github-dark"}}
  { "code": "authorization_error", "message": "You do not have permission to perform this action." }
  ```
</ResponseExample>
