js-bao-wss-client / ListWorkflowRunsOptions
Interface: ListWorkflowRunsOptions
Options for listing workflow runs
Properties
contextDocId?
optionalcontextDocId?:string
Filter by context document ID
cursor?
optionalcursor?:string
Pagination cursor
forward?
optionalforward?:boolean
Sort direction: true for ascending (oldest first), false/undefined for descending (newest first)
limit?
optionallimit?:number
Pagination limit
status?
optionalstatus?: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?
optionalworkflowKey?:string
Filter by workflow key