Add an inventory item
POST/v1/inventoryPortal sign-in
Adds one provider, model family, version or offering, by its level and its slug at that level (as the catalog lists it; case doesn’t matter). Unknown slugs are 400 invalid_parameter, and an entity already in your inventory is 409 conflict. A provider covers every version of its families, a family every version of it (including ones added later), a version itself and its offerings, an offering just itself. Your plan sets how many items your account can have (entitlements.limits.inventory_items on GET /v1/account): at the limit, 409 conflict; with a limit of 0 (no plan yet, for example), 403 forbidden.
Authorization
Portal sign-in Authorization: Bearer $MA_ACCESS_TOKEN
Sign in to the portal and send its access token. Portal sign-in isn't available yet, so you can read this endpoint but not call it.
Request body
Required, application/json.
levelstringrequiredWhat
slugnames: aprovider, amodelfamily, amodel_version, or anoffering(a version on one platform).- Allowed
provider,model,model_version,offering
slugstringrequiredThe provider’s, model family’s, version’s or offering’s slug, as the catalog lists it (case doesn’t matter). Only slugs at
levelmatch.- Range
- 1 to 300 characters
- Example
bedrock/anthropic.claude-sonnet-4-5-20250929-v1:0
notestringWhy it’s in your inventory, for your team. Up to 500 characters; spaces around it are trimmed.
- Range
- up to 500 characters
- Example
Support chatbot, prod
{ "level": "offering", "slug": "bedrock/anthropic.claude-sonnet-4-5-20250929-v1:0", "note": "Support chatbot, prod"}Responses
The new inventory item.
application/json · InventoryItem
idstring (uuid)requiredThe item’s ID, to get, update or delete it.
- Example
9d4e7b21-0c3f-4a8e-b6d2-7f1a5c9e3b08
levelstringrequiredWhat
slugnames: aprovider, amodelfamily, amodel_version, or anoffering(a version on one platform).- Allowed
provider,model,model_version,offering
slugstringrequiredThe entity’s slug now (the item follows the entity, not the slug you sent).
- Example
bedrock/anthropic.claude-sonnet-4-5-20250929-v1:0
notestringrequiredYour note. Empty when there’s none.
- Example
Support chatbot, prod
created_atstring (date-time)requiredWhen the item was added.
- Example
2026-12-02T14:05:00Z
updated_atstring (date-time)requiredWhen the item was last changed.
- Example
2026-12-02T14:05:00Z
{ "id": "9d4e7b21-0c3f-4a8e-b6d2-7f1a5c9e3b08", "level": "offering", "slug": "bedrock/anthropic.claude-sonnet-4-5-20250929-v1:0", "note": "Support chatbot, prod", "created_at": "2026-12-02T14:05:00Z", "updated_at": "2026-12-02T14:05:00Z"}400 Bad Request, code: invalid_parameter. A parameter or the request body is invalid.
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
401 Unauthorized. No valid portal access token. API Gateway checks it before the API runs, so this body is API Gateway’s, not a Problem.
403 Forbidden, code: forbidden. You can’t do this on this account (see the description).
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
409 Conflict, code: conflict. It conflicts with what’s there (see the description).
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.