Magidoc

recordSessionActivity
Mutation

Records a batch of activity events against an existing Session. Called by the engine at session end. Unknown sessionIds are rejected; unknown eventType values are rejected; client-supplied eventIds are deduplicated. COMPLETE and INVALID (superseded) sessions accept events within a 24h grace window so offline-retried batches still attach.

Arguments

#

events

Non-null

sessionId

Non-null

The Session this batch belongs to.

Response

#

Returns RecordSessionActivitiesPayload !.

Example

#