Ingest logs, verify data integrity, manage incidents, and review human authorization workflows through the HTTPS API.
/api/v1/logsSubmit a single audit event payload to the cryptographic ledger. Computes SHA-256 hash and returns the generated UUID.
Headers:
X-API-Key: blk_live_xxxxxxxx
Content-Type: application/json
Body (JSON):
{
"event_type": "CREDIT_DECISION",
"data": {
"applicant_id": "usr_9918",
"credit_score": 742,
"decision": "APPROVED",
"model_version": "v2.1"
},
"source": "credit-service",
"trace_id": "8f2a3c8d-1e0b-4a7f-9c4d-3b2a1e0f9a8b"
}{
"log_id": "c4e93b1f-7d4c-4e8b-a7f2-88cc2e8b0044",
"company_id": "org_meridian",
"event_type": "CREDIT_DECISION",
"hash": "a3f9b2c1d4e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2",
"created_at": "2024-07-28T09:14:32.102Z"
}/api/v1/logs/batchSubmit multiple events in a single HTTP request for high-throughput pipelines.
Body (JSON):
{
"logs": [
{
"event_type": "TOOL_CALL",
"data": { "tool": "calc_risk", "output": 0.04 }
},
{
"event_type": "DECISION",
"data": { "action": "EXECUTE", "status": "CONFIRMED" }
}
]
}{
"ingested": 2,
"log_ids": [
"c4e93b1f-7d4c-4e8b-a7f2-88cc2e8b0044",
"e4f3a2b1-c0d9-4e8f-7a6b-5c4d3b2a1e0f"
],
"merkle_root": "sha256:b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4"
}/api/v1/logs/{log_id}/verifyValidate SHA-256 hash chains and cryptographic signature for a specific log record.
{
"log_id": "c4e93b1f-7d4c-4e8b-a7f2-88cc2e8b0044",
"hash": "a3f9b2c1d4e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2",
"chain_valid": true,
"signature_valid": true,
"verified_at": "2024-07-28T09:14:33.400Z"
}/api/v1/forensics/replaysInitiate forensic timeline reconstruction and causal graph analysis for an execution trace.
Body (JSON):
{
"trace_id": "8f2a3c8d-1e0b-4a7f-9c4d-3b2a1e0f9a8b",
"metadata": { "reason": "CISO Q3 Audit" }
}{
"replay_id": "rep_9f2a3c8d1e0b",
"trace_id": "8f2a3c8d-1e0b-4a7f-9c4d-3b2a1e0f9a8b",
"status": "READY",
"event_count": 14,
"created_at": "2024-07-28T09:15:00.000Z"
}/api/v1/forensics/replays/{replay_id}/root-causeAnalyze causal dependencies across tool calls, stale inputs, and policy denials to isolate anomalies.
{
"detected": true,
"root_cause_type": "STALE_CONTEXT",
"description": "Execution relied on stale market data at path 'market.feed'.",
"confidence": 0.95,
"remediation": "Refresh market data feed before executing decision."
}/api/v1/hitl/rejectRecord and cryptographically seal human review decisions and overrides.
Body (JSON):
{
"decision_id": "dec_88192a",
"reviewer": "cro@bank.com",
"rejection_reason": "Applicant debt-to-income ratio exceeds risk policy"
}{
"override_id": "ovr_3b2a1e0f",
"status": "REJECTED",
"timestamp": "2024-07-28T09:16:12.000Z",
"signature": "ed25519:7f9a8b...3c2d1e"
}