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

# List Tasks

`GET /v1/tasks/list-tasks`

## Query parameters

- `state` 'active' | 'all' | 'queued' | 'running' | 'ready' | 'stopping' | 'stopped' | 'error' | 'failed' | 'completed' | 'cancelled'

## Response `200`

Success

- ListTasksResponse
  - `success` 'success' | 'failure', required
  - `tasks` TaskInfo[]
    - `task_id` string, required
    - `project_id` integer, nullable
    - `srt_url` string, nullable
    - `task_payload` object
    - `assigned` boolean
    - `time_remaining_hours` number, nullable
    - `task_status` string, required
    - `failure_reason` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/narrative-sports/apis/narrative-sports-api.md) · [All operations](https://skmtc.net/narrative-sports/apis/narrative-sports-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/narrative-sports/narrative-sports-api/revisions/86b5690d9e38/schema)
