Viewer API reference#
Generated from the viewer's OpenAPI document by tools/gen_reference.py;
do not edit by hand. A running viewer serves the same document at
/openapi.json. Every state-changing
route requires the X-BitExact-Action header, and so do the GET routes that produce evidence - export, evidence-pack (a run's, a case's, a selection's and a saved pack's), provenance-bundle and otel - because taking evidence out is an act that is itself recorded in each run's custody chain (see integrations.md). A route that takes a body says what it takes at /openapi.json.
GET /- IndexGET /api/access-log- Access Log ViewGET /api/agent-entries- List Agent EntriesGET /api/case-vocabulary- Case VocabularyGET /api/cases- CasesGET /api/cases/{case_id}- Case DetailPOST /api/cases/{case_id}- Case ActGET /api/cases/{case_id}/evidence-pack- Case Evidence PackGET /api/cost- Cost EpGET /api/coverage- CoverageGET /api/coverage/expectations- Expectation ListPOST /api/coverage/expectations- Expectation ChangeGET /api/coverage/expectations/removals- Expectation RemovalsGET /api/coverage/sources- Coverage SourcesGET /api/env- EnvGET /api/events- Events ViewPOST /api/events/retry- Events RetryPOST /api/events/test- Events TestGET /api/evidence-pack- Selection Evidence PackPOST /api/fork-matrix- Start Fork MatrixGET /api/fork-matrix/{job_id}- Fork Matrix JobPOST /api/forks- Create ForkGET /api/health- HealthGET /api/jobs/{job_id}- Job StatusGET /api/license- License StatusGET /api/log- Transparency LogPOST /api/logout- Sign OutGET /api/onboarding- OnboardingGET /api/packs- PacksPOST /api/packs/{name}- Pack ActGET /api/packs/{name}/evidence-pack- Pack Evidence PackGET /api/redactions- RedactionsPOST /api/regress- Start RegressGET /api/retention- RetentionGET /api/retention/purge-preview- Purge PreviewGET /api/roles- Roles ViewGET /api/runs- RunsGET /api/runs/{run_id}- Run DetailGET /api/runs/{run_id}/comparison- Fork ComparisonGET /api/runs/{run_id}/cost- Run Cost EpGET /api/runs/{run_id}/custody- CustodyGET /api/runs/{run_id}/evidence-pack- Evidence PackGET /api/runs/{run_id}/export- ExportGET /api/runs/{run_id}/fork-estimate- Fork Estimate EpGET /api/runs/{run_id}/fork-matrix- Fork Matrix ReportsGET /api/runs/{run_id}/fork-matrix-compare- Fork Matrix CompareGET /api/runs/{run_id}/fork-matrix/cost- Fork Matrix CostGET /api/runs/{run_id}/forks- ForksDELETE /api/runs/{run_id}/hold- Release HoldPOST /api/runs/{run_id}/hold- Place HoldGET /api/runs/{run_id}/otel- Otel SpansGET /api/runs/{run_id}/provenance- ProvenanceGET /api/runs/{run_id}/provenance-bundle- Provenance BundlePOST /api/runs/{run_id}/redact- RedactGET /api/runs/{run_id}/redaction- Redaction StatusPOST /api/runs/{run_id}/redaction/approve- Redaction ApprovePOST /api/runs/{run_id}/redaction/reject- Redaction RejectPOST /api/runs/{run_id}/redaction/request- Redaction RequestGET /api/runs/{run_id}/reports- ReportsGET /api/runs/{run_id}/reviews- Run ReviewsGET /api/runs/{run_id}/steps/{step}- Step PayloadGET /api/runs/{run_id}/verify- VerifyGET /api/setup- SetupGET /api/suites- SuitesPOST /api/suites- Create SuiteGET /api/suites/{name}- Suite DetailPOST /api/suites/{name}/compare- Compare Suite EndpointPOST /api/suites/{name}/run- Run Suite EndpointGET /api/summary- SummaryGET /api/trust- TrustPOST /api/verify-bundle- Verify Bundle UploadPOST /api/verify-report- Verify Report UploadGET /api/whoami- WhoamiGET /api/workflows- WorkflowsGET /api/workflows/{workflow}/governance- Workflow GovernanceGET /api/workflows/{workflow}/matrix- Workflow MatrixGET /api/workflows/{workflow}/versions- Workflow Versions EpGET /healthz- LivenessGET /{name}- Asset