Type alias ListCompletedJobsData

ListCompletedJobsData: {
    args?: string;
    createdBy?: string;
    hasNullParent?: boolean;
    isFlowStep?: boolean;
    isNotSchedule?: boolean;
    isSkipped?: boolean;
    jobKinds?: string;
    label?: string;
    orderDesc?: boolean;
    page?: number;
    parentJob?: string;
    perPage?: number;
    result?: string;
    schedulePath?: string;
    scriptHash?: string;
    scriptPathExact?: string;
    scriptPathStart?: string;
    startedAfter?: string;
    startedBefore?: string;
    success?: boolean;
    tag?: string;
    workspace: string;
}

Type declaration

  • Optional args?: string

    filter on jobs containing those args as a json subset (@> in postgres)

  • Optional createdBy?: string

    mask to filter exact matching user creator

  • Optional hasNullParent?: boolean

    has null parent

  • Optional isFlowStep?: boolean

    is the job a flow step

  • Optional isNotSchedule?: boolean

    is not a scheduled job

  • Optional isSkipped?: boolean

    is the job skipped

  • Optional jobKinds?: string

    filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,

  • Optional label?: string

    mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels')

  • Optional orderDesc?: boolean

    order by desc order (default true)

  • Optional page?: number

    which page to return (start at 1, default 1)

  • Optional parentJob?: string

    The parent job that is at the origin and responsible for the execution of this script if any

  • Optional perPage?: number

    number of items to return for a given page (default 30, max 100)

  • Optional result?: string

    filter on jobs containing those result as a json subset (@> in postgres)

  • Optional schedulePath?: string

    mask to filter by schedule path

  • Optional scriptHash?: string

    mask to filter exact matching path

  • Optional scriptPathExact?: string

    mask to filter exact matching path

  • Optional scriptPathStart?: string

    mask to filter matching starting path

  • Optional startedAfter?: string

    filter on started after (exclusive) timestamp

  • Optional startedBefore?: string

    filter on started before (inclusive) timestamp

  • Optional success?: boolean

    filter on successful jobs

  • Optional tag?: string

    filter on jobs with a given tag/worker group

  • workspace: string