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_idstringStreamkap agent id (Mongo ObjectId)
fromstringTime range start (ISO 8601)
tostringTime range end (ISO 8601)
cursorstringPagination 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 | nullShow propertiesHide properties
Any of:
string
stringnull
nullagent_labelstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullnext_cursorstring<date-time> | nullShow propertiesHide properties
Any of:
string<date-time>
string<date-time>null
null422
Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject