List entity collections
This method returns a list of the entity collections in your account.
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
page
A number that identifies the page to retrieve.
Default: 1.
page_limit
The number of items to return on each page.
Default: 10.
Max: 50.
name
Filter entity collections by name.
sort_by
The field to sort on. The following options are available:
- `created_at`: Sorts by the time, in the RFC 3339 format ("YYYY-MM-DDTHH:mm:ssZ"), when the entity collection was updated.
- `updated_at`: Sorts by the time, in the RFC 3339 format ("YYYY-MM-DDTHH:mm:ssZ"), when the entity collection was created.
- `name`: Sorts by the name.
Allowed values:
sort_option
The sorting direction. The following options are available:
- `asc`
- `desc`
**Default**: `desc`.
Response
The entity collections have been successfully retrieved.
data
An array containing the entity collections.
page_info
An object that provides information about pagination.