> ## 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.

# RunsFinalizeRunCommandInput

> Input object in the GraphQL API.

Finalizes a run with output or an error.

| Field | Type | Required | Description |
| - | - | - | - |
| `status` | [`String!`](https://veryfront.com/docs/cloud/graphql/types/string) | Yes | |
| `finalText` | [`String`](https://veryfront.com/docs/cloud/graphql/types/string) | No | Authoritative final text from the current run runtime, including an empty filtered answer. Not accepted for owner finalization. |
| `output` | [`JSON`](https://veryfront.com/docs/cloud/graphql/types/json) | No | Any JSON value. A text-only agent runtime may omit this to use its durable final text. |
| `error` | [`RunsFinalizeRunCommandInputError`](https://veryfront.com/docs/cloud/graphql/types/runsfinalizeruncommandinputerror) | No | |

[All GraphQL types](https://veryfront.com/docs/cloud/graphql/schema.md) · [Operations](https://veryfront.com/docs/cloud/graphql.md)


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