Automations

Cancel an active Automation run

Changed on

Den schedules Automations and keeps durable run history. A Desktop Automation runs on any of the owner's connected desktops (one pinned to a workspace, on a desktop that has it); a Cloud Automation runs in OpenWork Cloud. If no desktop runner is connected when a desktop occurrence is due, that occurrence is recorded as missed. Creation makes an Automation active immediately and uses the owner's current OpenWork Connect integrations. Deactivation stops future runs but does not cancel a run already in progress.

post/v1/automation-runs/{id}/cancel

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

id, string required

Response

Cancellation requested.

AutomationRunResponse required
run, AutomationRun required

Changes

    • warning

      added the new connection_action_required enum value to the run/error/anyOf[#/components/schemas/AutomationError]/code response property for the response status

    • info

      added the optional property run/triggerContext to the response with the status