Query parameters
Response format
Every paginated response includes apagination object:
Examples
First page (default)
Specific page with custom limit
Fetch all pages
To retrieve all records, iterate through pages untilpage >= pages:
Paginated endpoints
The following endpoints support pagination:
Note: Forwarding slots (
GET /v1/agents/{agentId}/forwarding-slots) and tools (GET /v1/agents/{agentId}/tools) return all records without pagination, as agents typically have a small number of these.
Tips
- Use
limit=100(the maximum) when you need to fetch large datasets to minimize the number of requests - Cache
pagination.totalto show progress indicators in your UI - Be aware that records may shift between pages if items are added or deleted during iteration