Interface ListJobsFilter

    Optional filters for listJobs. Active filters AND together.

    interface ListJobsFilter {
        beforeCreatedAt?: string;
        groupKey?: string;
        id?: number;
        kind?: string;
        queue?: string;
        state?: string;
        tag?: string;
    }
    Index

    Properties

    beforeCreatedAt?: string

    Keyset cursor for newest-first pagination. ISO-8601 timestamp string; only jobs with createdAt strictly less than this are returned. Pair with Pagination.limit (and offset: 0) to scroll through pages without offset drift from concurrent inserts. Useful when stitching listJobsFor results from both backends — one cursor, one merge.

    groupKey?: string
    id?: number
    kind?: string
    queue?: string
    state?: string

    Restrict to one state. Use listJobs without a filter and group client-side if you need multiple.

    tag?: string