returns EventBlock
Fetch a single event block by id.
| Name | Type | Description |
|---|---|---|
| id | String! | The event block's id. |
| Field | Type | Description |
|---|---|---|
| id | String! | — |
| eventType | String! | — |
| eventCategory | String! | — |
| eventClass | String! | — |
| status | String! | — |
| occurredAt | DateTime! | — |
| effectiveAt | DateTime | — |
| source | String! | — |
| externalId | String | — |
| externalUrl | String | — |
| amount | Int | — |
| currency | String! | — |
| description | String | — |
| metadata | JSON! | — |
| isReconcilingItem | Boolean! | — |
| dimensionIds | [String!]! | — |
| agentId | String | — |
| resourceType | String | — |
| resourceElementId | String | — |
| replacedByEventId | String | — |
| replacesEventId | String | — |
| obligatedByEventId | String | — |
| dischargesEventId | String | — |
| createdAt | DateTime! | — |
| createdBy | String! | — |
{ eventBlock(id: "rec_...") { id eventType eventCategory eventClass } }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": "{ eventBlock(id: \"rec_...\") { id eventType eventCategory eventClass } }"}'