---
title: "Request a check"
method: POST
path: "/v1/commands/request_check"
tags: ["Link monitoring and evidence"]
---

# Request a check

`POST /v1/commands/request_check`

## Request

- Base URL: `https://app.agentlinkops.com`
- URL: `https://app.agentlinkops.com/v1/commands/request_check`
- 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

- RequestCheckInput
  - `subject` 'link' | 'target', required: link for a monitored placement (source page → destination), target for a monitored destination URL.
  - `subjectId` string, required: The watch id when subject is link, the target id when subject is target.
  - `idempotencyKey` string, required: Caller-generated key reused only for retries of the same operation and arguments in this workspace.

## Response `200`

Command result, including queued admission.

- RequestCheckOutput
  - `id` string, required: Resource identifier returned by the operation.
  - `state` 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled', required: Saved lifecycle or evidence state, as enumerated for this record.
  - `workspace_id` string, required: Workspace that owns this record.
  - `project_id` string, required: Project that owns this record.
  - `watch_id` string
  - `target_id` string
  - `type` string
  - `execution_mode` string
  - `idempotency_key` string, required: Caller retry identifier, bound to the original request arguments.
  - `payload_hash` string, required
  - `attempt_count` number, required
  - `max_attempts` number, required
  - `lease_token` string, nullable, required
  - `lease_expires_at` string, nullable, required
  - `error_code` string, nullable, required: Latest delivery detail code; null when no failure or retry has been recorded.
  - `error_message` string, nullable
  - `created_at` string, required: UTC timestamp when the record was created.
  - `updated_at` string, required: UTC timestamp of the last record update.
  - `completed_at` string, nullable, required
  - `replayed` boolean: True when the response reuses an earlier request with the same idempotency value.
  - `usage` object, nullable
    - `units` number, required
    - `state` string, required: Saved lifecycle or evidence state, as enumerated for this record.
    - `period` string, 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)
