POST
/api/assess
Run an on-demand risk assessment for any AI system. Returns risk tier, flagged concerns, and recommended mitigations.
POST /api/v1/assess
{
"system_name": "fraud-detection-v3",
"category": "credit_decisioning",
"jurisdiction": "EU"
}
GET
/api/registry
Query your complete AI asset inventory. Filter by team, risk tier, lifecycle stage, or compliance status.
GET /api/v1/registry
?risk_tier=high
&status=production
&team=ml-platform
POST
/api/chat
Ask Gloxi any regulatory question. Get sourced, jurisdiction-aware answers powered by our curated regulatory corpus.
POST /api/v1/chat
{
"query": "What are EU AI Act
requirements for credit scoring?",
"context": "financial_services"
}
GET
/api/compliance
Check real-time compliance posture for any system or your entire fleet. Perfect for dashboards and CI gates.
GET /api/v1/compliance
?system_id=sys_3f8a2k
{ "status": "compliant",
"score": 94 }
POST
/api/auditor/packets
Generate a JWS-signed evidence packet for an external auditor engagement. GET lists existing packets for the org; POST creates a new one bound to a magic-link invitation.
POST /api/v1/auditor/packets
{
"engagement_id": "eng_q4_2026",
"systems": ["sys_3f8a2k", "sys_7r1m4n"],
"window_days": 90
}
GET
/api/peer-benchmarking
Read your org's peer-cohort signals (governance maturity, finding rates, control coverage). Returns only when the cohort meets the consent-defined k-anonymity threshold.
GET /api/v1/peer-benchmarking
?metric=finding_rate
&cohort=fin-us-mid-east
POST
/api/vendor-attestations
Record NAIC §2.3 vendor AI attestations for your sub-processors. GET lists existing attestations for the org; POST submits a new attestation with retention metadata.
POST /api/v1/vendor-attestations
{
"vendor_id": "vnd_abc",
"framework": "naic-model-bulletin",
"attested_on": "2026-05-11"
}
POST
/api/baa-records
Track the customer's vendor BAA portfolio for HIPAA §164.314(a)(1) coverage. GET lists records; POST creates a new BAA with scope of PHI and renewal dates. PATCH on /api/baa-records/[id] updates status or rotates renewal dates.
POST /api/v1/baa-records
{
"vendor_id": "vnd_pacific_ehr",
"scope_of_phi": ["clinical_notes", "lab_results"],
"signed_on": "2026-04-15",
"renewal_on": "2027-04-15"
}
GET
/api/admin/edge-agents/status
Read every edge agent registered to your organization with last-seen timestamp, cert serial, and a connected / stale / offline state. Backend live; operator UI in Preview.
GET /api/v1/admin/edge-agents/status
[{
"id": "agt_p1",
"last_seen_at": "2026-05-10T22:48Z",
"cert_serial": "3F:9A:...",
"status": "connected"
}]
GET
/api/admin/rate-limits
Read your organization's effective per-token rate limits (read, write, MCP) including any admin-approved overrides. PATCH submits a ceiling-raise request; KoraSafe™ reviews against actual usage rather than approving blanket increases.
PATCH /api/v1/admin/rate-limits
{
"token_kind": "write",
"requested_ceiling": 1200,
"justification": "Bulk evidence import pipeline"
}
GET
/api/admin/data-retention
Read or set per-org retention windows (findings, audit logs, evidence packets), bounded 30-3650 days. Defaults: three years for findings, seven years for evidence packets, per-org default for audit logs. PATCH updates a window.
PATCH /api/v1/admin/data-retention
{
"target": "evidence_packets",
"retention_days": 2555
}
POST
/api/auditor/engagements
Provision an auditor portal Phase 2A multi-customer engagement: one firm reviewing evidence across multiple customer orgs under a single grant, with per-engagement scopes preserved by cross-tenant RLS. POST creates the engagement; GET lists engagements bound to the firm.
POST /api/v1/auditor/engagements
{
"firm_id": "firm_big4_a",
"customer_orgs": ["org_x", "org_y"],
"window_days": 90
}
GET
/api/governance-events
Read the org's governance event stream. Each event records a state change that downstream consumers want to react to: a risk score moved past a threshold, a finding transitioned state, an attestation lapsed. Events persist to governance_index_events with row-level org isolation and an idempotency key (so retries collapse to one row). Filter by event_type or finding_id; default page size 50, max 100. Webhook fan-out for these events is live; see the webhook registration endpoint below.
GET /api/v1/governance-events
?event_type=finding.state_transition
&limit=50
{
"events": [{
"id": "evt_3f9a...",
"event_type": "finding.state_transition",
"source_table": "findings",
"source_id": "fnd_...",
"trigger_reason": "open -> resolved",
"payload": { ... },
"score_before": 62,
"score_after": 66,
"created_at": "2026-05-11T16:00:00Z"
}],
"count": 1
}
POST
/api/governance-events/webhooks
Webhook registration for the governance event stream. Register an HTTPS endpoint plus optional event-type filter; KoraSafe™ POSTs each matching event with an HMAC-SHA-256 signature. Failed deliveries enter a dead-letter queue with retry backoff; the consumer is responsible for idempotent processing.
POST /api/v1/governance-events/webhooks
{
"target_url": "https://customer.example/korasafe/webhook",
"event_types": ["finding.state_transition", "risk_score.changed"],
"hmac_secret_alias": "primary"
}
POST
/api/admin/compliance/audit-package
Generate a regulator-readable audit package for a sector pack (fin-us or hc-us) or a framework (eu_ai_act, gdpr, nist_ai_rmf, iso_42001, soc2, naic, hipaa). Returns JSON by default; pass format=pdf for the regulator-readable PDF. Date range defaults to last 90 days when from/to omitted.
POST /api/v1/admin/compliance/audit-package
?pack=hc-us
&format=pdf
&from=2026-02-01
&to=2026-05-01
POST /api/v1/admin/compliance/audit-package?pack=fin-us&framework=naic
GET
/api/auditor/session/engagement
From inside a magic-link auditor session, list the engagement packets the firm has been granted for this customer. Used by the auditor portal UI to render the multi-packet picker. Auth is the auditor session token; no platform account required.
GET /api/v1/auditor/session/engagement
Authorization: Bearer ksauditor_...
{
"engagement_id": "eng_q2_2026",
"packets": [{
"id": "pkt_...",
"customer_org_name": "Apex Financial",
"window_from": "2026-02-01",
"window_to": "2026-05-01"
}]
}