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

[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

<ParamField body="session_id" type={"string | null | undefined"}>
  The ID of the session
</ParamField>

<ParamField body="status" type={"\"active\" | \"closed\" | \"failed\""} required>
  The status of the workflow run
</ParamField>

<ParamField body="result" type={"unknown"}>
  The result of the workflow run
</ParamField>

<ParamField body="logs" type={"string[] | undefined"}>
  The logs of the workflow run
</ParamField>

<ParamField body="variables" type={"{ [key: string]: unknown; } | null | undefined"}>
  The variables of the workflow run
</ParamField>

## Related types

* [ApiFunctionRunUpdateRequest](/typescript-sdk-reference/types/apifunctionrunupdaterequest)


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