Providers API
List direct labs, cloud platforms, gateways, and inference providers represented in the catalog.
List providers
GET
/v1/providersAuthentication: OptionalcURL
curl https://api.use-allm.com/v1/providers \
-H "Accept: application/json" \
-H "Authorization: Bearer $ALLM_API_KEY"TypeScript
const providers = await allm.providers.list();
console.log(providers.data[0].name);JSON · 200
{
"data": [
{
"id": "openai",
"name": "OpenAI",
"kind": "direct",
"website": "https://openai.com",
"tier": "P0",
"deployment_count": 38
}
]
}Retrieve a provider
GET
/v1/providers/{providerId}Authentication: OptionalproviderIdstringrequired
Provider slug, for example
openai or aws-bedrock.cURL
curl https://api.use-allm.com/v1/providers/openai \
-H "Authorization: Bearer $ALLM_API_KEY"The response is a data envelope containing the provider and its current deployments.
Provider object
idstringrequired
Stable provider slug.
namestringrequired
Display name.
kindenumrequired
direct, cloud, gateway, or inference_cloud.websiteurirequired
Provider website.
tierstringrequired
ALLM catalog coverage priority.
deployment_countinteger
Number of current deployments; returned by list.
Errors
| Status | Code | When it happens |
|---|---|---|
| 404 | PROVIDER_NOT_FOUND | No provider matches the requested provider ID. |
| 429 | RATE_LIMIT_EXCEEDED | The request quota has been exceeded. |
Response metadata
Every successful response includes
x-allm-catalog-release, x-request-id, and an ETag. Store the request ID in logs and the catalog release beside any persisted decision.