---
title: "Run Platform Check"
method: POST
path: "/v2/checks/{check_key}/runs"
tags: ["checks"]
---

# Run Platform Check

`POST /v2/checks/{check_key}/runs`

Run one check against an authorized resource snapshot.

## Path parameters

- `check_key` string, required

## Request body

- CheckRunRequest — Request to execute one check against one resource.
  - `subject_type` 'environment' | 'taskset' | 'task' | 'trace', required — Platform resources supported by the check framework.
  - `subject_id` string, uuid, required
  - `overwrite` boolean

## Response `200`

Successful Response

- CheckRunResponse — One immutable check execution and its subject snapshot.
  - `id` string, uuid, required
  - `check_key` string, required
  - `definition_version` integer, required
  - `definition_snapshot` object, required
  - `definition_hash` string, required
  - `executor_type` 'deterministic' | 'scenario_agent', required — Execution mechanisms supported by a check definition.
  - `subject_type` 'environment' | 'taskset' | 'task' | 'trace', required — Platform resources supported by the check framework.
  - `subject_id` string, uuid, required
  - `subject_snapshot` object, required
  - `snapshot_hash` string, required
  - `status` 'running' | 'passed' | 'failed' | 'error', required — Lifecycle states for a platform check run.
  - `result` object
  - `summary` string, nullable, required
  - `error` string, nullable, required
  - `execution_trace_id` string, uuid, nullable, required
  - `attempt` integer, required
  - `created_at` string, date-time, required
  - `completed_at` string, date-time, nullable, required

## Other responses

- `400` — Invalid or malformed request
- `401` — Missing or invalid credentials
- `403` — Caller may not access this resource
- `404` — Referenced entity does not exist
- `409` — Resource already exists
- `422` — Validation Error

---

[API](https://skmtc.dev/hud/apis/hud-platform.md) · [All operations](https://skmtc.dev/hud/apis/hud-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hud/hud-platform/revisions/a01d5d765d1e/schema)
