Interface ListJobsFilter
interface ListJobsFilter {
beforeCreatedAt?: string;
groupKey?: string;
id?: number;
kind?: string;
queue?: string;
state?: string;
tag?: string;
}
beforeCreatedAt?: string;
groupKey?: string;
id?: number;
kind?: string;
queue?: string;
state?: string;
tag?: string;
}
Properties
OptionalbeforeCreatedAt
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.
OptionalgroupKey
groupKey?: string
Optionalid
id?: number
Optionalkind
kind?: string
Optionalqueue
queue?: string
Optionalstate
state?: string
Restrict to one state. Use listJobs without a filter and group
client-side if you need multiple.
Optionaltag
tag?: string
Optional filters for
listJobs. Active filters AND together.