Create Event Block
Persist a real-world business event. apply_handlers=False (default): capture-only, status='captured'. apply_handlers=True: resolves an event_handler, fires the template, creates GL entries atomically, status='classified'. Use preview-event-block to dry-run before committing. For journal_entry_recorded, whether the entry writes back to a connected source system follows source (schedule/manual publish; system does not) unless metadata.publish_to_source says otherwise — set it false for an alignment entry mirroring a change already made upstream, which would otherwise be applied twice.
Idempotency: supply an Idempotency-Key header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
Request
- Base URL: https://api.robosystems.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.robosystems.ai/extensions/roboledger/{graph_id}/operations/create-event-block
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
Headers
Request body
Example request
{
"agent_id": "ent_customer_acme",
"amount": 250000,
"currency": "USD",
"description": "April consulting retainer — Acme Corp",
"dimension_ids": [
"dim_dept_consulting"
],
"event_category": "sales",
"event_class": "economic",
"event_type": "invoice_issued",
"external_id": "qb_inv_4521",
"external_url": "https://app.qbo.intuit.com/app/invoice?txnId=4521",
"metadata": {
"invoice_number": "INV-2026-0421",
"terms": "net_30"
},
"occurred_at": "2026-05-01T14:30:00Z",
"resource_type": "services",
"source": "quickbooks"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.