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

  • Optionalargs?: string

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

  • OptionalcreatedBy?: string

    mask to filter exact matching user creator

  • OptionalhasNullParent?: boolean

    has null parent

  • OptionalisFlowStep?: boolean

    is the job a flow step

  • OptionalisNotSchedule?: boolean

    is not a scheduled job

  • OptionalisSkipped?: boolean

    is the job skipped

  • OptionaljobKinds?: string

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

  • Optionallabel?: 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')

  • OptionalorderDesc?: boolean

    order by desc order (default true)

  • Optionalpage?: number

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

  • OptionalparentJob?: string

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

  • OptionalperPage?: number

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

  • Optionalresult?: string

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

  • OptionalschedulePath?: string

    mask to filter by schedule path

  • OptionalscriptHash?: string

    mask to filter exact matching path

  • OptionalscriptPathExact?: string

    mask to filter exact matching path

  • OptionalscriptPathStart?: string

    mask to filter matching starting path

  • OptionalstartedAfter?: string

    filter on started after (exclusive) timestamp

  • OptionalstartedBefore?: string

    filter on started before (inclusive) timestamp

  • Optionalsuccess?: boolean

    filter on successful jobs

  • Optionaltag?: string

    filter on jobs with a given tag/worker group

  • workspace: string