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

# FunctionRunUpdateRequest

> [!TIP]
>
> Read [the Notte skill](https://notte.cc/skill.md) and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.

[Source: node-sdk/src/functions.ts](https://github.com/nottelabs/notte/blob/main/node-sdk/src/functions.ts)

Inline fields accepted by updateRun; the SDK manages storage references.

```typescript theme={null}
export type FunctionRunUpdateRequest = Omit<ApiFunctionRunUpdateRequest, 'payloads' | 'result_preview'>;
```

## Fields

**error** `FunctionRunError | null | undefined`

The typed error of a failed or rejected run

**session\_id** `string | null | undefined`

The ID of the session

**status** `"failed" | "rejected" | "closed" | "active"` *required*

The status of the function run

**result** `unknown`

The result of the function run

**logs** `string[] | null | undefined`

The logs of the function run

**variables** `\{ [key: string]: unknown; \} | null | undefined`

The variables of the function run

## Related types

* [ApiFunctionRunUpdateRequest](https://docs.notte.cc/typescript-sdk-reference/types/apifunctionrunupdaterequest)


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