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

# List discovery runs

> Browse stored discovery runs newest first with optional project filtering and bounded cursor pagination.

`list_discovery_runs`

Browse stored discovery runs newest first with optional project filtering and bounded cursor pagination. No provider calls, spending or enrollment.

<Note>Available in the deployed MCP and HTTP bundle. Confirm access and inputs with your connected catalog. Workspace scopes and enabled providers still apply.</Note>

| Access           | Behavior         |
| ---------------- | ---------------- |
| `discovery:read` | Reads saved data |

This read does not start a verification job.

## Example request

Connect through [MCP](/guides/connect-mcp), [CLI](/guides/connect-cli), or [HTTP](/guides/connect-http). Replace example identifiers with records from your workspace.

<CodeGroup>
  ```json MCP theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "list_discovery_runs",
      "arguments": {}
    }
  }
  ```

  ```bash CLI theme={null}
  agentlinkops call list_discovery_runs --args '{}'
  ```

  ```bash HTTP theme={null}
  curl "$AGENTLINKOPS_API_URL/v1/commands/list_discovery_runs" \
    -H "Authorization: Bearer $AGENTLINKOPS_API_KEY" \
    -H 'Content-Type: application/json' \
    --data '{}'
  ```
</CodeGroup>

## Returned result

Illustrative data validated against the documented response schema. IDs and dates are examples, not a live account capture. MCP returns this data in `structuredContent` and in a text content block; generic HTTP and CLI return the JSON result directly.

<Accordion title="Full response example">
  ```json theme={null}
  {
    "items": [
      {
        "v": 1,
        "id": "dr_example",
        "workspace_id": "ws_example",
        "project_id": "pr_example",
        "provider": "linktrail_corpus",
        "data_mode": "owned_corpus",
        "query": {
          "target_kind": "domain",
          "target": "example.com",
          "include_subdomains": true,
          "backlinks_status_type": "live",
          "exclude_internal_backlinks": true,
          "mode": "as_is",
          "filters": null,
          "order_by": [
            "first_seen,desc"
          ],
          "rank_scale": null,
          "page_limit": 100,
          "row_limit": 100
        },
        "status": "queued",
        "created_at": "2026-09-13T12:00:00.000Z",
        "started_at": null,
        "finished_at": null,
        "coverage": "pending",
        "coverage_reason": null,
        "provider_total_count": null,
        "usage": {
          "unit": "discovery",
          "currency": "USD",
          "quote_id": "owned_example",
          "max_cost_microusd": 0,
          "reserved_cost_microusd": 0,
          "provider_reported_cost_microusd": null,
          "request_count": 0,
          "returned_rows": 0,
          "accepted_candidates": 0,
          "rejected_rows": 0,
          "duplicate_rows": 0
        },
        "operation": "backlinks",
        "coverage_scope": "corpus_subset",
        "whole_web_coverage": false
      }
    ],
    "next_cursor": null,
    "has_more": false
  }
  ```
</Accordion>

## Input fields

Omit optional fields when you do not want to supply them. Null is accepted only where listed. Unknown input properties are rejected.

| Field       | Type    | Presence | Meaning and constraints                                                                                           |
| ----------- | ------- | -------- | ----------------------------------------------------------------------------------------------------------------- |
| `projectId` | string  | Optional | Identifier of the project returned by its create or list operation. pattern: "^\[a-zA-Z0-9\_-]\{1,128}\$"         |
| `cursor`    | string  | Optional | Opaque continuation returned by this same listing; omit for the first page. minLength: 1; maxLength: 1024         |
| `limit`     | integer | Optional | Maximum rows in this page or bounded report; subject to the schema maximum. minimum: 1; maximum: 100; default: 50 |

### Validation and omitted values

Omit cursor for the first page. Keep continuation cursors opaque and use them only with the same listing and filters.

Omitting projectId reads the accessible workspace scope rather than selecting a different project.

Runs are ordered newest first by creation time and identifier. A cursor is bound to the project filter and current project grant.

### Defaults when omitted

| Field   | Default |
| ------- | ------- |
| `limit` | `50`    |

## Output fields

Fields inside optional or nullable parents apply only when that parent exists. [Common schema conventions](/reference/schemas) explain evidence states, empty lists and extensions.

* **`items`** (array, required): Records in this bounded page.
* **`next_cursor`** (string / null, required): Opaque continuation for the same listing; null means no further page.
* **`has_more`** (boolean, optional): True when another page is available.

