Traces

Get session turn details

Retrieves per-turn trace summaries for a single LLM session. The response uses the same trace-summary hit shape as the trace latest endpoint, but aggregates each matched trace across all spans so turn status reflects child span errors.

get/api/{org_id}/{stream_name}/traces/session/details

Request

Path parameters

org_idstring required

Organization name

stream_namestring required

Stream name

Query parameters

session_idstring required

Session/conversation id

frominteger required

from

sizeinteger required

size

start_timeinteger

Caller range start in microseconds; optional, must be supplied together with end_time. The effective range is the union of this range and the indexed session range — it is never narrowed.

end_timeinteger

Caller range end in microseconds; optional, must be supplied together with start_time

hint_tsinteger

Optional time hint in microseconds for the session time index lookup

timeoutinteger

timeout, seconds

Response

Success

frominteger required
function_errorstring
hitsobject[] required
sizeinteger required
tookinteger required
totalinteger required
trace_idstring

Changes

No recorded changes to this operation across all 1 revision of this API.