---
title: "Update Automation"
method: PUT
path: "/api/automations/{automation_id}"
tags: ["automation"]
---

# Update Automation

`PUT /api/automations/{automation_id}`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/automations/{automation_id}`
- Auth: none declared

Update an automation.

## Path parameters

- `automation_id` string, uuid, required

## Cookies

- `session` string, nullable

## Request body

- AutomationUpdate
  - `name` string, nullable
  - `prompt` string, nullable
  - `schedule_type` string, nullable
  - `schedule_time` string, nullable
  - `schedule_day` integer, nullable
  - `timezone` string, nullable
  - `document_id` string, nullable
  - `notification_settings` ReportAlertSettings
    - `mode` 'significant' | 'condition'
    - `condition` string
    - `channel` 'email' | 'slack'
    - `integration_id` string, uuid, nullable
    - `channel_id` string, nullable
    - `channel_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
