---
title: "List Agent Runs"
method: GET
path: "/v2/agents/{agent_id}/runs"
tags: ["Public API"]
---

# List Agent Runs

`GET /v2/agents/{agent_id}/runs`

List the runs of an agent, newest first, paginated with `offset`/`limit`.

## Path parameters

- `agent_id` string, uuid, required

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

Successful Response

- ListResponseTaskRunResponsePublicV2
  - `items` TaskRunResponsePublicV2[], required — Items returned in this page.
    - `completed_at` string, date-time, nullable — When the run completed.
    - `created_at` string, date-time, required — When the run was created.
    - `effort` 'low' | 'medium' | 'high' | 'x-high' | 'max', required — Canonical effort tier names for the research graph.
    - `error` TaskRunErrorPublicV2
      - `message` string, required — Human-readable error description.
      - `ref_id` string, required — Reference ID (equals the run id).
    - `id` string, required — Run identifier, format "task_run_{uuid}".
    - `interaction_id` string, required — Interaction ID.
    - `is_active` boolean, required — True while status is 'queued' or 'running'.
    - `prompt` string, nullable — Prompt submitted for the run.
    - `started_at` string, date-time, nullable — When the run started executing.
    - `status` 'queued' | 'running' | 'completed' | 'failed' | 'cancelled', required — Lowercase status values used in API responses (distinct from the DB-level TaskRunStatus enum).
    - `web_search_agent_id` string, required — Web Search Agent instance this run belongs to.
  - `limit` integer, required — Maximum number of items returned.
  - `offset` integer, required — Number of items skipped before this page.
  - `total` integer, required — Total number of items matching the query.

## Other responses

- `404` — Agent not found (or not owned by your account).
- `422` — Validation Error

---

[API](https://skmtc.net/nimbleway/apis/nimble-sdk.md) · [All operations](https://skmtc.net/nimbleway/apis/nimble-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nimbleway/nimble-sdk/versions/725be79e7005/schema)
