> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.tradeguardins.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.tradeguardins.com/_mcp/server.

# Get a compliance run

GET https://api.tradeguardins.com/v1/compliance/runs/{runId}

Returns the run with its profile's id and name and every check-log entry
it wrote (oldest first), each with its compliance record and that
record's requirement (id, title, category, policy type). Runs of other
organizations return `404`. Requires scope `compliance:read`.


Reference: https://docs.tradeguardins.com/api-reference/compliance/get-compliance-run

## Authentication

- `Authorization` header (bearer token, required) — Session JWT or API key (`ak_...`)

## Request

### Path parameters

- `runId` (string, required)

## Response

### 200

Compliance run details

- `data` (V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaData, optional)

## Errors

### 400 Bad Request Error

Malformed request (`bad_request`, `invalid_identifier`)

- `error` (string, required) — Human-readable message. Wording may change; do not parse it.
- `code` (enum, required) — Stable, machine-readable error code. Status-level codes: `bad_request` (400), `unauthenticated` (401), `forbidden` (403), `not_found` (404), `method_not_allowed` (405, with an `Allow` header), `conflict` (409), `gone` (410), `payload_too_large` (413), `unprocessable` (422), `rate_limited` (429), `internal_error` (500), `bad_gateway` (502), `service_unavailable` (503). Specific codes: `validation_failed` and `invalid_identifier` (400); `reextraction_limit_reached` and `llm_budget_exhausted` (429, document re-extraction only); `sandbox_unavailable` (503, a sandbox key used where the sandbox is not provisioned); `assignment_exists` (409, a live assignment for this subcontractor and project already exists — its id is in `details`), `project_not_ready` (409, the project's setup is not Ready), `project_document` (409, a baseline-only action on a project certificate) and `subcontractor_match` (409, a new subcontractor's email or phone matches one already on TradeGuard — its id is in `details`); `portal_link_expired` and `portal_link_used` (410, sub portal links only).
  - Allowed values: `bad_request`, `unauthenticated`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `gone`, `payload_too_large`, `unprocessable`, `rate_limited`, `internal_error`, `bad_gateway`, `service_unavailable`, `validation_failed`, `invalid_identifier`, `reextraction_limit_reached`, `llm_budget_exhausted`, `sandbox_unavailable`, `assignment_exists`, `project_not_ready`, `project_document`, `subcontractor_match`, `portal_link_expired`, `portal_link_used`
- `requestId` (string, optional) — Same value as the `x-request-id` response header.
- `details` (list of ErrorDetailsItems, optional) — Present when `code` is `validation_failed`.

### 401 Unauthorized Error

Missing, malformed, expired or revoked credential (`unauthenticated`)

- `error` (string, required) — Human-readable message. Wording may change; do not parse it.
- `code` (enum, required) — Stable, machine-readable error code. Status-level codes: `bad_request` (400), `unauthenticated` (401), `forbidden` (403), `not_found` (404), `method_not_allowed` (405, with an `Allow` header), `conflict` (409), `gone` (410), `payload_too_large` (413), `unprocessable` (422), `rate_limited` (429), `internal_error` (500), `bad_gateway` (502), `service_unavailable` (503). Specific codes: `validation_failed` and `invalid_identifier` (400); `reextraction_limit_reached` and `llm_budget_exhausted` (429, document re-extraction only); `sandbox_unavailable` (503, a sandbox key used where the sandbox is not provisioned); `assignment_exists` (409, a live assignment for this subcontractor and project already exists — its id is in `details`), `project_not_ready` (409, the project's setup is not Ready), `project_document` (409, a baseline-only action on a project certificate) and `subcontractor_match` (409, a new subcontractor's email or phone matches one already on TradeGuard — its id is in `details`); `portal_link_expired` and `portal_link_used` (410, sub portal links only).
  - Allowed values: `bad_request`, `unauthenticated`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `gone`, `payload_too_large`, `unprocessable`, `rate_limited`, `internal_error`, `bad_gateway`, `service_unavailable`, `validation_failed`, `invalid_identifier`, `reextraction_limit_reached`, `llm_budget_exhausted`, `sandbox_unavailable`, `assignment_exists`, `project_not_ready`, `project_document`, `subcontractor_match`, `portal_link_expired`, `portal_link_used`
