Workflows

Update workflow

Replace any draft fields, query steps, or delivery actions. Include expectedDraftRevision whenever the draft changes. Set isActive to true to validate and atomically publish an immutable production version, or false to stop scheduled runs.

patch/workflows/{id}

Request

  • Base URL: https://app.aifordatabase.com/api/v1
  • URL: https://app.aifordatabase.com/api/v1/workflows/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Resource ID

Request body

namestring
descriptionstring
connectionIdstring nullable
projectIdstring nullable
triggerType'MANUAL' | 'SCHEDULE'
expectedDraftRevisioninteger

Required whenever a draft field, step, or action changes. Read the current draftRevision first; a stale revision returns HTTP 409.

acknowledgedWarningsstring[]

Exact warning strings returned by a prior publish attempt. Resubmit them to explicitly confirm publishing.

isActiveboolean

Response

Workflow updated

errorunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.