Skip to main content

Endpoint

Authentication

This endpoint requires API key authentication via the Authorization header:

Query Parameters

integer
Page number for pagination (1-indexed). If provided, limit is required.
integer
Number of tasks to return per page. Required when page is provided.
string
Start date for filtering tasks (ISO 8601 format). Only tasks created on or after this date will be returned.
string
End date for filtering tasks (ISO 8601 format). Only tasks created on or before this date will be returned.
boolean
default:false
Whether to return base64 encoded URLs. If false, URLs will be returned as presigned URLs.
boolean
default:false
Whether to include chunks in the output response for each task. Set to true to get full task details (can increase response size significantly).

Response

Returns an array of task objects. Each task has the same structure as the Get Task response.
array
Array of task objects, each containing:

Status Codes

  • 200: Tasks retrieved successfully
  • 400: Bad request (limit is required when page is provided)
  • 500: Internal server error

Examples

Filtering and Pagination

Date Range Filtering

Filter tasks by creation date using start and end parameters:

Pagination

When using pagination:
  • Pages are 1-indexed (first page is page=1)
  • limit is required when page is specified
  • If a page has fewer items than limit, you’ve reached the last page
  • Without page and limit, all tasks are returned (use with caution for large datasets)

Performance Considerations

  1. include_chunks: Setting this to true significantly increases response size and processing time. Only use when you need full task details.
  2. Pagination: Always use pagination for large result sets to avoid timeouts and memory issues.
  3. Date Filtering: Narrow your date range to improve query performance.
  4. Limit Size: Recommended limit values:
    • Small limit (10-50): For UI pagination
    • Medium limit (50-100): For data processing
    • Large limit (100+): Only when necessary and with pagination

Common Use Cases

Monitor Recent Tasks

Find Failed Tasks

Export Task Summary

Cleanup Old Tasks

Error Handling