Retrieves a list of tasks with cursor-based pagination. By default, tasks are returned in descending order (newest first).
Basic usage (get all tasks):
GET /api/v1/tasks
Get first 10 tasks:
GET /api/v1/tasks?limit=10
Paginate through results:
GET /api/v1/tasks?limit=10
GET /api/v1/tasks?limit=10&cursor=<timestamp>
Filter by date range:
GET /api/v1/tasks?start=2025-01-01T00:00:00Z&end=2025-12-31T23:59:59Z
Get detailed results with chunks:
GET /api/v1/tasks?include_chunks=true
Get base64 encoded content:
GET /api/v1/tasks?base64_urls=true
Get tasks in ascending order (oldest first):
GET /api/v1/tasks?sort=asc
Get tasks in descending order (newest first, default):
GET /api/v1/tasks?sort=desc
Whether to return base64 encoded URLs. If false, the URLs will be returned as presigned URLs.
End date
Whether to include chunks in the output response
Number of tasks per page
Cursor for pagination (timestamp)
Start date
Sort order: 'asc' for ascending, 'desc' for descending (default)
asc
, desc
Paginated list of tasks
The response is of type object
.