---
title: "List tasks in the caller's org"
method: GET
path: "/tasks"
tags: ["Tasks"]
---

# List tasks in the caller's org

`GET /tasks`

## Request

- Base URL: `https://api-docs.jackhamr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.jackhamr.ai/tasks`
- Auth: none declared

List tasks in the principal's org, newest first.

Org scope is enforced by joining ``tasks`` → ``agents`` on the
caller's ``organization_id``. The optional ``board_id`` filter
narrows to tasks whose ``agent_id`` matches, useful for surfacing
a single board's work. Cursor-paginated via ``limit``/``cursor``
(the cursor is decoded lazily by ``build_cursor_from_rows``).

## Query parameters

- `board_id` string, nullable: Filter by agent (board) id; tasks are scoped to an agent
- `limit` integer
- `cursor` string, nullable

## Response `200`

Successful Response

- PaginatedResponseTaskOut
  - `data` TaskOut[]
    - `id` string, required
    - `agent_id` string, nullable
    - `parent_id` string, nullable
    - `name` string, required
    - `description` string, nullable
    - `task_type` string, required
    - `status` string, required
    - `priority` integer
    - `command` string, nullable
    - `working_directory` string, nullable
    - `environment_vars` object, nullable
    - `dependencies` string[], nullable
    - `progress_percent` integer
    - `progress_message` string, nullable
    - `result_data` object, nullable
    - `error_message` string, nullable
    - `started_at` string, date-time, nullable
    - `completed_at` string, date-time, nullable
    - `scheduled_at` string, date-time, nullable
    - `duration_seconds` integer, nullable
    - `exit_code` integer, nullable
    - `max_retries` integer
    - `retry_count` integer
    - `retry_delay_seconds` integer
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `next_cursor` string, nullable

## Other responses

- `422`: Validation Error

---

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