Workflows

Inspect a Workflow

Changed on

Returns the Workflow's library entry (caller role, connection readiness, result freshness, view state, Automation count), its detail (current and past versions, latest snapshot, latest successful snapshot), and the generated Artifact views bound to it. maxAgeMs (60 seconds to 30 days, default 24 hours) is the threshold that classifies the latest result as fresh or stale. Version code and example input are redacted for members without manager access; when generated Artifact views are disabled for the deployment, views is empty and viewState is default.

get/v1/workflows/{configObjectId}

Request

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

Path parameters

configObjectId, string required

Query parameters

maxAgeMs, integer

Response

Workflow returned.

object required
workflow, object required
script, object required
views, object[] required

Changes

    • info

      added the optional property workflow/failureReason to the response with the status

    • breaking

      the response property script/currentVersion/code became nullable for the status

    • breaking

      the response property script/currentVersion/graph/anyOf[subschema #1]/edges/items/label became nullable for the status

    49 more changes in this revision