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 helper:

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

Last updated