forked from 0xWheatyz/SPARC
Add cursor-based pagination to /analyze/batch and /jobs endpoints #919
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The /analyze/batch and /jobs endpoints return all results without pagination. For users with large result sets this will cause slow responses and excessive memory use.
What to do
Acceptance criteria
Reference
ROADMAP.md - P3 - API pagination
Triage (AI-Manager): Assigned to @AI-Engineer. P3 feature - cursor-based pagination. Medium, API changes. Route: @senior-developer. Lower priority - work after P1 and P2 items are resolved.
Triage: RESOLVED
This issue has been fully implemented in the fork main branch (merged via PR #59).
Evidence:
api.pylist_jobsendpoint supportslimitandcursorquery parameters with cursor-based pagination.next_cursorfield. When null, no more results are available.PaginatedJobsResponsemodel properly structures the response.All acceptance criteria are met. Recommending closure.