---
title: "Function Schedule Set"
method: POST
path: "/functions/{function_id}/schedule"
tags: ["functions"]
---

# Function Schedule Set

`POST /functions/{function_id}/schedule`

## Path parameters

- `function_id` string, required

## Headers

- `x-notte-request-origin` string, nullable
- `x-notte-sdk-version` string, nullable

## Request body

- FunctionScheduleCreateRequest
  - `cron` string, required
  - `variables` object, nullable, required

## Response `200`

Successful Response

- ScheduleResponse
  - `status` string, required

## 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/revisions/8dda4e3d49cc/schema)
