Example Page

🧑‍💼 Example: Fetching Page 4 with Filter

Scenario: You want to load Page 4 of a conversation list filtered by the keyword “sales”, with 25 results per page.

Using the API directly:

GET /api/Chat/GetConversations/abc123?results=25&skip=75&metadatasearch=sales
  • page = 4

  • results = 25

  • skip = (4 - 1) * 25 = 75

With the Pagination Helper:

fetch_conversations(agentid="abc123", page=4, results=25, metadatasearch="sales")

Last updated