Skip to content
Navigation

Run an automation now

Fires an automation immediately, exactly as its schedule would: the same thread, the same approval gate, the same fire-history row. Entitlement is checked at fire time. Takes the automation’s own id (aut_…). A run already live in the thread answers busy; one parked on an approval answers needs_input. An automation that has been migrated to a trigger keeps answering this URL: the trigger runs, in this same envelope. That fire is queued, so it answers started with runId: null; where runId is present it names the work session (ws_…) the fire opened, not a thread run.

POST
https://api.cloudraker.com/v1/automations/{automationId}/run
Try it
Path parameters
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • automationId
    string
    required

Returns

200

The fire outcome.

JSON
  • data
    object
    required
    • automationRunId
      string
      required

      The fire record. Opaque and stable: a retry of the same signed request reports the same id.

    • threadId
      string | null
      required

      The thread the run posts in, when the fire opened one at once. null while the fire is queued.

    • runId
      string | null
      required

      The run the fire started. For an automation that has moved to the trigger surface this is its work session (ws_…). It is null while the fire is still queued, which is what a started answer reports for such an automation.

    • status
      started
      or
      success
      or
      busy
      or
      needs_input
      or
      blocked
      or
      error
      required

404

not_found — unknown automation.

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close