- `requestId` (string, optional) — Same value as the `x-request-id` response header.
- `details` (list of ErrorDetailsItems, optional) — Present when `code` is `validation_failed`.

### 403 Forbidden Error

The credential lacks the scope or role for this action (`forbidden`)

- `error` (string, required) — Human-readable message. Wording may change; do not parse it.
- `code` (enum, required) — Stable, machine-readable error code. Status-level codes: `bad_request` (400), `unauthenticated` (401), `forbidden` (403), `not_found` (404), `method_not_allowed` (405, with an `Allow` header), `conflict` (409), `gone` (410), `payload_too_large` (413), `unprocessable` (422), `rate_limited` (429), `internal_error` (500), `bad_gateway` (502), `service_unavailable` (503). Specific codes: `validation_failed` and `invalid_identifier` (400); `reextraction_limit_reached` and `llm_budget_exhausted` (429, document re-extraction only); `sandbox_unavailable` (503, a sandbox key used where the sandbox is not provisioned); `assignment_exists` (409, a live assignment for this subcontractor and project already exists — its id is in `details`), `project_not_ready` (409, the project's setup is not Ready), `project_document` (409, a baseline-only action on a project certificate) and `subcontractor_match` (409, a new subcontractor's email or phone matches one already on TradeGuard — its id is in `details`); `portal_link_expired` and `portal_link_used` (410, sub portal links only).
  - Allowed values: `bad_request`, `unauthenticated`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `gone`, `payload_too_large`, `unprocessable`, `rate_limited`, `internal_error`, `bad_gateway`, `service_unavailable`, `validation_failed`, `invalid_identifier`, `reextraction_limit_reached`, `llm_budget_exhausted`, `sandbox_unavailable`, `assignment_exists`, `project_not_ready`, `project_document`, `subcontractor_match`, `portal_link_expired`, `portal_link_used`
- `requestId` (string, optional) — Same value as the `x-request-id` response header.
- `details` (list of ErrorDetailsItems, optional) — Present when `code` is `validation_failed`.

### 404 Not Found Error

Resource not found, or not visible to the caller's organization (`not_found`)

- `error` (string, required) — Human-readable message. Wording may change; do not parse it.
- `code` (enum, required) — Stable, machine-readable error code. Status-level codes: `bad_request` (400), `unauthenticated` (401), `forbidden` (403), `not_found` (404), `method_not_allowed` (405, with an `Allow` header), `conflict` (409), `gone` (410), `payload_too_large` (413), `unprocessable` (422), `rate_limited` (429), `internal_error` (500), `bad_gateway` (502), `service_unavailable` (503). Specific codes: `validation_failed` and `invalid_identifier` (400); `reextraction_limit_reached` and `llm_budget_exhausted` (429, document re-extraction only); `sandbox_unavailable` (503, a sandbox key used where the sandbox is not provisioned); `assignment_exists` (409, a live assignment for this subcontractor and project already exists — its id is in `details`), `project_not_ready` (409, the project's setup is not Ready), `project_document` (409, a baseline-only action on a project certificate) and `subcontractor_match` (409, a new subcontractor's email or phone matches one already on TradeGuard — its id is in `details`); `portal_link_expired` and `portal_link_used` (410, sub portal links only).
  - Allowed values: `bad_request`, `unauthenticated`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `gone`, `payload_too_large`, `unprocessable`, `rate_limited`, `internal_error`, `bad_gateway`, `service_unavailable`, `validation_failed`, `invalid_identifier`, `reextraction_limit_reached`, `llm_budget_exhausted`, `sandbox_unavailable`, `assignment_exists`, `project_not_ready`, `project_document`, `subcontractor_match`, `portal_link_expired`, `portal_link_used`
- `requestId` (string, optional) — Same value as the `x-request-id` response header.
- `details` (list of ErrorDetailsItems, optional) — Present when `code` is `validation_failed`.

### 429 Too Many Requests Error

Rate limit exceeded (`rate_limited`); retry after `Retry-After` seconds

