> ## 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.

# Get public contacts

> Extract explicitly published emails and contact-page candidates from the latest saved public HTML.

`get_public_contacts`

Extract explicitly published emails and contact-page candidates from the latest saved public HTML. Returns dated evidence; does not infer emails, verify deliverability or send outreach.

<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         |
| -------------- | ---------------- |
| `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": "get_public_contacts",
      "arguments": {
        "watchId": "watch_example"
      }
    }
  }
  ```

  ```bash CLI theme={null}
  agentlinkops call get_public_contacts --args '{"watchId":"watch_example"}'
  ```

  ```bash HTTP theme={null}
  curl "$AGENTLINKOPS_API_URL/v1/commands/get_public_contacts" \
    -H "Authorization: Bearer $AGENTLINKOPS_API_KEY" \
    -H 'Content-Type: application/json' \
    --data '{"watchId":"watch_example"}'
  ```
</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}
{
  "watch_id": "watch_example",
  "observation_id": "obs_example",
  "contacts": [],
  "contact_pages": [],
  "coverage": {
    "method": "saved_public_html",
    "pages_analyzed": 1,
    "truncated": false,
    "unsafe_base_ignored": false,
    "rendered_visibility": "not_checked",
    "email_deliverability": "not_checked",
    "inferred_addresses": false
  }
}
```

## 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                                                                        |
| --------- | ------ | -------- | ---------------------------------------------------------------------------------------------- |
| `watchId` | string | Required | Identifier of the watch returned by its create or list operation. minLength: 1; maxLength: 200 |

### Validation and omitted values

Requires a completed watch check and retained public HTML. Addresses must be explicitly published; extraction does not test deliverability or send a message.

## 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.

* **`watch_id`** (string, required): Identifier returned by the related operation.
* **`observation_id`** (string, required): Identifier returned by the related operation.
* **`contacts`** (array, required).
* **`contact_pages`** (array, required).
* **`coverage`** (object, required): Dataset scope and completeness, including limits on what these results establish.

<Accordion title="All fields and nested objects">
  | Field                           | Type          | Presence | Meaning and constraints                                                           |
  | ------------------------------- | ------------- | -------- | --------------------------------------------------------------------------------- |
  | `watch_id`                      | string        | Required | Identifier returned by the related operation.                                     |
  | `observation_id`                | string        | Required | Identifier returned by the related operation.                                     |
  | `contacts`                      | array         | Required |                                                                                   |
  | `contacts[].email`              | string        | Required |                                                                                   |
  | `contacts[].evidence_type`      | string        | Required |                                                                                   |
  | `contacts[].source_url`         | string        | Required | Publisher page URL recorded in this evidence.                                     |
  | `contacts[].observed_at`        | string        | Required | UTC timestamp of the observation used here.                                       |
  | `contacts[].context`            | string        | Required |                                                                                   |
  | `contacts[].line`               | number / null | Required |                                                                                   |
  | `contacts[].deliverability`     | string        | Required | must equal "not\_checked"                                                         |
  | `contacts[].visibility`         | string        | Required | must equal "static\_html\_unverified"                                             |
  | `contact_pages`                 | array         | Required |                                                                                   |
  | `contact_pages[].url`           | string        | Required |                                                                                   |
  | `contact_pages[].source_url`    | string        | Required | Publisher page URL recorded in this evidence.                                     |
  | `contact_pages[].observed_at`   | string        | Required | UTC timestamp of the observation used here.                                       |
  | `contact_pages[].verification`  | string        | Required | must equal "linked\_page\_not\_fetched"                                           |
  | `coverage`                      | object        | Required | Dataset scope and completeness, including limits on what these results establish. |
  | `coverage.method`               | string        | Required | must equal "saved\_public\_html"                                                  |
  | `coverage.pages_analyzed`       | number        | Required |                                                                                   |
  | `coverage.truncated`            | boolean       | Required |                                                                                   |
  | `coverage.unsafe_base_ignored`  | boolean       | Required |                                                                                   |
  | `coverage.rendered_visibility`  | string        | Required | must equal "not\_checked"                                                         |
  | `coverage.email_deliverability` | string        | Required | must equal "not\_checked"                                                         |
  | `coverage.inferred_addresses`   | boolean       | Required | must equal false                                                                  |
</Accordion>

[Download input schema](/schemas/get_public_contacts.input.json) · [Download output schema](/schemas/get_public_contacts.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/watches/{watchId}/contacts` | 200     | Remaining read arguments go in query parameters. |

## Continue

[get\_history](/reference/commands/get_history)

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