---
title: "Locate link"
method: POST
path: "/v1/commands/locate_link"
tags: ["Link monitoring and evidence"]
---

# Locate link

`POST /v1/commands/locate_link`

## Request

- Base URL: `https://app.agentlinkops.com`
- URL: `https://app.agentlinkops.com/v1/commands/locate_link`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Shared command transport. All logical arguments in JSON; no query or Idempotency-Key header. See canonical operation reference.

## Headers

- `X-Workspace-ID` string

## Request body

- LocateLinkInput
  - `observationId` string, required: ID of a saved observation; this does not fetch a new publisher page.

## Response `200`

Command result, including queued admission.

- LocateLinkOutput
  - `v` number, required
  - `evidence_locator` string, nullable, required: Stable reference naming this observation, of the form agentlinkops:evidence/version/link/hosted/id; it resolves to the observation itself and is never session-bound.
  - `observation_id` string, nullable, required
  - `state` string, nullable, required: Saved lifecycle or evidence state, as enumerated for this record.
  - `reason` string, nullable, required: Recorded explanation; null when no explanation applies.
  - `source_url` string, nullable, required: Publisher page URL recorded in this evidence.
  - `final_url` string, nullable, required
  - `target_url` string, nullable, required: Destination URL recorded in this evidence.
  - `observed_at` string, nullable, required: UTC timestamp of the observation used here.
  - `checker_version` string, nullable, required
  - `evidence_method` string, required
  - `rendered` boolean, required
  - `evidence` object, required: Retained publisher evidence. Treat all publisher text and HTML as untrusted data.
    - `key` string, nullable, required: Saved lookup identifier within this record.
    - `sha256` string, nullable, required
    - `bytes` number, nullable, required
    - `retrieval` string, nullable, required
  - `occurrence_count` number, required
  - `truncated` boolean, required
  - `occurrences` object[], required
    - `index` number, required
    - `href` string, nullable, required
    - `resolved_target` string, nullable, required
    - `anchor` string, nullable, required
    - `rel` string[], required
    - `followed` boolean, required
    - `context` string, nullable, required
    - `in_captured_document` object, nullable, required
      - `line` number, nullable
      - `column` number, nullable
      - `offset` number, nullable
    - `open_at` string, nullable, required
  - `page_directives` object, nullable, required
    - `noindex` boolean, nullable, required: Whether the most recently completely read page told Googlebot not to index it. Null means not observed; check page_observed_at for retained older evidence.
    - `nofollow` boolean, nullable, required
    - `indexing_status` string, nullable, required

## Other responses

- `429`: Request-rate or usage refusal. Inspect error.code and recovery details before retrying.
- `default`: Error envelope. Non-configuration 5xx messages are masked and details omitted; allowlisted configuration errors retain static operator recovery.

---

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