- `error` (string, required) — Human-readable message. Wording may change; do not parse it.
- `code` (enum, required) — Stable, machine-readable error code. Status-level codes: `bad_request` (400), `unauthenticated` (401), `forbidden` (403), `not_found` (404), `method_not_allowed` (405, with an `Allow` header), `conflict` (409), `gone` (410), `payload_too_large` (413), `unprocessable` (422), `rate_limited` (429), `internal_error` (500), `bad_gateway` (502), `service_unavailable` (503). Specific codes: `validation_failed` and `invalid_identifier` (400); `reextraction_limit_reached` and `llm_budget_exhausted` (429, document re-extraction only); `sandbox_unavailable` (503, a sandbox key used where the sandbox is not provisioned); `assignment_exists` (409, a live assignment for this subcontractor and project already exists — its id is in `details`), `project_not_ready` (409, the project's setup is not Ready), `project_document` (409, a baseline-only action on a project certificate) and `subcontractor_match` (409, a new subcontractor's email or phone matches one already on TradeGuard — its id is in `details`); `portal_link_expired` and `portal_link_used` (410, sub portal links only).
  - Allowed values: `bad_request`, `unauthenticated`, `forbidden`, `not_found`, `method_not_allowed`, `conflict`, `gone`, `payload_too_large`, `unprocessable`, `rate_limited`, `internal_error`, `bad_gateway`, `service_unavailable`, `validation_failed`, `invalid_identifier`, `reextraction_limit_reached`, `llm_budget_exhausted`, `sandbox_unavailable`, `assignment_exists`, `project_not_ready`, `project_document`, `subcontractor_match`, `portal_link_expired`, `portal_link_used`
- `requestId` (string, optional) — Same value as the `x-request-id` response header.
- `details` (list of ErrorDetailsItems, optional) — Present when `code` is `validation_failed`.

## Types

### V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaData

- `id` (string, optional)
- `subcontractorId` (string, optional)
- `complianceProfileId` (string, optional)
- `organizationId` (string, optional)
- `projectId` (string, optional, nullable) — Set for project-scoped runs.
- `status` (enum, optional)
  - Allowed values: `queued`, `processing`, `completed`, `failed`
- `trigger` (enum, optional)
  - Allowed values: `scheduled`, `manual`, `webhook`, `onboarding`
- `workflowId` (string, optional, nullable)
- `result` (V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataResult, optional, nullable)
- `error` (string, optional, nullable)
- `queuedAt` (datetime, optional)
- `startedAt` (datetime, optional, nullable)
- `completedAt` (datetime, optional, nullable)
- `complianceProfile` (V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataComplianceProfile, optional)
- `checkLogs` (list of V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataCheckLogsItems, optional) — Oldest first.

### ErrorDetailsItems

- `path` (string, optional)
- `message` (string, optional)

### V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataResult

### V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataComplianceProfile

- `id` (string, optional)
- `name` (string, optional)

### V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataCheckLogsItems

- `id` (string, optional)
- `complianceRecordId` (string, optional)
- `complianceRunId` (string, optional, nullable)
- `triggeredBy` (enum, optional)
  - Allowed values: `scheduled`, `manual`, `webhook`, `onboarding`
- `previousStatus` (enum, optional, nullable)
  - Allowed values: `pending`, `compliant`, `compliant_pending_verification`, `non_compliant`, `expired`, `under_review`, `not_applicable`
- `newStatus` (enum, optional)
  - Allowed values: `pending`, `compliant`, `compliant_pending_verification`, `non_compliant`, `expired`, `under_review`, `not_applicable`
- `checkResult` (CheckResultDetails, optional) — The evaluation behind a compliance record's status. Extra properties may appear.
- `notes` (string, optional, nullable)
- `actorType` (enum, optional, nullable) — Set for manual overrides and clears only.
  - Allowed values: `user`, `api_key`
- `actorId` (string, optional, nullable)
- `criteriaHash` (string, optional, nullable)
- `criteriaSnapshot` (V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataCheckLogsItemsCriteriaSnapshot, optional, nullable)
- `requirementVersion` (integer, optional, nullable) — The requirement `version` this decision was evaluated against.
- `performedAt` (datetime, optional)
- `complianceRecord` (V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataCheckLogsItemsComplianceRecord, optional)

### CheckResultDetails

The evaluation behind a compliance record's status. Extra properties may appear.

