Stream canonical run events

streamCanonicalRunEventsV1(command: CanonicalRunStreamCommandV1!, lastEventId: RunEventCursorV1): RunStreamMemberV1!

Arguments

ArgumentTypeRequired
commandCanonicalRunStreamCommandV1!Yes
lastEventIdRunEventCursorV1No

Input fields

command

CanonicalRunStreamCommandV1

FieldTypeRequired
runIdID!Yes

Response

Returns RunStreamMemberV1!. Open the type for its fields and nested types.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

graphql
subscription StreamCanonicalRunEventsV1($command: CanonicalRunStreamCommandV1!, $lastEventId: RunEventCursorV1) {
  streamCanonicalRunEventsV1(command: $command, lastEventId: $lastEventId) {
    __typename
    ... on CanonicalRunEventMemberV1 {
    value
    }
    ... on LegacyRunEventMemberV1 {
    value
    }
  }
}
json
{
  "command": {
    "runId": "00000000-0000-4000-8000-000000000001"
  }
}