Skip to main content
POST
Stop a workflow's doctor
No further step runs. The changes it already made are kept; restore an earlier version to undo them. The answer is the chat and an answer saying whether anything was running. Stopping when nothing runs changes nothing. Only the owner or an editor in the workflow’s workspace. Needs workflows:write. MCP tool: stop_workflow_doctor, with slug. In the app, it is Stop in the Brain chat.

Authorizations

Authorization
string
header
required

API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.

Headers

Idempotency-Key
string

Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.

Required string length: 1 - 255

Path Parameters

slug
string
required

Response

Successful Response

workflow_slug
string
required
answer
string
required

What happened to your message, in plain words.

messages
WorkflowChatMessage · object[]
working
boolean
default:false

The doctor is working on a message now; its answer is posted here.

status_url
string | null

Where its answer is posted (GET /v1/workflows/{slug}/doctor).

next_step
string | null

While it works: the call that reads its answer and when.