Automations

List the caller's Automation runs in a time range

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. Returns runs of every Automation the caller owns whose scheduled time (else start, else creation) falls in [from, to), for calendar views. At most 45 days per request.

get/v1/automation-runs

Request

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

Query parameters

from, integer required

Inclusive lower bound, epoch milliseconds.

to, integer required

Exclusive upper bound, epoch milliseconds.

cursor, string

nextCursor from the previous page.

limit, integer

Maximum runs to scan for this page (default 200).

Response

Runs in the range returned.

AutomationRunRange required
items, AutomationRun[] required
nextCursor, string nullable required

Changes

    • warning

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

    • info

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