I’m trying to use the API to retrieve multiple pages of executions. I have over 3000 executions and I’m using the API to pull them all into a doc so I can analyze them.
For some reason, the cursor query parameter doesn’t seem to be doing anything. I’m testing with limit=1, and when I put the initial response’s nextCursor back into the cursor query parameter, it doesn’t paginate and spits out the exact same result. The response is the exact same execution AND the exact same nextCursor.
Oddly enough, I tested this same logic with the Retrieve All Workflows and it works perfectly, I can actually paginate to the next set and the nextCursor field actually changes.
Anyone have success doing this or know if this is a known bug in the API? Thanks!
Hi @thatdudedenis, welcome to the community and sorry for the trouble.
I just gave this and it seems the cursor parameter has no effect for me either when using the {{base_url}}/api/v1/executions endpoint to fetch executions . I’ll add this to our internal bug tracker for a closer look and we’ll keep you posted.
OK sounds good, let me know if / when it gets fixed, it’ll allow for some super cool functionality in the integration I’m building with Coda Will be sharing more about that tomorrow!