searchRuns

Paginated, account-wide run history ordered newest-first. Scope the window with a TimeInRange predicate on the `createdAt` field. Paginate with either input.after (keyset cursor, sequential) or offset (random-access, for loading pages concurrently), not both. offset skips that many rows in the ordered result; use input.first as the page size and SearchRunsOutput.total to compute the page count. Offset paging trades keyset's stability for random access, so pages can skip or repeat rows if runs are created or deleted mid-scan.

Arguments

Returns

SearchRunsOutput!
SearchRunsOutput!
Collapse
  • total
    Total number of runs matching the query, ignoring pagination. Computed with a single COUNT query and resolved lazily, only select it when needed.