Skip to main content
GET
/
api
/
v1
/
model_providers
List Model Providers
curl --request GET \
  --url https://api.example.com/api/v1/model_providers \
  --header 'Authorization: Basic <encoded-value>'
{
  "items": [
    {
      "type": "anthropic",
      "base_url": "<string>",
      "capabilities": [
        "llm"
      ],
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "description": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "registry": "<string>",
      "state": "online"
    }
  ],
  "total_count": 123,
  "next_page_token": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "has_more": false
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - application/json

Successful Response

items
ModelProvider · object[]
required
total_count
integer
required
next_page_token
string<uuid> | null
required
has_more
boolean
default:false