<Accordion title="All fields and nested objects">
  | Field                                           | Type           | Presence | Meaning and constraints                                                                                                                                                                                                                                                                                                                                                             |
  | ----------------------------------------------- | -------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `items`                                         | array          | Required | Records in this bounded page.                                                                                                                                                                                                                                                                                                                                                       |
  | `items[].v`                                     | number         | Required | must equal 1                                                                                                                                                                                                                                                                                                                                                                        |
  | `items[].id`                                    | string         | Required | Resource identifier returned by the operation. minLength: 1; maxLength: 128; pattern: "^\[a-zA-Z0-9\_-]+\$"                                                                                                                                                                                                                                                                         |
  | `items[].workspace_id`                          | string         | Required | Workspace that owns this record. minLength: 1; maxLength: 128; pattern: "^\[a-zA-Z0-9\_-]+\$"                                                                                                                                                                                                                                                                                       |
  | `items[].project_id`                            | string         | Required | Project that owns this record. minLength: 1; maxLength: 128; pattern: "^\[a-zA-Z0-9\_-]+\$"                                                                                                                                                                                                                                                                                         |
  | `items[].provider`                              | string         | Required | values: "linktrail\_corpus", "dataforseo", "imported"                                                                                                                                                                                                                                                                                                                               |
  | `items[].data_mode`                             | string         | Required | values: "synthetic", "owned\_corpus", "provider\_index", "imported"                                                                                                                                                                                                                                                                                                                 |
  | `items[].query`                                 | object         | Required | additional fields rejected                                                                                                                                                                                                                                                                                                                                                          |
  | `items[].query.target_kind`                     | string         | Required | values: "domain", "exact\_url"                                                                                                                                                                                                                                                                                                                                                      |
  | `items[].query.target`                          | string         | Required | minLength: 1; maxLength: 4096                                                                                                                                                                                                                                                                                                                                                       |
  | `items[].query.include_subdomains`              | boolean        | Required |                                                                                                                                                                                                                                                                                                                                                                                     |
  | `items[].query.backlinks_status_type`           | string         | Required | values: "live", "lost", "all"                                                                                                                                                                                                                                                                                                                                                       |
  | `items[].query.exclude_internal_backlinks`      | boolean        | Required |                                                                                                                                                                                                                                                                                                                                                                                     |
  | `items[].query.mode`                            | string         | Required | must equal "as\_is"                                                                                                                                                                                                                                                                                                                                                                 |
  | `items[].query.filters`                         | null           | Required |                                                                                                                                                                                                                                                                                                                                                                                     |
  | `items[].query.order_by`                        | array          | Required | minItems: 1; maxItems: 1                                                                                                                                                                                                                                                                                                                                                            |
  | `items[].query.rank_scale`                      | string / null  | Required |                                                                                                                                                                                                                                                                                                                                                                                     |
  | `items[].query.page_limit`                      | integer        | Required | minimum: 1; maximum: 1000                                                                                                                                                                                                                                                                                                                                                           |
  | `items[].query.row_limit`                       | integer        | Required | minimum: 1; maximum: 1000                                                                                                                                                                                                                                                                                                                                                           |
  | `items[].status`                                | string         | Required | Resource lifecycle status. values: "queued", "running", "succeeded", "partial", "failed", "reconciliation\_required"                                                                                                                                                                                                                                                                |
  | `items[].created_at`                            | string         | Required | UTC timestamp when the record was created. format: "date-time"; pattern: "^(?:(?:\d\d\[2468]\[048]\|\d\d\[13579]\[26]\|\d\d0\[48]\|\[02468]\[048]00\|\[13579]\[26]00)-02-29\|\d\{4}-(?:(?:0\[13578]\|1\[02])-(?:0\[1-9]\|\[12]\d\|3\[01])\|(?:0\[469]\|11)-(?:0\[1-9]\|\[12]\d\|30)\|(?:02)-(?:0\[1-9]\|1\d\|2\[0-8])))T(?:(?:\[01]\d\|2\[0-3]):\[0-5]\d:\[0-5]\d\\.\d\{3}(?:Z))\$" |
  | `items[].started_at`                            | string / null  | Required |                                                                                                                                                                                                                                                                                                                                                                                     |
  | `items[].finished_at`                           | string / null  | Required |                                                                                                                                                                                                                                                                                                                                                                                     |
  | `items[].coverage`                              | string         | Required | Dataset scope and completeness, including limits on what these results establish. values: "pending", "complete\_for\_query", "capped", "partial", "unknown"                                                                                                                                                                                                                         |
  | `items[].coverage_reason`                       | string / null  | Required |                                                                                                                                                                                                                                                                                                                                                                                     |
  | `items[].provider_total_count`                  | integer / null | Required |                                                                                                                                                                                                                                                                                                                                                                                     |
  | `items[].usage`                                 | object         | Required | additional fields rejected                                                                                                                                                                                                                                                                                                                                                          |
  | `items[].usage.unit`                            | string         | Required | must equal "discovery"                                                                                                                                                                                                                                                                                                                                                              |
  | `items[].usage.currency`                        | string         | Required | must equal "USD"                                                                                                                                                                                                                                                                                                                                                                    |
  | `items[].usage.quote_id`                        | string         | Required | Identifier returned by the related operation. minLength: 1; maxLength: 128; pattern: "^\[a-zA-Z0-9\_-]+\$"                                                                                                                                                                                                                                                                          |
  | `items[].usage.max_cost_microusd`               | integer        | Required | minimum: 0; maximum: 9007199254740991                                                                                                                                                                                                                                                                                                                                               |
  | `items[].usage.reserved_cost_microusd`          | integer        | Required | minimum: 0; maximum: 9007199254740991                                                                                                                                                                                                                                                                                                                                               |
  | `items[].usage.provider_reported_cost_microusd` | integer / null | Required |                                                                                                                                                                                                                                                                                                                                                                                     |
  | `items[].usage.request_count`                   | integer        | Required | minimum: 0; maximum: 9007199254740991                                                                                                                                                                                                                                                                                                                                               |
  | `items[].usage.returned_rows`                   | integer        | Required | minimum: 0; maximum: 9007199254740991                                                                                                                                                                                                                                                                                                                                               |
  | `items[].usage.accepted_candidates`             | integer        | Required | minimum: 0; maximum: 9007199254740991                                                                                                                                                                                                                                                                                                                                               |
  | `items[].usage.rejected_rows`                   | integer        | Required | minimum: 0; maximum: 9007199254740991                                                                                                                                                                                                                                                                                                                                               |
  | `items[].usage.duplicate_rows`                  | integer        | Required | minimum: 0; maximum: 9007199254740991                                                                                                                                                                                                                                                                                                                                               |
  | `items[].operation`                             | string         | Required | must equal "backlinks"                                                                                                                                                                                                                                                                                                                                                              |
  | `items[].coverage_scope`                        | string         | Required | values: "customer\_import", "corpus\_subset", "provider\_query"                                                                                                                                                                                                                                                                                                                     |
  | `items[].whole_web_coverage`                    | boolean        | Required | False: these results do not measure the whole web. must equal false                                                                                                                                                                                                                                                                                                                 |
  | `items[].replayed`                              | boolean        | Optional | True when the response reuses an earlier request with the same idempotency value.                                                                                                                                                                                                                                                                                                   |
  | `next_cursor`                                   | string / null  | Required | Opaque continuation for the same listing; null means no further page.                                                                                                                                                                                                                                                                                                               |
  | `has_more`                                      | boolean        | Optional | True when another page is available.                                                                                                                                                                                                                                                                                                                                                |
</Accordion>

[Download input schema](/schemas/list_discovery_runs.input.json) · [Download output schema](/schemas/list_discovery_runs.output.json)

## Errors and retries

The command is annotated idempotent. Reuse an accepted idempotency key when the input provides one; changing the payload under a reused key can conflict.

See [error recovery](/reference/errors) for status, scope, cooldown, cursor and retry handling. Unknown observations are result data and do not establish loss.

## HTTP resource routes

These existing resource routes share the operation’s domain behavior. Their parameter placement, status and response envelope can differ from generic invocation. See [HTTP route details](/reference/http/routes).

| Method and route         | Success | Details                                          |
| ------------------------ | ------- | ------------------------------------------------ |
| `GET /v1/discovery/runs` | 200     | Remaining read arguments go in query parameters. |

## Continue

[get\_discovery\_run](/reference/commands/get_discovery_run) · [list\_discovery\_candidates](/reference/commands/list_discovery_candidates)

Follow the [related workflow](/guides/import-and-verify), inspect [capability status](/capability-status), or return to the [command index](/reference/index).
