---
title: "Function Run Start"
method: POST
path: "/functions/{function_id}/runs/start"
tags: ["functions"]
---

# Function Run Start

`POST /functions/{function_id}/runs/start`

## Path parameters

- `function_id` string, required

## Headers

- `x-notte-api-key` string, required
- `x-notte-request-origin` string, nullable
- `x-notte-sdk-version` string, nullable

## Request body

- RunFunctionRequest
  - `workflow_id` string, required — The ID of the function to run
  - `variables` object, required — The variables to run the workflow with
  - `stream` boolean — Whether to stream logs, or only return final response

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/notte/apis/notte-api.md) · [All operations](https://skmtc.net/notte/apis/notte-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/notte/notte-api/versions/8dda4e3d49cc/schema)
