Run now, outside the schedule; works while paused [write]

Changed on

With no body it is a manual run: trigger_context {type:"manual"}. With input or idempotency_key it is an API-triggered run: trigger_context {type:"api"}; the input is added to the run's first message under the label "Input for this run:", and a repeated idempotency_key on the same routine returns the first run instead of starting another. Neither emits routine_run webhooks.

post/routines/{id}/run

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/routines/{id}/run
  • Auth
    HTTP bearer

Path parameters

idstring required

The routine id (rtn_…)

Request body

inputstring

What this run should work on, such as an event's payload

idempotency_keystring

The caller's id for the event; a repeat returns the first run

Response

Created

Changes

    • info

      added optional request body

    • info

      added the optional property / to the response with the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status