Skip to main content
GET
/
v1
/
models
Get model providers
curl --request GET \
  --url https://api.getmaxim.ai/v1/models \
  --header 'x-maxim-api-key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "accountId": "<string>",
      "keys": [
        {
          "id": "<string>",
          "name": "<string>",
          "value": "<string>",
          "providerId": "<string>",
          "enabled": true,
          "createdAt": "<string>",
          "updatedAt": "<string>",
          "meta": null,
          "customPricingStructureId": "<string>",
          "models": [
            {
              "id": "<string>",
              "label": "<string>",
              "name": "<string>",
              "provider": "<string>",
              "config": null
            }
          ]
        }
      ],
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "workspaceId": "<string>"
    }
  ]
}

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Query Parameters

includeModels
enum<string>

Whether to include models in the response

Available options:
true,
false

Response

Model providers retrieved successfully

data
object[]
required