Run an automation
Changed onStarts one run of an automation the caller may change (404 otherwise). Each call starts a new run, including while an earlier run of the automation is still in progress. The run executes as the identity the automation runs as, never as the caller. 202 means the run started. 409 when the Slack or organization-default routing refuses the run, when the run paused the automation instead of starting (the response names the reason, and later runs stay paused until it is resumed), or when the automation is hosted on a self-hosted computer whose droid is too old to run it more than once at a time and a run is in progress there. CI automations, Slack automations with no computer or environment, and local automations without a registered computer cannot be started here (400). A local automation hosted on a computer connected through Remote Control starts on that computer, which must be online: 424 when it is unreachable, runs an incompatible daemon, or refuses the run. A 424 saying the computer did not confirm the start means the run may still be starting; check run history before retrying.
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Path parameters
Automation ID
Headers
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 202
Changes
- info
endpoint added
- info