List Jobs
jobs_list(
state = NULL,
type = NULL,
q = NULL,
permission = NULL,
scheduled = NULL,
hidden = NULL,
archived = NULL,
author = NULL,
limit = NULL,
page_num = NULL,
order = NULL,
order_dir = NULL
)
An array containing the following fields:
integer,
string,
string,
integer,
string, Whether the job is idle, queued, running, cancelled, or failed.
string,
string,
list, A list containing the following elements:
id integer,
state string,
createdAt string, The time that the run was queued.
startedAt string, The time that the run started.
finishedAt string, The time that the run completed.
error string, The error message for this run, if present.
string, The archival status of the requested item(s).
list, A list containing the following elements:
id integer, The ID of this user.
name string, This user's name.
username string, This user's username.
initials string, This user's initials.
online boolean, Whether this user is online.
list, A list containing the following elements:
scheduled boolean, If the item is scheduled.
scheduledDays array, Days of the week, based on numeric value starting at 0 for Sunday. Mutually exclusive with scheduledDaysOfMonth
scheduledHours array, Hours of the day it is scheduled on.
scheduledMinutes array, Minutes of the day it is scheduled on.
scheduledRunsPerHour integer, Deprecated in favor of scheduled minutes.
scheduledDaysOfMonth array, Days of the month it is scheduled on, mutually exclusive with scheduledDays.
string optional. The job's state. One or more of queued, running, succeeded, failed, and cancelled. Specify multiple values as a comma-separated list (e.g., "A,B").
string optional. The job's type. Specify multiple values as a comma-separated list (e.g., "A,B").
string optional. Query string to search on the id, name, and job type.
string optional. A permissions string, one of "read", "write", or "manage". Lists only jobs for which the current user has that permission.
boolean optional. If the item is scheduled.
boolean optional. If specified to be true, returns hidden items. Defaults to false, returning non-hidden items.
string optional. The archival status of the requested item(s).
string optional. If specified, return items from any of these authors. It accepts a comma-separated list of user IDs.
integer optional. Number of results to return. Defaults to its maximum of 50.
integer optional. Page number of the results to return. Defaults to the first page, 1.
string optional. The field on which to order the result set. Defaults to updated_at. Must be one of: updated_at.
string optional. Direction in which to sort, either asc (ascending) or desc (descending) defaulting to desc.