admin-monitor

Trigger Audit Run

Kick off a background audit run; returns the run_id immediately.

post/admin/monitor/audit/run

Request

  • Base URL: https://api.casenode.ai
  • URL: https://api.casenode.ai/admin/monitor/audit/run
  • Auth: none declared. Required headers: authorization

Headers

authorizationstring required

Request body

checksstring[] nullable

Subset of audit checks to run. None = all. Allowed values: ['completeness', 'consistency', 'duplicates', 'field_pollution', 'future_year_offenders', 'graph', 'integrity', 'lr_fold_integrity', 'stubs', 'temporal_causality']

samplesinteger

Sample rows to capture per finding.

triggered_bystring nullable

Free-form label written to audit_runs.triggered_by.

scope_sincestring nullable

ISO timestamp. Only audit authorities ingested after this. Scope-aware checks only.

scope_untilstring nullable

ISO timestamp. Upper bound on authorities.created_at.

scope_labelstring nullable

Human label for the run ('last 7d', 'custom'). Defaults to 'all time' or a derived 'since/until' string.

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.