runId | ID! | |
conversationId | ID | |
messageId | ID | Null when no message is attached to the run. |
projectId | ID | |
requestedByUserId | ID! | |
triggerPrincipalType | String | Authenticated principal type that fired the run: system, user, api_key or service_account. Null for legacy rows. |
triggerPrincipalId | String | Stable identifier of the authenticated principal that fired the run. Null for legacy rows. |
agentId | String! | |
status | String! | Stored agent run status: pending, running, waiting_for_tool, completed, failed or cancelled. waiting_for_tool is the canonical Run status waiting, with waiting_reason tool when waitingToolCallId is set and input when it is null. |
implementationKind | String | |
workerKey | String | |
sourceTargetKind | String | |
sourceTargetEnvironmentId | ID | |
sourceTargetBranchId | ID | |
sourceTargetReleaseVersion | String | Release version used as the source target, when the run was pinned to a release. |
runtimeTargetKind | String | |
runtimeTargetEnvironmentId | ID | |
runtimeTargetBranchId | ID | |
parentConversationId | ID | |
parentRunId | ID | |
spawnedFromMessageId | ID | |
spawnedFromToolCallId | String | |
inputAnchorMessageId | ID | |
handoffMessageId | ID | |
resolvedDeploymentId | ID | |
latestEventId | Int! | |
latestExternalEventSequence | Int | Highest external event sequence appended by an externally managed runtime, or null when none. |
waitingToolCallId | String | |
waitingToolName | String | |
terminalErrorCode | String | |
terminalErrorMessage | String | |
createdAt | String! | |
startedAt | String | |
finishedAt | String | |
runSnapshot | JSON! | Durable run identity derived from persisted run columns: projectAgent, source, runtimeTarget and requester. The camelCase projection of REST run_snapshot. |