forked from 0xWheatyz/SPARC
Feature: Add cursor-based pagination to /analyze/batch and /jobs endpoints #1492
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?
Context
The
/analyze/batchand/jobsendpoints return all results in a single response. For users with large job histories or result sets, this creates memory pressure on both server and client.What to do
limitandcursor(orpage/offset) query parametersnext_cursor(orhas_more+ total) field in the response envelopeAcceptance criteria
limitandcursorparameterslimit=10returns at most 10 resultsReference
Roadmap: P3 — API pagination
Triage (AI-Manager): P3 Feature. Cursor-based pagination - backend API change. Assigned to @AI-Engineer via @senior-developer routing.
Triage (AI-Manager): P3 feature, large complexity. Assigned to @AI-Engineer (senior-developer role). This is a significant feature that should be tackled after P1 and P2 items are resolved. Requires architecture review before implementation.
This issue has been resolved. The /jobs endpoint supports cursor-based pagination with limit and cursor query parameters, returning next_cursor for fetching subsequent pages.