Skip to main content
Anchor to AutomationWorkflowRunPage

AutomationWorkflowRunPage

object

Requires write_automations access scope. Also: The app must have write access to automations and act on behalf of a user.

A bounded page of an automation's run summaries, read live. The continuation doesn't pin a snapshot of the results.

•String

Pass as after, with the same arguments, to read the next page. Returns null when the traversal is exhausted at read time, which doesn't mean that indexing is complete. It's the only paging signal. A page can be empty and still have a continuation.

•[AutomationWorkflowRunSummary!]!
non-null

The runs on this page that match the filters, newest first.

Show fields
•[AutomationWorkflowRunSummary!]!
non-null

The runs on this page whose run-level fields, status, or error answer couldn't be established for the filters. Each run's state gives the reason.

Show fields

Was this section helpful?

•query

Returns a page of an automation's production or test runs, newest first, with their run-level fields. Each call examines at most first runs, so a page can have fewer results, or none, and still return a continuation. Returns null when no automation with the ID exists or it isn't readable. This read is one of the request's automation run reads. A request makes at most 32, and each read after that returns a BAD_REQUEST error.

Show fields

Arguments

•String

The continuation from the previous page. Pass it with the same arguments; omit it to start over.

•Int

The number of runs to examine. Defaults to 10. The maximum is 30.

•Boolean

Returns only runs that have, or don't have, failed steps or a failed trigger hydration, independent of their status. With true, only runs with a recorded failed step are found.

•AutomationWorkflowRunKind

Whether to return production or test runs. Defaults to production runs.

Show enum values
•AutomationWorkflowRunStatus

Returns only runs with this lifecycle status. For test runs, COMPLETED and FAILED are returned only after the run's results are indexed.

Show enum values
•AutomationWorkflowRunTimeRangeInput

Returns only runs that started within this inclusive range. It doesn't filter by when a step ran or the run last changed.

Show input fields
•ID!
required

The ID of the automation whose runs to return.



Was this section helpful?