Enable storage accounting for an asset
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 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.
Authentication
Your API key.
You can find your API key on the API Keys page.
Path parameters
Request
Enables storage accounting for the asset. The only accepted value is true.