Skip to content

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

Update an inventory item

PATCH/v1/inventory/{id}Portal sign-in

Changes the note, or what the item names (level and slug, sent together). The item keeps its ID. Fields you leave out don’t change. A new target follows the same rules as adding one: unknown slugs are 400, one already in your inventory 409.

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.

Parameters

ParameterTypeDescription
id
pathrequired
string

The ID the resource was listed or created with: a ULID for events and deliveries, a UUID for API keys, webhook endpoints and webhook subscriptions. An unknown or malformed ID, or another account’s, is 404 not_found.

Examples
01M855W468XZ5JFHKQ38DQSXW1 An event or delivery ID (a ULID)
6f1c2a9e-4b7d-4e3a-9c51-2d8f0b7e3a14 An API key, webhook endpoint or webhook subscription ID (a UUID)

Request body

Required, application/json.

  • levelstring

    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
  • slugstring

    The new target’s slug at level.

    Range
    1 to 300 characters
    Example
    claude-sonnet-4-5-20250929
  • notestring

    A new note. An empty string clears it.

    Range
    up to 500 characters
    Example
    Support chatbot, prod
Example request body
{
"level": "model_version",
"slug": "claude-sonnet-4-5-20250929"
}

Responses

The updated 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
200 example
{
"id": "9d4e7b21-0c3f-4a8e-b6d2-7f1a5c9e3b08",
"level": "model_version",
"slug": "claude-sonnet-4-5-20250929",
"note": "Support chatbot, prod",
"created_at": "2026-12-02T14:05:00Z",
"updated_at": "2026-12-02T15:20:00Z"
}