> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mosaic.so/llms.txt
> Use this file to discover all available pages before exploring further.

# List Run Tasks

> Paginate all currently attached tasks for an authorized run. Use this endpoint for exhaustive task inspection; tasks embedded in progress are a snapshot. progress is a percentage; heartbeat_timestamp indicates last task activity. Detached historical attempts are excluded.

Required scope: `agent_runs:read`. See [API key permissions](/api/api-key-scopes) and the [pipeline dashboard guide](/api/observability/overview).

## Request

```bash theme={null}
curl "https://api.mosaic.so/agent_run/44444444-4444-4444-8444-444444444444/tasks?limit=25" \
  -H "Authorization: Bearer mk_your_api_key" \
  -H "X-Workspace-Id: 66666666-6666-4666-8666-666666666666"
```

Workspace IDs and resource IDs above are examples. Use IDs returned by your own API calls.

## Parameters

| Parameter | Location | Meaning |
| - | - | - |
| `limit` | query | Page size from 1 to 100; default 25. Progress and notification configuration pages count tiles. |
| `cursor` | query | Opaque next\_cursor from the previous page. Pass verbatim and preserve the original filters. Do not decode or construct it. |
| `from` | query | Inclusive ISO 8601 lower bound on creation time. |
| `to` | query | Inclusive ISO 8601 upper bound on creation time. |
| `updated_from` | query | Inclusive ISO 8601 update watermark. Restart pagination on each poll and fetch every page before advancing it. |
| `workspace_id` | query | Optional workspace UUID within the key organization. Must match X-Workspace-Id when both are supplied. |
| `node_id` | query | Runtime tile UUID; not the template tile ID. |
| `run_id` | path | run id UUID. |
| `X-Workspace-Id` | header | Restrict requests to an authorized workspace UUID. Omit to query the organization. |

## Response example

```json theme={null}
{
  "run_id": "44444444-4444-4444-8444-444444444444",
  "tasks": [
    {
      "id": "99999999-9999-4999-8999-999999999999",
      "agent_node_id": "55555555-5555-4555-8555-555555555555",
      "status": "running",
      "progress": 40,
      "needs_credits": true,
      "error_message": null,
      "heartbeat_timestamp": "2026-10-15T12:01:00Z",
      "created_at": "2026-10-15T12:00:00Z",
      "updated_at": "2026-10-15T12:01:00Z"
    }
  ],
  "next_cursor": null
}
```

## Tasks values

| Field | Meaning |
| - | - |
| `id` | Task ID. |
| `agent_node_id` | Attached runtime tile ID; detached attempts are not included. |
| `status` | Persisted task status. |
| `progress` | Reported task progress in percent (0–100), or null when unreported. |
| `needs_credits` | Whether this task is waiting for credits. |
| `error_message` | Task error details. |
| `heartbeat_timestamp` | Last worker heartbeat, when available. |
| `created_at` | Task creation time. |
| `updated_at` | Task row update time. |

When `next_cursor` is non-null, request the next page with the same filters and that cursor. `limit` defaults to 25 and is capped at 100. Read the [polling and error-handling guidance](/api/observability/overview#poll-without-losing-updates) before building a dashboard.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.