Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  API Query for conversation details returns over 300k Hits. Does that mean i can only get less than half those records?

    Posted 04-03-2025 10:01

    I'm using /api/v2/analytics/conversations/details/query and I heard the limit was around 100k records. Would that be the limit for amount returned since I understand its page size * page number? Or can we increase the amount we can get.  


    #PlatformAPI


  • 2.  RE: API Query for conversation details returns over 300k Hits. Does that mean i can only get less than half those records?

    Posted 04-03-2025 15:53

    API Explorer says:

    Maximum pagination depth (page number x page size) before a query gets rejected

    So if you have single queries pulling back that sheer volume of data, it'd be recommended to break that up, maybe by time span.  API Explorer also says this is not configurable, so it appears to be a hard limit, not one you can request an increase on.

    Genesys would also want you to use the jobs API for that, resource-wise.  It doesn't change the limit on record count, though it is more conscious of platform resources and tuned for bulk data operations like yours.

    /api/v2/analytics/conversations/details/jobs



    ------------------------------
    Paul McGurn
    Senior Manager, Telecom & DevOps
    Persistent Systems
    ------------------------------



  • 3.  RE: API Query for conversation details returns over 300k Hits. Does that mean i can only get less than half those records?

    Posted 04-04-2025 16:45

    Thanks we will look into those recommendations. 




  • 4.  RE: API Query for conversation details returns over 300k Hits. Does that mean i can only get less than half those records?

    Posted 04-04-2025 08:32

    Hey Jason,

    I assume you're pulling this data to pull it into a data warehouse or data lake.  You can do what Paul is talking about by breaking your query up into different periods to shrink the window size.  Alternatively, you can listen for conversation events and use AWS EventBridge to grab the data near time.  We do not impose the same restrictions because we are pushing the data to you via an event rather than having you pull the data.  Plus your data is more up to date.

    Thanks,
       John



    ------------------------------
    John Carnell
    Director, Developer Engagement
    ------------------------------



  • 5.  RE: API Query for conversation details returns over 300k Hits. Does that mean i can only get less than half those records?

    Posted 04-04-2025 16:44

    Hi John,

    That sounds like something we can recommends doing. Thanks for the clarification.