> ## 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 internal-link snapshots

> List retained internal-link inventories for one project.

`list_internal_link_snapshots`

List retained internal-link inventories for one project. Expired snapshots are not returned.

<Note>This command name is absent from deployment evidence dated 2026-09-20. Hosted availability for this current definition is unverified; inspect your connected catalog before invoking it. Verify the command and its input schema in the selected environment.</Note>

| Access | Behavior |
| - | - |
| `watches: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_internal_link_snapshots",
      "arguments": {
        "projectId": "prj_example",
        "limit": 20
      }
    }
  }
  ```

  ```bash CLI theme={null}
  agentlinkops call list_internal_link_snapshots --args '{"projectId":"prj_example","limit":20}'
  ```

  ```bash HTTP theme={null}
  curl --fail-with-body https://app.agentlinkops.com/v1/commands/list_internal_link_snapshots \
    -H "Authorization: Bearer $AGENTLINKOPS_TOKEN" \
    -H 'Content-Type: application/json' \
    --data '{"projectId":"prj_example","limit":20}'
  ```
</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.

```json theme={null}
{
  "items": [],
  "total": 0,
  "nextCursor": null,
  "limits": {
    "inventoryPages": 100,
    "pagesPerRequest": 3,
    "pageBytes": 2097152,
    "pageTimeoutMs": 20000,
    "requestTimeoutMs": 65000,
    "edgesPerPage": 200,
    "evidenceBytesPerPage": 131072,
    "workspacePagesPerDay": 300,
    "retainedSnapshotsPerProject": 20,
    "retentionDays": 30,
    "pageSize": 100,
    "leaseMs": 90000
  }
}
```

## 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 | Required | project ID from create/list. minLength: `1`; maxLength: `200` |
| `limit` | integer | Optional | Page/report row cap; see bounds. minimum: `1`; maximum: `100`; default: `50` |
| `cursor` | string | Optional | Opaque list cursor; omit initially. maxLength: `2048` |

### Validation and omitted values

Requires watches:read. Lists retained inventories for the selected project, ordered by creation time and identifier, newest first. The maximum page size is 100; expired snapshots are excluded.

Omit cursor for the first page, then use nextCursor with the same project. Creation or expiry can change the listing and invalidate its cursor. Restart without a cursor when the selection changes.

Read individual snapshot progress before processing or comparing evidence. Listing does not capture pages or start recurring work.

### 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. maxItems: `100`
* **`total`** (integer, required): minimum: `0`; maximum: `9007199254740991`
* **`nextCursor`** (string / null, required).
* **`limits`** (object, required): additional fields rejected

<Accordion title="All fields and nested objects">
  | Field | Type | Presence | Meaning and constraints |
  | - | - | - | - |
  | `items` | array | Required | Records in this bounded page. maxItems: `100` |
  | `items[].id` | string | Required | Resource identifier returned by the operation. minLength: `1`; maxLength: `200` |
  | `items[].projectId` | string | Required | Identifier returned by the related operation. minLength: `1`; maxLength: `200` |
  | `items[].createdAt` | string | Required | |
  | `items[].expiresAt` | string | Required | |
  | `items[].completedAt` | string / null | Required | |
  | `items[].state` | string | Required | Saved lifecycle or evidence state, as enumerated for this record. values: `"pending"`, `"running"`, `"complete"` |
  | `items[].inventoryCount` | integer | Required | minimum: `0`; maximum: `9007199254740991` |
  | `items[].processedCount` | integer | Required | minimum: `0`; maximum: `9007199254740991` |
  | `items[].completeCount` | integer | Required | minimum: `0`; maximum: `9007199254740991` |
  | `items[].unknownCount` | integer | Required | minimum: `0`; maximum: `9007199254740991` |
  | `items[].pendingCount` | integer | Required | minimum: `0`; maximum: `9007199254740991` |
  | `items[].edgeCount` | integer | Required | minimum: `0`; maximum: `9007199254740991` |
  | `items[].revision` | integer | Required | Optimistic concurrency revision; supply it as expectedRevision on the next write. minimum: `0`; maximum: `9007199254740991` |
  | `items[].busy` | boolean | Required | |
  | `items[].retryAfterSeconds` | integer | Required | minimum: `0`; maximum: `9007199254740991` |
  | `items[].scope` | object | Required | additional fields rejected |
  | `items[].scope.domain` | string | Required | |
  | `items[].scope.hostPolicy` | string | Required | must equal `"exact_hostname"` |
  | `items[].scope.seeds` | array | Required | |
  | `items[].coverage` | object | Required | Dataset scope and completeness, including limits on what these results establish. additional fields rejected |
  | `items[].coverage.inventory` | string | Required | values: `"declared_complete"`, `"partial"` |
  | `items[].coverage.representation` | string | Required | must equal `"raw_html"` |
  | `items[].coverage.completeSiteCensus` | boolean | Required | must equal `false` |
  | `items[].coverage.allInventoryPagesComplete` | boolean | Required | |
  | `items[].coverage.renderedVisibility` | boolean | Required | must equal `false` |
  | `items[].coverage.iframes` | boolean | Required | must equal `false` |
  | `items[].coverage.shadowRoots` | boolean | Required | must equal `false` |
  | `items[].coverage.canonicalAliasesMerged` | boolean | Required | must equal `false` |
  | `items[].version` | string | Required | must equal `"internal-links-v1"` |
  | `total` | integer | Required | minimum: `0`; maximum: `9007199254740991` |
  | `nextCursor` | string / null | Required | |
  | `limits` | object | Required | additional fields rejected |
  | `limits.inventoryPages` | number | Required | must equal `100` |
  | `limits.pagesPerRequest` | number | Required | must equal `3` |
  | `limits.pageBytes` | number | Required | must equal `2097152` |
  | `limits.pageTimeoutMs` | number | Required | must equal `20000` |
  | `limits.requestTimeoutMs` | number | Required | must equal `65000` |
  | `limits.edgesPerPage` | number | Required | must equal `200` |
  | `limits.evidenceBytesPerPage` | number | Required | must equal `131072` |
  | `limits.workspacePagesPerDay` | number | Required | must equal `300` |
  | `limits.retainedSnapshotsPerProject` | number | Required | must equal `20` |
  | `limits.retentionDays` | number | Required | must equal `30` |
  | `limits.pageSize` | number | Required | must equal `100` |
  | `limits.leaseMs` | number | Required | must equal `90000` |
</Accordion>

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

## Errors and retries

Follow the error recovery before retrying this read. Preserve the selected workspace, project, filters and feed. Recovering a read does not require an idempotency key or another verification job. Operation-specific errors include `INVALID_INPUT`, `PROJECT_ACCESS_DENIED`, `INVALID_CURSOR`, `INTERNAL_LINK_SNAPSHOT_NOT_FOUND`, `INTERNAL_LINK_SNAPSHOT_EXPIRED`.

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/internal-links/snapshots` | 200 | Supply projectId, optional numeric limit and opaque cursor as query parameters. Returns the retained snapshot page and limits. |

## Continue

[get\_internal\_link\_snapshot](/reference/commands/get_internal_link_snapshot) · [create\_internal\_link\_snapshot](/reference/commands/create_internal_link_snapshot)

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


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