API ReferenceProvidersList Configured Providers returns all providers with their status (configured and unconfigured)
List Configured Providers returns all providers with their status (configured and unconfigured)
GET
/v1/providers/configuredGET
/v1/providers/configuredYour instance endpoint, shown on the instance page in the dashboard. Each instance has its own host; there is no shared API host.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
activeOnly | query | boolean | No | Filter to only active providers |
Responses
200 List of all providers with their status
| Property | Type | Description |
|---|---|---|
providers | object[] |
default An unexpected error response.
| Property | Type | Description |
|---|---|---|
code | integer | |
message | string | |
details | object[] |
Request
curl -X GET "http://localhost:8089/v1/providers/configured" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"const response = await fetch("http://localhost:8089/v1/providers/configured", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
});
const data = await response.json();import requests
response = requests.get(
"http://localhost:8089/v1/providers/configured",
headers={
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
)
data = response.json()Response
{
"providers": [
{
"catalog": {
"name": "string",
"displayName": "string",
"baseUrl": "string",
"apiVersion": "string",
"modelFamilies": [],
"models": [],
"description": "string",
"providerType": "string",
"supportsModelDiscovery": true,
"discoveryApiEndpoint": "string"
},
"configuration": {
"id": "string",
"providerName": "string",
"apiKey": "string",
"enabledModels": [],
"customBaseUrl": "string",
"isActive": true,
"createdAt": "string",
"updatedAt": "string",
"syncedToYamlAt": "string",
"lastUsedAt": "string"
},
"isConfigured": true,
"isActive": true,
"configuredModelsCount": 0,
"availableModelsCount": 0,
"catalogStatus": "string",
"isFromCatalog": true
}
]
}{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
