---
title: "Enable storage accounting for an asset"
method: PUT
path: "/assets/{asset_id}/storage-accounting"
tags: ["assets"]
---

# Enable storage accounting for an asset

`PUT /assets/{asset_id}/storage-accounting`

## Request

- Base URL: `https://api.twelvelabs.io/v1.3`
- URL: `https://api.twelvelabs.io/v1.3/assets/{asset_id}/storage-accounting`
- Auth: API key in header `x-api-key`

This method enables storage accounting for the specified asset. Storage accounting makes an asset count toward your Managed Intelligence allowance.

**When to use this method**: Call it once for each asset that you uploaded before your plan moved to the new billing (a pre-migration asset). Enable storage accounting before you do either of the following:
- Add the asset to a knowledge store.
- Index the asset in an index for which Marengo is enabled.

An asset that you upload after your plan moves already counts toward your Managed Intelligence allowance. You do not need to call this method for it.

**Before you call this method**: The asset must have the `ready` status and a recorded size. To check, use the [`GET`](/v1.3/api-reference/manage-assets/retrieve) method of the `/assets/{asset_id}` endpoint and read the `status` and `size` fields.

**After you call this method**:
- The asset counts toward your Managed Intelligence allowance from the moment of the call.
- Enabling storage accounting is permanent. You cannot turn it off.
- If storage accounting is already on, the method returns the same response and changes nothing.

## Path parameters

- `asset_id` string, required

## Request body

- object
  - `enabled` boolean, required: Enables storage accounting for the asset. The only accepted value is `true`.

## Response `200`

Storage accounting has been successfully enabled for the asset.

- AssetStorageAccounting: The storage accounting setting of an asset.
  - `asset_id` string, required: The unique identifier of the asset.
  - `storage_accounting` boolean, required: Indicates whether the platform counts the asset toward your Managed Intelligence allowance.
  - `bytes` integer, required: The number of stored bytes that the platform counts for the asset.

## Other responses

- `400`: The request has failed.
- `404`: The specified asset does not exist.
- `409`: The platform cannot enable storage accounting for this asset because the asset has not reached the `ready` status or has no recorded size.
- `422`: The platform cannot enable storage accounting for this asset. Either your plan has not moved to the new billing, or the asset does not fit in your Managed Intelligence allowance.

## Changes

- **2026-10-15** `576581ede708`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/twelvelabs/apis/twelvelabs-api/changes/assets/:asset_id/storage-accounting/put.md)

---

[API](https://skmtc.dev/twelvelabs/apis/twelvelabs-api.md) - [All operations](https://skmtc.dev/twelvelabs/apis/twelvelabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/twelvelabs/apis/twelvelabs-api/revisions/c23c6e18fdd1?raw)
