📂
Get Collections
Use this method to get the metadata of multiple collections at the same time.

Parameter | Type | Required | Description |
---|---|---|---|
perPage | number | Optional | The number of collections to return |
page | number | Optional | The offset for returned collections. Calculated as (page - 1) * perPage |
sortBy | String | Optional | The field to sort the collections by (any field in the collection schema may be used) |
sortDir | "asc" | "desc" | Optional | Choose to sort in ascending (asc) or descending (desc) order |