---
title: "List Tasks"
method: GET
path: "/api/tasks"
tags: ["tasks"]
---

# List Tasks

`GET /api/tasks`

Unified long-running task view for authenticated users.

Normalized status values:
- queued, running, succeeded, failed, cancelled, timed_out

Current mapped sources:
- document_batch  -> batches table
- training_job    -> sd_training_jobs table
- agent_provisioning -> kiwi_agents table (when provisioning)

## Query parameters

- `limit` integer
- `task_type` string[], nullable — Filter by task type. Supported: document_batch, training_job, agent_provisioning
- `status` string[], nullable — Filter by normalized status

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/revisions/718de1c0d866/schema)
