Automations
List automation runs
Changed onReturns run history for a specific automation (derived from sessions). Available to the owner, and to every member for an automation shared with the organization (404 otherwise); runs whose sessions the caller cannot view are left out.
get/api/v0/automations/{automationId}/runs
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Path parameters
automationId, string required
Automation ID
Query parameters
limit, integer
Maximum number of items to return (1-100)
cursor, string
Cursor for pagination
includeFactoryStandardCredits, boolean
Whether to include Factory Standard Credits. Defaults to true when omitted.
Headers
X-Factory-Org-Id, string
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
List Automation Runs200 Response Body required
factoryStandardCreditsVisibility, 'visible' | 'hidden' | 'unavailable'
runs, object[] required
pagination, object required
Changes
- info
endpoint added
- info