appendRunEvents(command: RunsAppendRunEventsCommand!, idempotencyKey: String): RunsAppendEventsResult!
Arguments
Input fields
command
Response
Returns RunsAppendEventsResult!. 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
query.graphql
mutation AppendRunEvents($command: RunsAppendRunEventsCommand!, $idempotencyKey: String) { appendRunEvents(command: $command, idempotencyKey: $idempotencyKey) { runId acknowledgedEventIds appendedCount latestEventId latestExternalEventSequence }}variables.json
{ "command": { "runId": "11111111-1111-4111-8111-111111111111", "input": { "events": [ { "type": "TEXT_MESSAGE_START", "messageId": "message_example", "contentId": "content_example", "role": "assistant" } ] } }}