Get an automation
Changed onReturns an automation the caller may read: its owner, any member when it is shared with the organization, any member of the workstream that created it when it runs as a service account, and the service account it runs as. canWrite says whether the caller may also change it. Any other automation answers 404, as an unknown id does.
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Path parameters
Automation ID
Query parameters
Set to "true" to allow a webhook-triggered automation in the response.
Set to "true" to allow a chained (automation-triggered) automation in the response.
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 200
More values may be added; treat a value you do not know as unknown.
More values may be added; treat a value you do not know as unknown.
Unix timestamp, in milliseconds, when the automation was created.
Unix timestamp, in milliseconds, when the automation last changed.
More values may be added; treat a value you do not know as unknown.
Whether the caller may edit, pause or resume, delete, or run the automation: always for its owner; when it runs as a service account, for the creators and editors of the workstream that created it, and, when it is shared with the organization, for every other human member except that workstream's viewers.
Changes
- info
endpoint added
- info