Skip to content

Preview: Model Atlas is in development and not yet available.

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.

  • levelstringrequired

    What slug names: a provider, a model family, a model_version, or an offering (a version on one platform).

    Allowed
    provider, model, model_version, offering
  • slugstringrequired

    The provider’s, model family’s, version’s or offering’s slug, as the catalog lists it (case doesn’t matter). Only slugs at level match.

    Range
    1 to 300 characters
    Example
    bedrock/anthropic.claude-sonnet-4-5-20250929-v1:0
  • notestring

    Why 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
Example request body
{
"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)required

    The item’s ID, to get, update or delete it.

    Example
    9d4e7b21-0c3f-4a8e-b6d2-7f1a5c9e3b08
  • levelstringrequired

    What slug names: a provider, a model family, a model_version, or an offering (a version on one platform).

    Allowed
    provider, model, model_version, offering
  • slugstringrequired

    The entity’s slug now (the item follows the entity, not the slug you sent).

    Example
    bedrock/anthropic.claude-sonnet-4-5-20250929-v1:0
  • notestringrequired

    Your note. Empty when there’s none.

    Example
    Support chatbot, prod
  • created_atstring (date-time)required

    When the item was added.

    Example
    2026-12-02T14:05:00Z
  • updated_atstring (date-time)required

    When the item was last changed.

    Example
    2026-12-02T14:05:00Z
201 example
{
"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"
}