> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# RunDetail

> Response type in the GraphQL API.

A run with its descendant counts, as REST GET /runs/\{run\_id}.

| Field | Type | Description |
| - | - | - |
| `runId` | [`ID!`](/docs/cloud/graphql/types/id) | |
| `id` | [`ID!`](/docs/cloud/graphql/types/id) | The run id. Same value as runId, which it replaces. |
| `kind` | [`String!`](/docs/cloud/graphql/types/string) | |
| `status` | [`String!`](/docs/cloud/graphql/types/string) | |
| `owner` | [`RunOwner!`](/docs/cloud/graphql/types/runowner) | |
| `projectId` | [`ID`](/docs/cloud/graphql/types/id) | The project the run belongs to; null only for a run outside any project. With conversationId, replaces owner. |
| `conversationId` | [`ID`](/docs/cloud/graphql/types/id) | |
| `messageId` | [`ID`](/docs/cloud/graphql/types/id) | |
| `usage` | [`RunUsage`](/docs/cloud/graphql/types/runusage) | |
| `toolErrorCount` | [`Float!`](/docs/cloud/graphql/types/float) | |
| `childrenFailed` | [`Boolean!`](/docs/cloud/graphql/types/boolean) | |
| `parentRunId` | [`ID`](/docs/cloud/graphql/types/id) | |
| `rootRunId` | [`ID!`](/docs/cloud/graphql/types/id) | |
| `waitingReason` | [`String`](/docs/cloud/graphql/types/string) | |
| `waitingOn` | [`[RunWaitingDependency!]`](/docs/cloud/graphql/types/runwaitingdependency) | Active dependencies while waitingReason is child\_run: every listed run must finish first. Null otherwise. |
| `waiting` | [`RunWaiting`](/docs/cloud/graphql/types/runwaiting) | Why the run is waiting; null unless status is waiting. Replaces waitingReason and waitingOn. |
| `metadata` | [`JSON`](/docs/cloud/graphql/types/json) | |
| `cancellation` | [`RunCancellation`](/docs/cloud/graphql/types/runcancellation) | |
| `pause` | [`RunPause`](/docs/cloud/graphql/types/runpause) | |
| `control` | [`JSON`](/docs/cloud/graphql/types/json) | |
| `title` | [`String`](/docs/cloud/graphql/types/string) | The custom title set at creation with request.name; null when none was set. |
| `target` | [`String`](/docs/cloud/graphql/types/string) | |
| `workflowId` | [`String`](/docs/cloud/graphql/types/string) | |
| `scheduleId` | [`ID`](/docs/cloud/graphql/types/id) | |
| `batchId` | [`ID`](/docs/cloud/graphql/types/id) | |
| `runtimeTargetKind` | [`String`](/docs/cloud/graphql/types/string) | |
| `runtimeTargetEnvironmentId` | [`ID`](/docs/cloud/graphql/types/id) | |
| `runtimeTargetBranchId` | [`ID`](/docs/cloud/graphql/types/id) | |
| `input` | [`JSON`](/docs/cloud/graphql/types/json) | |
| `config` | [`JSON`](/docs/cloud/graphql/types/json) | |
| `output` | [`JSON`](/docs/cloud/graphql/types/json) | |
| `error` | [`JSON`](/docs/cloud/graphql/types/json) | |
| `logs` | [`String`](/docs/cloud/graphql/types/string) | |
| `artifacts` | [`[JSON]!`](/docs/cloud/graphql/types/json) | |
| `durationMs` | [`Float`](/docs/cloud/graphql/types/float) | |
| `exitCode` | [`Float`](/docs/cloud/graphql/types/float) | |
| `startMode` | [`String`](/docs/cloud/graphql/types/string) | |
| `timeoutSeconds` | [`Float`](/docs/cloud/graphql/types/float) | |
| `backoffLimit` | [`Float`](/docs/cloud/graphql/types/float) | |
| `inputSchemaSha256` | [`String`](/docs/cloud/graphql/types/string) | |
| `outputSchemaSha256` | [`String`](/docs/cloud/graphql/types/string) | |
| `inputSchemaHash` | [`String`](/docs/cloud/graphql/types/string) | sha256:\<hex> of the declared input schema. Replaces inputSchemaSha256. |
| `outputSchemaHash` | [`String`](/docs/cloud/graphql/types/string) | sha256:\<hex> of the declared output schema. Replaces outputSchemaSha256. |
| `trigger` | [`RunTrigger`](/docs/cloud/graphql/types/runtrigger) | How and by whom the run was started; null for runs recorded without a principal. |
| `triggerKind` | [`String`](/docs/cloud/graphql/types/string) | |
| `triggerId` | [`String`](/docs/cloud/graphql/types/string) | |
| `triggerPrincipalType` | [`String`](/docs/cloud/graphql/types/string) | |
| `triggerPrincipalId` | [`String`](/docs/cloud/graphql/types/string) | |
| `createdBy` | [`String`](/docs/cloud/graphql/types/string) | |
| `updatedAt` | [`String!`](/docs/cloud/graphql/types/string) | |
| `createdAt` | [`String!`](/docs/cloud/graphql/types/string) | |
| `startedAt` | [`String`](/docs/cloud/graphql/types/string) | |
| `completedAt` | [`String`](/docs/cloud/graphql/types/string) | |
| `activeDescendantCount` | [`Float!`](/docs/cloud/graphql/types/float) | Pending, running or waiting descendants at any depth, excluding this run. |
| `descendantsUsage` | [`RunUsage`](/docs/cloud/graphql/types/runusage) | Usage summed over every run below this one, or null when no descendant has usage. |
| `descendantCount` | [`Float!`](/docs/cloud/graphql/types/float) | |

[All GraphQL types](/docs/cloud/graphql/schema) · [Operations](/docs/cloud/graphql)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.