Get a provider
GET/v1/providers/{provider}API key
One provider by slug. 404 not_found for an unknown slug.
Authorization
API key Authorization: Bearer $MA_API_KEY
A Model Atlas API key: Authorization: Bearer ma_live_<prefix>_<secret>. A missing, malformed or revoked key gets 401 unauthorized. A key on an account without an active plan gets 403 forbidden. Checks are cached for up to a minute, so a revoked key, or a plan change, takes up to a minute to apply.
Parameters
| Parameter | Type | Description |
|---|---|---|
providerpathrequired | string | The provider’s slug, exactly as
|
Responses
The provider.
application/json · Provider
slugstringrequiredThe provider’s ID in this API. Stable; use it in
provider=filters.- Example
anthropic
namestringrequiredThe provider’s name.
- Example
Anthropic
country_of_originstringnullableWhere the provider is based, as an ISO 3166-1 alpha-2 code. Null when we don’t have it, or the provider doesn’t say which of its companies is the headquarters.
- Example
US
jurisdictionstringnullableThe country under whose law the company you contract with is established, as an ISO 3166-1 alpha-2 code. It can differ from
country_of_origin. Null when we don’t have it.- Example
US
website_urlstringnullableThe provider’s website. Null when we don’t have it.
- Example
https://www.anthropic.com
terms_urlstringnullableThe provider’s commercial terms. Null when we don’t have them.
- Example
https://www.anthropic.com/legal/commercial-terms
privacy_urlstringnullableThe provider’s privacy policy. Null when we don’t have it.
- Example
https://www.anthropic.com/legal/privacy
dpa_urlstringnullableThe provider’s data processing addendum. Null when we don’t have it.
- Example
https://www.anthropic.com/legal/data-processing-addendum
{ "slug": "anthropic", "name": "Anthropic", "country_of_origin": "US", "jurisdiction": "US", "website_url": "https://www.anthropic.com", "terms_url": "https://www.anthropic.com/legal/commercial-terms", "privacy_url": "https://www.anthropic.com/legal/privacy", "dpa_url": "https://www.anthropic.com/legal/data-processing-addendum"}401 Unauthorized, code: unauthorized. The API key is missing, malformed or revoked.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.titlestringrequiredThe HTTP status’s standard name.
statusintegerrequiredThe HTTP status code, the same as the response’s.
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal
{ "type": "about:blank", "title": "Unauthorized", "status": 401, "detail": "Send your API key: Authorization: Bearer ma_live_…", "code": "unauthorized"}403 Forbidden, code: forbidden. The key’s account has no active plan.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.titlestringrequiredThe HTTP status’s standard name.
statusintegerrequiredThe HTTP status code, the same as the response’s.
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal
{ "type": "about:blank", "title": "Forbidden", "status": 403, "detail": "This account has no active plan, so its keys can't read the catalog yet.", "code": "forbidden"}404 Not Found, code: not_found. Nothing with that ID or slug, or not yours.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.titlestringrequiredThe HTTP status’s standard name.
statusintegerrequiredThe HTTP status code, the same as the response’s.
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
codestringrequiredThe error, for your code to act on. Branch on this, not on
titleordetail.- Allowed
not_found,invalid_parameter,unauthorized,forbidden,conflict,rate_limited,not_implemented,internal
429 Too Many Requests. Over the stage’s request throttle. API Gateway answers before the API does, so this body isn’t a Problem. Wait, then retry with backoff.