Routines
Trigger a routine
Changed onStarts an execution of a routine defined in your Dotfile workspace. The agent runs the routine prompt autonomously; the call returns as soon as the execution is enqueued, and the outcome is reported through the autonomy run webhooks.
Only routines carrying an external_api trigger can be fired here — a routine without one or a disabled routine is refused with a 409. Scope the execution to a case with case_id, or leave it out to run across the whole workspace.
post/v1/routines/{slug}/trigger
Request
- Base URLhttps://api.dotfile.com
- AuthAPI key in header X-DOTFILE-API-KEY
Path parameters
slugstring required
Identifier of the routine, generated from its title at creation and stable across renames. Shown in the console on the routine settings.
Request body
Response
The execution started
ℹ️ Click to see full payload
Changes
- info
endpoint added
- info