Dear VAPI Support Team,
We are currently integrating the /call endpoint to sync historical call logs into our system using incremental pagination with the limit and createdAtLt parameters.
While testing, we observed that the API stops returning data after approximately 50,000 records, even though more historical records are available. When manually querying the endpoint with the same createdAtLt value, additional records are returned successfully. However, during automated pagination, the API eventually responds with an empty array, causing the sync process to stop prematurely.
We would appreciate clarification on the following points:
Is there a maximum deep pagination limit (e.g., 50,000 records) for the /call endpoint?
Does the API enforce any internal cap when paginating using createdAtLt?
Are there recommended best practices for syncing large historical datasets (100,000+ records)?
Does VAPI support cursor-based pagination or offset-based pagination for more reliable deep data retrieval?
Is there a recommended approach for performing a full historical backfill?
Our goal is to perform a one-time full historical sync and then switch to incremental syncing moving forward. Understanding any API limitations or recommended patterns will help us implement this correctly.
Thank you in advance for your support. We look forward to your guidance.