- `documentCategory` (string, optional)
- `policyType` (string, optional, nullable)
- `criteria` (CheckResultDetailsCriteria, optional) — The requirement criteria evaluated.
- `checkedAt` (datetime, optional)
- `criteriaResults` (list of CriterionResult, optional)
- `passRate` (CheckResultDetailsPassRate, optional)
- `warnings` (list of string, optional)
- `informationNeeded` (list of ReportInformationNeeded, optional) — A Secretary of State or license check that can't run yet ("Waiting on information"), and what to add to the subcontractor.
- `licenseDetermination` (CheckResultDetailsLicenseDetermination, optional) — For a license check on a subcontractor with no license number, TradeGuard's research on whether this trade needs a license where they work, with its sources.
- `enforcement` (CheckResultDetailsEnforcement, optional) — How the requirement's enforcement level shaped this verdict.
- `changesSinceLastCheck` (list of string, optional) — What changed since the previous Secretary of State or license check, e.g. an entity that is no longer active or a registered name that changed.

### V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataCheckLogsItemsCriteriaSnapshot

### V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataCheckLogsItemsComplianceRecord

- `id` (string, optional)
- `subcontractorId` (string, optional)
- `requirementId` (string, optional)
- `complianceProfileEnrollmentId` (string, optional)
- `status` (enum, optional)
  - Allowed values: `pending`, `compliant`, `compliant_pending_verification`, `non_compliant`, `expired`, `under_review`, `not_applicable`
- `met` (boolean, optional) — Whether the requirement is actually met. A track-only requirement (`enforcementLevel: preferred`) never blocks, so one the subcontractor doesn't meet still reads `status: compliant`; `met` is `false` for it. `met` is `true` for `compliant` and `compliant_pending_verification` otherwise (including a manual override to compliant), and `false` for every other status.
- `statusReason` (string, optional, nullable)
- `lastCheckedAt` (datetime, optional, nullable)
- `nextCheckAt` (datetime, optional, nullable)
- `expiresAt` (datetime, optional, nullable)
- `checkResult` (CheckResultDetails, optional) — The evaluation behind a compliance record's status. Extra properties may appear.
- `overrideStatus` (enum, optional, nullable) — Set while a manual override is in force (compliant or non_compliant).
  - Allowed values: `pending`, `compliant`, `compliant_pending_verification`, `non_compliant`, `expired`, `under_review`, `not_applicable`
- `overrideReason` (string, optional, nullable)
- `overrideBy` (string, optional, nullable) — Operator identity (Clerk user id or API key subject).
- `overrideByType` (enum, optional, nullable)
  - Allowed values: `user`, `api_key`
- `overrideAt` (datetime, optional, nullable)
- `overrideFingerprint` (string, optional, nullable) — Internal evidence hash; do not rely on its format.
- `metadata` (V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataCheckLogsItemsComplianceRecordMetadata, optional)
- `createdAt` (datetime, optional)
- `updatedAt` (datetime, optional)
- `requirement` (V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataCheckLogsItemsComplianceRecordRequirement, optional)

### CheckResultDetailsCriteria

The requirement criteria evaluated.

### CriterionResult

One check on a compliance record: what was required, what the certificate shows, and the outcome. `passed` is true exactly when `outcome` is `pass` or `waived`. Rows written before TG-1307 have only `key`, `passed`, `expected`, `actual` and `message`.

- `key` (string, required) — Stable id of the check, e.g. `limit:each_occurrence`, `endorsement:additional_insured`, `expiration_date`.
- `passed` (boolean, required)
- `expected` (any, required) — The requirement's value (any JSON type).
- `actual` (any, required) — The value found, or `null` when it is not on the certificate (any JSON type).
- `message` (string, required) — Plain-English line built from the values (never AI-written).
- `field` (string, optional) — Certificate field the value came from, e.g. `general_liability.each_occurrence`.
- `label` (string, optional) — Plain-English name of the check, e.g. `Each Occurrence`.
- `rule` (string, optional) — Comparison used, e.g. `gte` (at least), `lte` (at most), `equals`, `one_of`, `present`, `includes`, `name_match`, `not_expired`. New values may be added.
- `outcome` (enum, optional) — The outcome of one check (TG-1307). `pass` / `fail`: the certificate clearly does or doesn't meet the requirement. `not_on_certificate`: the field is blank on the certificate (never read as 0 or "no"); not passing. `needs_review`: the system couldn't tell what the certificate says (read with under 70% confidence, or ambiguous); a TradeGuard operator decides, and the record reads `under_review` meanwhile. `waived`: the check is waived for this policy; counts as passing. `waiting_on_sub`: waiting on an answer from the subcontractor; not passing. `waiting_on_information`: a Secretary of State or license check can't run until information is added to the subcontractor (see `checkResult.informationNeeded`); not passing, and the record reads `pending`. New values may be added; treat an unknown value as not passing.
  - Allowed values: `pass`, `fail`, `not_on_certificate`, `needs_review`, `waived`, `waiting_on_sub`, `waiting_on_information`
