Browse the extensions reference

eventBlocks

returns [EventBlock!]!

List one entity's event blocks with optional filters.

Recent events first (occurred_at descending). Filter by status (captured is the unposted queue, committed the audit trail), source (quickbooks / schedule / manual), eventType, and isReconcilingItem — true returns the post-sync reconciliation worklist, committed events whose upstream payload changed after they were posted.

Arguments

NameTypeDescription
eventTypeStringFilter to one event type, e.g. invoice_issued.
eventCategoryStringFilter on the event's category label.
eventClassStringeconomic for business activity, support for evidence about it (balance readings, reconciliation sign-offs), operational for schedule obligations. A balance reading's amount is a balance, not a flow.
statusStringFilter by lifecycle state: captured is the unposted queue, committed the audit trail.
agentIdStringFilter to events involving one counterparty.
sourceStringFilter by originating system: quickbooks, schedule or manual.
isReconcilingItemBooleanTrue returns the post-sync reconciliation worklist - committed events whose upstream payload changed after posting.
limitIntMaximum rows to return, 1-1000. Omit to use this field's own default; out of range raises INVALID_PAGINATION.
offsetIntRows to skip before returning, 0 or greater. Out of range raises INVALID_PAGINATION.
entityIdStringThe entity whose books to read. Omit for the group parent.

Returns EventBlock

FieldTypeDescription
idString!—
eventTypeString!—
eventCategoryString!—
eventClassString!—
statusString!—
occurredAtDateTime!—
effectiveAtDateTime—
dueDateDate—
sourceString!—
externalIdString—
externalUrlString—
amountInt—
currencyString!—
descriptionString—
metadataJSON!—
isReconcilingItemBoolean!—
dimensionIds[String!]!—
agentIdString—
resourceTypeString—
resourceElementIdString—
replacedByEventIdString—
replacesEventIdString—
obligatedByEventIdString—
dischargesEventIdString—
documentIdString—
createdAtDateTime!—
createdByString!—
triggeredEntries[LedgerJournalEntry!]!—

Example

query
{ eventBlocks { id eventType eventCategory eventClass } }
curl
curl -X POST "https://api.robosystems.ai/extensions/$GRAPH_ID/graphql" \
  -H "X-API-Key: $ROBOSYSTEMS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "{ eventBlocks { id eventType eventCategory eventClass } }"}'