GET /api/v1/tasks_

Retrieve tasks for the current user with optional filtering and pagination.

Request

GET https://api.ragfodder.com/api/v1/tasks?status=COMPLETED&page=1&size=20

Query Params
status: optional TaskStatus enum
page: integer >= 1 (default: 1)
size: integer 1..100 (default: 20)

Response

TaskListItemResponse Shape
{
  "id": "uuid",
  "status": "PENDING | PROCESSING | COMPLETED | FAILED",
  "error_message": "string | null",
  "file_hash": "string | null",
  "original_filename": "string | null",
  "created_at": "datetime",
  "updated_at": "datetime"
}
Response Example
{
  "items": [
    {
      "id": "f6e0ec7e-90a0-47dc-9a65-7f65edc3f4e0",
      "status": "PROCESSING",
      "error_message": null,
      "file_hash": "abc123...",
      "original_filename": "annual-report.pdf",
      "created_at": "2026-02-11T12:10:00Z",
      "updated_at": "2026-02-11T12:10:05Z"
    }
  ],
  "total": 1,
  "page": 1,
  "size": 20,
  "pages": 1
}