Browse the extensions reference

eventHandlers

returns EventHandlerList

The graph's event handlers — the rules that turn a matching event into GL rows — highest priority first, active or not.

A handler an AI client created, or whose match or template an AI client last changed, is a suggestion (awaitingApproval): it takes no part in matching until a person approves it with update-event-handler.

Arguments

NameTypeDescription
eventTypeStringOnly handlers for this event type.
isActiveBooleanOnly active (true) or inactive (false) handlers. Omit for both.
awaitingApprovalBooleanOnly the AI's unapproved suggestions (true), or everything else (false). Omit for both.
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 EventHandlerList

A page of event handlers, highest priority first.

FieldTypeDescription
eventHandlers[EventHandler!]!Handlers, highest priority first.
paginationPaginationInfo!Pagination metadata.

Example

query
{ eventHandlers }
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": "{ eventHandlers }"}'