Skip to main content
PATCH /workflows/:id/prompt Replace an agent’s base (global) prompt — what it says, who it qualifies, and the goal it works toward. This is the editable prompt surfaced in the dashboard’s agent editor. For a per-channel override on top of this base prompt, see Set Channel Prompts.

Path Parameters

Request Body

Responses

200 — Prompt updated

400 — Validation error

Also returned if global_prompt exceeds 50,000 characters.

401 — Authentication error

See Authentication.

404 — Not found

500 — Internal server error

Last modified on July 10, 2026