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

# List tasks

`GET /tasks/list`

List tasks for the authenticated user with optional filters..

## Query parameters

- `status` 'queued' | 'dispatched' | 'accepted' | 'running' | 'succeeded' | 'failed' | 'cancelled' — Filter by task status
- `type` string — Filter by task type (e.g. outreach-draft)
- `campaignId` string — Filter by campaign ID
- `limit` integer
- `offset` integer

## Response `200`

Task list

- object
  - `tasks` object[], required
    - `id` string, required
    - `type` string, required — Task type (e.g. discover-qualify, outreach-draft, connect-send)
    - `campaignId` string, nullable, required
    - `status` 'queued' | 'dispatched' | 'accepted' | 'running' | 'succeeded' | 'failed' | 'cancelled', required
    - `priority` integer, required
    - `model` string, nullable, required
    - `result` unknown
    - `error` string, nullable, required
    - `workflowRunId` string, nullable, required
    - `createdAt` string, required
    - `dispatchedAt` string, nullable, required
    - `completedAt` string, nullable, required
  - `total` integer, required
  - `limit` integer, required
  - `offset` integer, required

## Other responses

- `400` — The server cannot or will not process the request due to something that is perceived to be a client error.
- `401` — Although HTTP specifies "unauthorized", this response means "unauthenticated". Authenticate to continue. NOTE: 401 is also returned with code "linkedin_not_connected" when the caller IS authenticated but has no connected LinkedIn account — connect LinkedIn (not re-authenticate) to continue.
- `403` — The client does not have access rights to the content.
- `404` — The server cannot find the requested resource.
- `409` — The request conflicts with the current state of the server.
- `410` — The requested content has been permanently deleted from the server.
- `422` — The request was well-formed but was unable to be followed due to semantic errors.
- `429` — Rate limit exceeded. Read error.retryAfter for the wait time in seconds.
- `500` — The server encountered a situation it does not know how to handle.
- `502` — LinkedIn returned a server error or the proxy connection failed. Retry after a few seconds.
- `503` — Proxy capacity temporarily exceeded. Retry after a few seconds.

---

[API](https://skmtc.net/berea/apis/bereach-api.md) · [All operations](https://skmtc.net/berea/apis/bereach-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/berea/bereach-api/revisions/3caf12036b26/schema)
