Get a serving platform
GET/v1/platforms/{platform}API key
One platform 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 |
|---|---|---|
platformpathrequired | string | The platform’s slug, exactly as
|
Responses
The platform.
application/json · Platform
slugstringrequiredThe platform’s ID in this API. Stable; use it in
platform=filters, and it starts each of its offerings’ slugs.- Example
bedrock
namestringrequiredThe platform’s name.
- Example
Amazon Bedrock
platform_typestringrequiredfirst_party_api: a model maker’s own API.cloud: a cloud provider’s model service.gateway: a service that routes to other platforms.- Allowed
first_party_api,cloud,gateway
operatorstringnullableThe provider that runs it.
- Example
amazon
region_schemestringWhose region codes the platform’s
regionvalues use:aws,azureorgcp.nonewhen it has no regions.- Example
aws
terms_urlstringnullableThe platform’s service terms. Null when we don’t have them.
- Example
https://aws.amazon.com/service-terms/
dpa_urlstringnullableThe platform’s data processing addendum. Null when we don’t have it.
- Example
https://d1.awsstatic.com/legal/aws-dpa/aws-dpa.pdf
{ "slug": "bedrock", "name": "Amazon Bedrock", "platform_type": "cloud", "operator": "amazon", "region_scheme": "aws", "terms_url": "https://aws.amazon.com/service-terms/", "dpa_url": "https://d1.awsstatic.com/legal/aws-dpa/aws-dpa.pdf"}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
Over a rate limit: your account’s per-minute limit from its plan (entitlements.requests_per_minute on GET /v1/account), shared by its keys, or the API-wide throttle every caller shares. Wait Retry-After seconds, then retry with backoff.
application/problem+json · Problem
typestringrequiredAlways about:blank for now. Use
code.- Example
about:blank
titlestringrequiredThe HTTP status’s standard name.
- Example
Not Found
statusintegerrequiredThe HTTP status code, the same as the response’s.
- Example
404
detailstringWhat went wrong with this request, in plain language: which parameter, which slug. Absent when there’s nothing to add (an internal error).
- Example
No version claude-sonnet-9.
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- Example
not_found
{ "type": "about:blank", "title": "Too Many Requests", "status": 429, "detail": "Your plan allows 60 requests a minute, across your account's keys. Retry after 12 s.", "code": "rate_limited"}{ "type": "about:blank", "title": "Too Many Requests", "status": 429, "detail": "The API is busy. Retry after 1 s, with backoff.", "code": "rate_limited"}