List assets

This method returns a list of assets in your account. <Note title="Note"> - The platform returns your assets sorted by creation date, with the newest at the top of the list. - The platform automatically deletes assets that are not associated with any entity after 72 hours. </Note>

Authentication

x-api-keystring
Your API key. <Note title="Note"> You can find your API key on the <a href="https://playground.twelvelabs.io/dashboard/api-key" target="_blank">API Key</a> page. </Note>

Query Parameters

pageintegerOptionalDefaults to 1

A number that identifies the page to retrieve.

Default: 1.

page_limitintegerOptionalDefaults to 10

The number of items to return on each page.

Default: 10. Max: 50.

asset_idslist of stringsOptional
Filters the response to include only assets with the specified IDs. Provide one or more asset IDs. When you specify multiple IDs, the platform returns all matching assets.
asset_typeslist of enumsOptional
Filters the response to include only assets of the specified types. Provide one or more asset types. When you specify multiple types, the platform returns all matching assets.
Allowed values:

Response

The assets have been successfully retrieved.
datalist of objects or null
An array containing the assets.
page_infoobject or null
An object that provides information about pagination.

Errors