cURL
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 }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Successful Response
Show child attributes