Get Observability Iterations
Per-iteration trace rollup, newest-first (reads agent_traces).
One row per iteration_id — all operations of one input-record’s
processing chain. agent_traces is Streamkap-agent only (no external
pseudo-agents), so agent_id passes straight through with no entity
resolution. Tenant scoping at the WHERE layer; a cross-tenant agent_id
returns an empty page, not a leak.
GET
/agentic/observability/iterationsAuthorization
AuthorizationBearer token · headerrequiredQuery parameters
agent_idstring | anyStreamkap agent id (Mongo ObjectId)
fromstring | anyTime range start (ISO 8601)
tostring | anyTime range end (ISO 8601)
cursorstring | anyPagination cursor — last page's next_cursor
limitintegermin 1 · max 200 · default: 50
Responses
200
Successful Response
itemsObservabilityIterationItem[]requiredShow propertiesHide properties
Array of
ObservabilityIterationItemiteration_idstringrequiredstarted_atstring<date-time>requiredended_atstring<date-time>requiredop_countintegerrequirederror_countintegerrequiredduration_ms_totalintegerrequiredagent_idstring | anyShow propertiesHide properties
Any of:
string
stringany
anyagent_labelstring | anyShow propertiesHide properties
Any of:
string
stringany
anynext_cursorstring<date-time> | anyShow propertiesHide properties
Any of:
string<date-time>
string<date-time>any
any422
Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject