VectorVue Documentation

Integration, platform operations, architecture, and assurance references

VectorVue Compliance API Specification

This specification defines tenant-scoped compliance and auditor API behavior.

1. Response Envelope

Compliance responses return signed payload envelopes:

{
  "data": {},
  "signature": {
    "algorithm": "HMAC-SHA256",
    "key_id": "vv-compliance-v1",
    "signed_at": "2026-02-19T15:30:00Z",
    "signature": "hex_hmac"
  }
}

2. Authentication and Authorization

3. Endpoints

POST /audit/session

Creates a time-limited audit session token record.

GET /compliance/frameworks

Returns active frameworks and latest framework scores for tenant.

GET /compliance/{framework}/controls

Returns mapped controls and latest evaluated control state.

GET /compliance/{framework}/score

Returns latest compliance score and coverage.

GET /compliance/{framework}/report

Returns control summary, dataset hash, evidence metadata, and report context.

GET /compliance/audit-window

Returns observation/evidence/evaluation counts for selected framework and period.

4. Integrity and Reproducibility Model

5. Operational Requirements

  1. Apply migrations and deploy workers.
  2. Keep daily compliance evaluation jobs active.
  3. Validate endpoint behavior in smoke checks before audit windows.