> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getmeasure.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Pagination

The Measure API offers several list and search APIs that have a common structure that contains the requested list in a `results` response object along with metadata that is useful for pagination in the `pagination` response object that also contains the `from_key` as the cursor that is customized based on the resource being requested.

All paginated calls require a `limit` field with a maximum upper bound of 100 items per request. They also require a `sort_key` to determine the desired sort order for objects returned. For example, a typical expectation is that `results` are returned in reverse chronological order by using the `createdAtDesc` option.

```json theme={null}
{
  "results": [
        {
            "id": "vE1zSWtFGL",
            "created_at": "2023-03-15T10:49:03.461-04:00",
          ...
        } 
    ...
    ],
  "pagination": {
    "from_key": "2023-03-15T12:54:17.533Z",
    "limit": 100
  }
}
```
