Browse the extensions reference

eventBlocks

returns [EventBlock!]!

List 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 isReconcilingItemtrue 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.
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.

Returns EventBlock

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

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 } }"}'