---
title: "List a session's tasks"
method: GET
path: "/v1/task/list"
tags: ["Task"]
---

# List a session's tasks

`GET /v1/task/list`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/task/list`
- Auth: HTTP bearer

Returns a session's todo list in creation order (empty for an unknown session).

## Query parameters

- `session_id` string

## Response `200`

The session's tasks

- object
  - `ok` true
  - `session_id` string
  - `tasks` AgentTask[]
    - `id` string, required
    - `title` string, required
    - `description` string
    - `status` 'pending' | 'in_progress' | 'completed' | 'cancelled', required
    - `createdAt` string, required
    - `updatedAt` string, required

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