- `policyType` (string, optional, nullable)
- `evidence` (CriterionResultEvidence, optional, nullable) — Where on the certificate the value was read, when known.
- `confidence` (double, optional, nullable) — How sure the certificate reader was of this value (0 to 1), when known. Under 0.70 the outcome is `needs_review`.
- `deferral` (CriterionResultDeferral, optional) — Set when a check is **due at renewal**: it waits, reads `outcome: waived` (counts as met) and its `message` starts with the reason and date. * An endorsement check (the enrollment's `enforceEndorsementsAtRenewal`): "Endorsement due at renewal (\<date>)", no `kind`. * A missing policy the GC deferred (the enrollment's `missingPoliciesAtRenewal`), and the endorsement checks on that policy: "Policy due at renewal (\<date>)", `kind: missing_policy`.

### CheckResultDetailsPassRate

- `passed` (integer, optional)
- `total` (integer, optional)

### ReportInformationNeeded

- `field` (enum, required) — The subcontractor field to fill in. New values may be added.
  - Allowed values: `companyName`, `businessAddress.state`, `tradeCategory`, `licenses[].state`
- `label` (string, required) — What to add, in plain English.

### CheckResultDetailsLicenseDetermination

For a license check on a subcontractor with no license number, TradeGuard's research on whether this trade needs a license where they work, with its sources.

- `required` (boolean, optional, nullable) — `true` a license is required, `false` none is required, `null` couldn't be determined.
- `trade` (string, optional, nullable)
- `jurisdiction` (CheckResultDetailsLicenseDeterminationJurisdiction, optional, nullable)
- `licenseType` (string, optional, nullable)
- `licensingAuthority` (string, optional, nullable)
- `reasoning` (string, optional, nullable)
- `sources` (list of CheckResultDetailsLicenseDeterminationSourcesItems, optional)

### CheckResultDetailsEnforcement

How the requirement's enforcement level shaped this verdict.

- `level` (enum, optional)
  - Allowed values: `required`, `preferred`, `conditional`
- `met` (boolean, optional) — Whether the evidence met the requirement, before enforcement. `false` on a track-only (`preferred`) requirement that reads `compliant`.
- `rawStatus` (string, optional) — The status before enforcement, for a track-only requirement or one waiting on the sub's answer.
- `conditionKey` (string, optional, nullable)
- `conditionMet` (boolean, optional, nullable) — `null` while the sub hasn't answered the condition's question.

### V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataCheckLogsItemsComplianceRecordMetadata

### V1ComplianceRunsRunIdGetResponsesContentApplicationJsonSchemaDataCheckLogsItemsComplianceRecordRequirement

