Parameters
[]job.QueryOption
Options for querying jobs
Options
Filter jobs by time or job ID interval.
Filter jobs by the automations that submitted them.
Filter jobs by job state.
Filter jobs by name.
Filter jobs by the states of their tasks. Only jobs that have at least one task in any of the given states will be returned. Useful for finding jobs with optional task failures.
Start the query after the cursor returned by a previous page.
Limit the total number of jobs yielded by the sequence.
Sort jobs by submission date. Use
job.Ascending for oldest first or job.Descending for newest first.