nicolas_46952
12/05/2025, 3:13 PMAI Evy
12/05/2025, 3:13 PMAI Evy
12/05/2025, 3:13 PMstart_timestamp and end_timestamp fields (in milliseconds since epoch) , so you would need to filter the results client-side based on these timestamp fields after retrieving the chat list.AI Evy
12/05/2025, 3:13 PMAI Evy
12/05/2025, 3:13 PMnicolas_46952
12/05/2025, 3:15 PMAI Evy
12/05/2025, 3:15 PMAI Evy
12/05/2025, 3:15 PMpagination_key and pagination_key_version parameters [(1) ]() .
To retrieve all chats in history using pagination:
1. Make an initial request without pagination parameters to get the first page
2. Use the limit parameter to control how many agents are returned per request (ranges between 1 and 1000, default is 1000)
3. The pagination key is represented by an agent id, and the pagination key and version pair is exclusive (not included in the fetched page)
4. Use the last agent's agent_id and version from the response as your pagination_key and pagination_key_version for the next request
5. Continue fetching pages until no more results are returned
The endpoint accepts these pagination query parameters:
- `limit`: A limit on the number of objects to be returned (1-1000, default 1000)
- `pagination_key`: The agent id to continue fetching from
- `pagination_key_version`: The version of the agent associated with the pagination_key
When paginating, both the pagination_key and its version must be provided to ensure consistent ordering and to fetch the next page correctly .AI Evy
12/05/2025, 3:15 PMAI Evy
12/05/2025, 3:15 PM