QueryPage when you need manual pagination. Use Jobs.Query for automatic lazy pagination.
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 task state. Only jobs with at least one task in any of the given states are returned.
Filter jobs by name.
Start the query after the cursor returned by a previous page.
Limit the number of jobs returned in this page.
Sort jobs by submission date. Use
job.Ascending for oldest first or job.Descending for newest first.Returns
AJobPage with jobs and an optional NextCursor for the next page.