> ## 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 link lifecycle

> Read supplied cost, acquisition, expiry and opaque contact metadata for one monitored placement.

`get_link_lifecycle`

Read supplied cost, acquisition, expiry and opaque contact metadata for one monitored placement.

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

  ```bash CLI theme={null}
  agentlinkops call get_link_lifecycle --args '{"projectId":"project_example","watchId":"watch_example"}'
  ```

  ```bash HTTP theme={null}
  curl "$AGENTLINKOPS_API_URL/v1/commands/get_link_lifecycle" \
    -H "Authorization: Bearer $AGENTLINKOPS_API_KEY" \
    -H 'Content-Type: application/json' \
    --data '{"projectId":"project_example","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}
{
  "watchId": "watch_example",
  "projectId": "project_example",
  "revision": 0,
  "deal": {
    "costMinor": null,
    "currency": null,
    "acquiredOn": null,
    "expiresOn": null,
    "renewalWindowDays": null,
    "contactRef": null,
    "contactLabel": null,
    "dealNote": null
  },
  "createdAt": null,
  "updatedAt": null
}
```

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

### Validation and omitted values

Costs are integer currency minor units; set or clear costMinor and currency together. Omitted fields remain unchanged; explicit null clears a field.

Writes require the observed revision. Reports keep currencies separate and disclose missing dates; renewal notices use retained status and do not send messages.

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

| Field                    | Type           | Presence | Meaning and constraints                                                                                                 |
| ------------------------ | -------------- | -------- | ----------------------------------------------------------------------------------------------------------------------- |
| `watchId`                | string         | Required | Identifier returned by the related operation. minLength: 1; maxLength: 200                                              |
| `projectId`              | string         | Required | Identifier returned by the related operation. minLength: 1; maxLength: 200                                              |
| `revision`               | integer        | Required | Optimistic concurrency revision; supply it as expectedRevision on the next write. minimum: 0; maximum: 9007199254740991 |
| `deal`                   | object         | Required | additional fields rejected                                                                                              |
| `deal.costMinor`         | integer / null | Required |                                                                                                                         |
| `deal.currency`          | string / null  | Required |                                                                                                                         |
| `deal.acquiredOn`        | string / null  | Required |                                                                                                                         |
| `deal.expiresOn`         | string / null  | Required |                                                                                                                         |
| `deal.renewalWindowDays` | integer / null | Required |                                                                                                                         |
| `deal.contactRef`        | string / null  | Required |                                                                                                                         |
| `deal.contactLabel`      | string / null  | Required |                                                                                                                         |
| `deal.dealNote`          | string / null  | Required |                                                                                                                         |
| `createdAt`              | string / null  | Required |                                                                                                                         |
| `updatedAt`              | string / null  | Required |                                                                                                                         |

[Download input schema](/schemas/get_link_lifecycle.input.json) · [Download output schema](/schemas/get_link_lifecycle.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

This operation has no separate resource alias. Use its generic command route in a matching environment.

## Continue

[get\_lifecycle\_report](/reference/commands/get_lifecycle_report)

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