API Reference
255+ endpoints. Base URL: https://api.sgraal.com
Interactive docs: api.sgraal.com/docs (Swagger UI)
Core
/v1/preflightCore decision endpoint. 83-module scoring pipeline.
New: grok_context param, sgraal_override / grok_decision / formal_override / notification_sent response fields
/v1/preflight/batchBatch scoring — up to 100 entries per call.
/v1/preflight/zkZero-knowledge mode — SHA-256 proof hash, no content exposure.
/v1/healRepair memory entries: REFETCH, VERIFY_WITH_SOURCE, REBUILD_WORKING_SET.
/v1/explainNatural language explanation — developer/compliance/executive audiences.
/v1/outcomeClose outcome — success/failure/partial with component attribution.
Comparison & Analysis
/v1/compare/grokSide-by-side Sgraal vs Grok comparison. Formal contradiction detection.
/v1/propagation/traceTrace memory propagation — cascade risk, containment, affected agents.
/v1/fidelity/certifyCertify memory fidelity with cryptographic proof.
/v1/cross-agent-checkMulti-agent conflict detection with anti-consensus safeguard.
/v1/court/arbitrateFormal arbitration with Z3 verification. overridable: false.
Memory Management
/v1/memory/passport/exportCryptographically signed memory snapshot. 3 TTL levels: ephemeral/standard/archival.
/v1/memory/passport/{id}/verifyVerify passport signature integrity.
/v1/audit-logDecision audit trail with timestamp + omega mapping.
/v1/analytics/summaryFleet-wide decision analytics.
Standards
/v1/standard/memcube-specMemCube v2 JSON Schema.
/v1/standard/score-definitionSMRS v1.0 formal score definition.
Full interactive documentation with request/response examples:
Open Swagger UI →