Skip to main content

gameModelEventsConnection

Relay-style cursor-paginated version of gameModelEvents: query the function-invocation event log (audit trail) with optional filters. Page forward with first (default 50, max 200) and after (an opaque cursor from a previous page’s pageInfo.endCursor), which replace the legacy limit/offset. Useful for debugging functions or showing recent activity. Requires a valid token.

gameModelEventsConnection(
appId: BigInt!
first: Int
after: String
sessionId: String
selfContainerId: String
functionName: String
success: Boolean
): GameModelEventsConnection!

Arguments

gameModelEventsConnection.appId ● BigInt! non-null scalar

The app (tenant) whose events to query.

gameModelEventsConnection.first ● Int scalar

Return the first N edges after after. Default 50; clamped to 1..200.

gameModelEventsConnection.after ● String scalar

Opaque cursor: return edges after this one. Pass a previous page's pageInfo.endCursor. Omit for the first page.

gameModelEventsConnection.sessionId ● String scalar

Optional: only events in this session.

gameModelEventsConnection.selfContainerId ● String scalar

Optional: only events whose self container was this UUID.

gameModelEventsConnection.functionName ● String scalar

Optional: only events for this function name.

gameModelEventsConnection.success ● Boolean scalar

Optional: filter by outcome (true = succeeded, false = failed).

Type

GameModelEventsConnection object

Relay-style cursor-paginated connection over the function-invocation event log (GmEvent). Page with first/after; cursors are opaque.