---
title: "Patch Schedule"
method: PATCH
path: "/api/workspace/analytics/schedules/{schedule_id}"
tags: ["workspace-analytics", "workspace-analytics"]
---

# Patch Schedule

`PATCH /api/workspace/analytics/schedules/{schedule_id}`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/workspace/analytics/schedules/{schedule_id}`
- Auth: none declared

Update a schedule's properties.

Recomputes next_run_at if schedule fields change. Sets updated_at=now().
If resuming (status='active' from paused), clears consecutive_failures.

## Path parameters

- `schedule_id` integer, required

## Request body

- SchedulePatch
  - `frequency` 'daily' | 'weekly' | 'monthly', nullable
  - `day_of_week` integer, nullable
  - `day_of_month` integer, nullable
  - `time_of_day` string, nullable
  - `timezone` string, nullable
  - `status` 'active' | 'paused', nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
