Internal

Complete an Automation run

Changed on
post/v1/automation-runs/{id}/complete

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    HTTP bearer

Path parameters

id, string required

Request body

object required
attempt, integer required
status, 'succeeded' | 'failed' | 'cancelled' required
sessionId, string nullable required
workspaceId, string nullable required
resultSummary, string nullable required
usage, AutomationUsage required
error, AutomationError nullable required

Response

The completed run.

AutomationRunResponse required
run, AutomationRun required

Changes

    • info

      added the non-success response with the status

    • 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 new connection_action_required enum value to the request property error/anyOf[#/components/schemas/AutomationError]/code