ABS Core
API Reference

Events API

Programmatic access to the Immutable Ledger.

Events API

The Events API provides access to the ABS Kernel's decision logs. It allows you to ingest raw events for processing or retrieve audit trails for forensic analysis.

graph LR
    E1[Event 1: Allowed] --> H1[Hash 1]
    H1 -->|prev_hash| E2[Event 2: Blocked]
    E2 --> H2[Hash 2]
    H2 -->|prev_hash| E3[Event 3: Held]
    E3 --> H3[Hash 3]
    
    style H1 fill:#6366f1,color:#fff
    style H2 fill:#6366f1,color:#fff
    style H3 fill:#6366f1,color:#fff

Every response generated by the ABS proxy or SDK is hashed and chained into an immutable timeline, providing cryptographic proof across your entire system.

Ingest Event

POST /v1/events

Submit a raw event for immediate processing, risk scoring, and logging.

Request Body

{
  "event_type": "llm.completion",
  "payload": {
    "prompt": "Analyze transaction history for account #88219",
    "model": "gpt-4-turbo"
  },
  "metadata": {
    "agent_id": "auditor-bot-prod-01",
    "session_id": "sess_8f2k9a",
    "tenant_id": "my-org",
    "timestamp": "2026-02-13T10:00:00Z"
  }
}

Response

{
  "envelope": {
    "decision_id": "evt_7f2b9a4c118d",
    "execution_status": "ALLOW",
    "risk_score": 12,
    "latency_ms": 45,
    "trace_id": "trace_a3b2c1d0e9f8",
    "tenant_id": "my-org",
    "timestamp": "2026-02-19T22:00:00Z"
  },
  "trace_id": "trace_a3b2c1d0e9f8"
}

Batch Ingest

POST /v1/events/ingest/batch

Submit multiple events in a single request for high-throughput applications (max 100 events per batch).

{
  "events": [
    {
       "event_type": "llm.completion",
       "payload": { ... },
       "metadata": { ... }
    },
    { ... }
  ]
}

Precisa acessar os logs via interface? Conheça o ABS Dashboard para visualizar e exportar a Forensic Ledger graficamente, ou Fale com Vendas para integrações SIEM (Splunk, Datadog).

On this page