Skip to content

js-bao-wss-client


js-bao-wss-client / ListWorkflowRunsOptions

Interface: ListWorkflowRunsOptions ​

Options for listing workflow runs

Properties ​

contextDocId? ​

optional contextDocId?: string

Filter by context document ID


cursor? ​

optional cursor?: string

Pagination cursor


forward? ​

optional forward?: boolean

Sort direction: true for ascending (oldest first), false/undefined for descending (newest first)


limit? ​

optional limit?: number

Pagination limit


status? ​

optional status?: WorkflowRunStatus

Filter by run status. Must be one of the canonical WorkflowRunStatus values — the server answers 400 for anything else rather than silently returning an unfiltered or empty page.


workflowKey? ​

optional workflowKey?: string

Filter by workflow key

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30