---
title: "Update a schedule (cron, input, enabled)."
method: PATCH
path: "/graphs/{graphId}/schedules/{id}"
tags: ["schedules"]
---

# Update a schedule (cron, input, enabled).

`PATCH /graphs/{graphId}/schedules/{id}`

## Request

- Base URL: `https://api.livegraph.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.livegraph.ai/graphs/{graphId}/schedules/{id}`
- Auth: one of:
  - API key in cookie `livegraph_session`
  - API key in header `x-api-key`

## Path parameters

- `graphId` string, uuid, required
- `id` string, uuid, required

## Request body

- object
  - `name` string
  - `input` unknown
  - `cronExpression` string
  - `mode` 'pinned' | 'live'
  - `enabled` boolean
  - `quiet` boolean
  - `queueGate` object, nullable
    - `repo` string, required
    - `branchPrefix` string
    - `signal` boolean
    - `baseBranch` string
    - `path` string
    - `idPrefix` string
    - `wipLimit` integer
    - `dailyCap` integer
    - `dailyUsd` number
    - `refillNodeId` string, uuid
    - `lowWaterMark` integer
    - `artifactDir` string

## Response `200`

Success — see summary for the response shape.

## Other responses

- `4XX`: Client error — body is the shared {error, code?} envelope.

## Changes

- **2026-10-19** `551085d7719e`: 2 info
  - added the new optional request property `queueGate/anyOf[subschema #1]/signal`
  - the request property `queueGate/anyOf[subschema #1]/branchPrefix` became optional

[Operation history](https://skmtc.dev/livegraph/apis/livegraph-api/changes/graphs/:graphId/schedules/:id/patch.md)

---

[API](https://skmtc.dev/livegraph/apis/livegraph-api.md) · [All operations](https://skmtc.dev/livegraph/apis/livegraph-api/llms.txt) · [OpenAPI document](https://skmtc.dev/livegraph/apis/livegraph-api/revisions/551085d7719e?raw)
