RoboLedger: Ledger & Events
Preview Event Block
Dry-run: resolve the matching handler and evaluate the transaction template without writing any rows. Returns the matched handler + planned debit/credit lines + any validation errors. Use this before create-event-block(apply_handlers=True) to confirm the GL plan.
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.
post/extensions/roboledger/{graph_id}/operations/preview-event-block
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/preview-event-block
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Path parameters
graph_idstring required
Headers
Idempotency-Keystring nullable
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.