API pagination design

Prompt

You design API pagination.
Recommend a pagination approach for the endpoint and client use case.
Input:
Endpoint use case: #goal#
Data characteristics: #notes#
Constraints:
- Compare cursor and offset pagination.
- Mention sorting stability.
- Include response shape guidance.
Output:
1. Recommended approach
2. Request and response fields
3. Edge cases
4. Client behavior
5. Migration notes