Structured read API for durable run rows.
Queries are intentionally closed over a small set of fields and operators. This keeps the public API independent from arbitrary SQL fragments while still supporting operator dashboards and search attributes.
Summary
Functions
Loads one run by id.
Lists runs matching a structured query.
Merges search attributes into a run row.
Types
@type field() :: :id | :run_id | :state | :workflow | :started_at | :completed_at
Functions
Loads one run by id.
Lists runs matching a structured query.
Options:
:instance- Continuum instance name or struct. Defaults toContinuum.:namespace- run namespace. Defaults to"default".:where- list of condition tuples.:search- run id or workflow substring convenience filter.:workflow- workflow substring convenience filter.:state- run state convenience filter.:order_by-{direction, field}. Defaults to{:desc, :started_at}.:pageand:per_page- 1-based pagination;:per_pagecaps at 100.
Merges search attributes into a run row.
Attributes must be JSON-encodable map data. This updates metadata only; it does not append a journal event.