- `id` (string, optional)
- `title` (string, optional)
- `documentCategory` (enum, optional) — Category of a document or of the evidence a requirement asks for. The three upload paths accept every value except `business_registration` (used by report requirements), `notice_of_cancellation` and `certificate` (the profile's "Certificate checks" requirement, which reads the insurance certificate).
  - Allowed values: `insurance`, `business_registration`, `license`, `background_check`, `training_cert`, `tax_form`, `agreement`, `endorsement`, `notice_of_cancellation`, `workers_compensation_exemption`, `certificate`, `safety_policy`
- `policyType` (enum, optional, nullable) — The policy a requirement asks for or a coverage holds. The first four are the ACORD 25's own sections. The rest are the policies a broker types into the certificate's blank rows (professional liability, pollution, builder's risk, crime, inland marine, ...): TradeGuard reads each blank row, recognizes its type and stores it as coverage of that type. Excess liability typed into a blank row counts as `umbrella`; a blank row whose type isn't in this list is still checked by "every policy active" but can't be required. See [Other policy types](/getting-started/other-policy-types).
  - Allowed values: `general_liability`, `workers_comp`, `automobile_liability`, `umbrella`, `professional_liability`, `medical_malpractice`, `directors_and_officers`, `employment_practices_liability`, `fiduciary_liability`, `cyber`, `technology_errors_omissions`, `media_liability`, `pollution_liability`, `liquor_liability`, `products_liability`, `owners_contractors_protective`, `railroad_protective`, `abuse_and_molestation`, `employee_benefits_liability`, `stop_gap_liability`, `foreign_liability`, `garage_liability`, `garagekeepers`, `riggers_liability`, `crime`, `fidelity_bond`, `surety_bond`, `commercial_property`, `builders_risk`, `installation_floater`, `equipment_floater`, `leased_rented_equipment`, `inland_marine`, `ocean_marine`, `motor_truck_cargo`, `cargo`, `warehouse_legal_liability`, `bailees_coverage`, `business_interruption`, `equipment_breakdown`, `flood`, `earthquake`, `physical_damage`, `trailer_interchange`, `non_trucking_liability`, `contingent_liability`, `occupational_accident`, `aviation`, `watercraft`, `uslh`, `maritime_employers_liability`, `disability`, `accident_health`

### CriterionResultEvidence

Where on the certificate the value was read, when known.

- `documentId` (string, optional)
- `page` (integer, optional)
- `text` (string, optional)

### CriterionResultDeferral

Set when a check is **due at renewal**: it waits, reads `outcome: waived` (counts as met) and its `message` starts with the reason and date. * An endorsement check (the enrollment's `enforceEndorsementsAtRenewal`): "Endorsement due at renewal (\<date>)", no `kind`. * A missing policy the GC deferred (the enrollment's `missingPoliciesAtRenewal`), and the endorsement checks on that policy: "Policy due at renewal (\<date>)", `kind: missing_policy`.

- `until` (date, optional) — The date the check applies again. For an endorsement, the policy's expiration date (sooner if the renewal certificate arrives). For a missing policy, the sub's next renewal: the earliest expiration date among its policies on file (sooner if a renewed policy arrives).
- `originalOutcome` (enum, optional) — The outcome of one check (TG-1307). `pass` / `fail`: the certificate clearly does or doesn't meet the requirement. `not_on_certificate`: the field is blank on the certificate (never read as 0 or "no"); not passing. `needs_review`: the system couldn't tell what the certificate says (read with under 70% confidence, or ambiguous); a TradeGuard operator decides, and the record reads `under_review` meanwhile. `waived`: the check is waived for this policy; counts as passing. `waiting_on_sub`: waiting on an answer from the subcontractor; not passing. `waiting_on_information`: a Secretary of State or license check can't run until information is added to the subcontractor (see `checkResult.informationNeeded`); not passing, and the record reads `pending`. New values may be added; treat an unknown value as not passing.
  - Allowed values: `pass`, `fail`, `not_on_certificate`, `needs_review`, `waived`, `waiting_on_sub`, `waiting_on_information`
- `kind` (enum, optional) — `missing_policy` for a missing policy due at renewal; absent for an endorsement.
  - Allowed values: `missing_policy`

### CheckResultDetailsLicenseDeterminationJurisdiction

- `state` (string, optional)
- `city` (string, optional, nullable)

### CheckResultDetailsLicenseDeterminationSourcesItems

- `url` (string, optional)
- `title` (string, optional, nullable)

## Examples

**Response**

```json
{
  "data": {
    "id": "string",
    "subcontractorId": "string",
    "complianceProfileId": "string",
    "organizationId": "string",
    "projectId": "string",
    "status": "queued",
    "trigger": "scheduled",
    "workflowId": "string",
    "result": {},
    "error": "string",
    "queuedAt": "2024-01-15T09:30:00Z",
    "startedAt": "2024-01-15T09:30:00Z",
    "completedAt": "2024-01-15T09:30:00Z",
    "complianceProfile": {
      "id": "string",
      "name": "string"
    },
    "checkLogs": [
      {
        "id": "string",
        "complianceRecordId": "string",
        "complianceRunId": "string",
        "triggeredBy": "scheduled",
        "previousStatus": "pending",
        "newStatus": "pending",
        "checkResult": {
          "documentCategory": "string",
          "policyType": "string",
          "criteria": {},
          "checkedAt": "2024-01-15T09:30:00Z",
          "criteriaResults": [
            {
              "key": "string",
              "passed": true,
              "expected": null,
              "actual": null,
              "message": "string",
              "field": "string",
              "label": "string",
              "rule": "string",
              "outcome": "pass",
              "policyType": "string",
              "evidence": {
                "documentId": "string",
                "page": 1,
                "text": "string"
              },
              "confidence": 0.5,
              "deferral": {
                "until": "2023-01-15",
                "originalOutcome": "pass",
                "kind": "missing_policy"
              }
            }
          ],
          "passRate": {
            "passed": 1,
            "total": 1
          },
          "warnings": [
            "string"
          ],
          "informationNeeded": [
            {
              "field": "companyName",
              "label": "string"
            }
          ],
          "licenseDetermination": {
            "required": true,
            "trade": "string",
            "jurisdiction": {
              "state": "string",
              "city": "string"
            },
            "licenseType": "string",
            "licensingAuthority": "string",
            "reasoning": "string",
            "sources": [
              {
                "url": "string",
                "title": "string"
              }
            ]
          },
          "enforcement": {
            "level": "required",
            "met": true,
            "rawStatus": "string",
            "conditionKey": "string",
            "conditionMet": true
          },
          "changesSinceLastCheck": [
            "string"
          ]
        },
        "notes": "string",
        "actorType": "user",
        "actorId": "string",
        "criteriaHash": "string",
        "criteriaSnapshot": {},
        "requirementVersion": 1,
        "performedAt": "2024-01-15T09:30:00Z",
        "complianceRecord": {
          "id": "string",
          "subcontractorId": "string",
          "requirementId": "string",
          "complianceProfileEnrollmentId": "string",
          "status": "pending",
          "met": true,
          "statusReason": "string",
          "lastCheckedAt": "2024-01-15T09:30:00Z",
          "nextCheckAt": "2024-01-15T09:30:00Z",
          "expiresAt": "2024-01-15T09:30:00Z",
          "checkResult": {
            "documentCategory": "string",
            "policyType": "string",
            "criteria": {},
            "checkedAt": "2024-01-15T09:30:00Z",
            "criteriaResults": [
              {
                "key": "string",
                "passed": true,
                "expected": null,
                "actual": null,
                "message": "string",
                "field": "string",
                "label": "string",
                "rule": "string",
                "outcome": "pass",
                "policyType": "string",
                "evidence": {
                  "documentId": "string",
                  "page": 1,
                  "text": "string"
                },
                "confidence": 0.5,
                "deferral": {
                  "until": "2023-01-15",
                  "originalOutcome": "pass",
                  "kind": "missing_policy"
                }
              }
            ],
            "passRate": {
              "passed": 1,
              "total": 1
            },
            "warnings": [
              "string"
            ],
            "informationNeeded": [
              {
                "field": "companyName",
                "label": "string"
              }
            ],
            "licenseDetermination": {
              "required": true,
              "trade": "string",
              "jurisdiction": {
                "state": "string",
                "city": "string"
              },
              "licenseType": "string",
              "licensingAuthority": "string",
              "reasoning": "string",
              "sources": [
                {
                  "url": "string",
                  "title": "string"
                }
              ]
            },
            "enforcement": {
              "level": "required",
              "met": true,
              "rawStatus": "string",
              "conditionKey": "string",
              "conditionMet": true
            },
            "changesSinceLastCheck": [
              "string"
            ]
          },
          "overrideStatus": "pending",
          "overrideReason": "string",
          "overrideBy": "string",
          "overrideByType": "user",
          "overrideAt": "2024-01-15T09:30:00Z",
          "overrideFingerprint": "string",
          "metadata": {},
          "createdAt": "2024-01-15T09:30:00Z",
          "updatedAt": "2024-01-15T09:30:00Z",
          "requirement": {
            "id": "string",
            "title": "string",
            "documentCategory": "insurance",
            "policyType": "general_liability"
          }
        }
      }
    ]
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.tradeguardins.com/v1/compliance/runs/runId"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.tradeguardins.com/v1/compliance/runs/runId';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.tradeguardins.com/v1/compliance/runs/runId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.tradeguardins.com/v1/compliance/runs/runId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.tradeguardins.com/v1/compliance/runs/runId")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.tradeguardins.com/v1/compliance/runs/runId', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.tradeguardins.com/v1/compliance/runs/runId");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.tradeguardins.com/v1/compliance/runs/runId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```