Skip to main content
All our endpoints that list objects support pagination. Nuvion uses cursor-based pagination with the previous_cursor and next_cursor fields, which act as pointers to the current position in the dataset. You can also specify a limit to control the number of records per page. The default limit is 20, with a maximum of 20. When you reach the last page, the has_next field will be set to false.
200 OK
// curl https://api.nuvion.dev/account-details?limit=2
{
    "message": "Account details retrieved successfully",
    "status": "success",
    "data": {
        "data": [
            {
                "id": "01K609PNRT13BRQ2Z5XKN8YNCF",
                "entity_id": "01K5EEGEXW2HX09DJPXZM4S3WD"
                // ...
            },
            {
                "id": "01K60BJT37K5XFKQ7J5PPSHRTW",
                "entity_id": "01K5EEGEXW2HX09DJPXZM4S3WD"
                // ...
            }
        ],
        "meta": {
            "pagination": {
                "limit": 2,
                "total_count": 3,
                "has_next": false,
                "has_previous": false,
                "next_cursor": null,
                "previous_cursor": null
            },
            "filters_applied": {
                "entity_id": "01K5EEGEXW2HX09DJPXZM4S3WD",
                "sort": "created_desc"
            }
        }
    }
}