Append run events.
Arguments
commandRunsAppendRunEventsCommand!requiredcommand.runIdID!requiredcommand.inputRunsAppendRunEventsCommandInput!requiredidempotencyKeyStringRetry key for this append (1–128 characters); overrides Idempotency-Key. Task and Workflow runs require this argument or the Idempotency-Key HTTP header; Agent runs may omit both.
Responses
mutation AppendRunEvents($command: RunsAppendRunEventsCommand!) { appendRunEvents(command: $command) { latestEventId latestExternalEventSequence appendedCount acknowledgedEventIds recoveryCheckpoint { snapshotEventId snapshotExternalSequence checkpointEventId } runId modelCallCaptures { eventId modelCallId runId projectId } toolCallAdmissions { occurrenceId admissionEventId startEventId toolCallId publicToolCallId runId projectId } }}{ "data": { "appendRunEvents": { "latestEventId": 0, "latestExternalEventSequence": 0, "appendedCount": 0, "acknowledgedEventIds": [0], "recoveryCheckpoint": { "snapshotEventId": 0, "snapshotExternalSequence": 0, "checkpointEventId": 0 }, "runId": "string", "modelCallCaptures": [ { "eventId": "string", "modelCallId": "string", "runId": "string", "projectId": "string" } ], "toolCallAdmissions": [ { "occurrenceId": "string", "admissionEventId": "string", "startEventId": "string", "toolCallId": "string", "publicToolCallId": "string", "runId": "string", "projectId": "string" } ] } }}The RunsAppendEventsResult! in data.appendRunEvents.