Get Observability Session Spans
All spans within one session, ordered by (timestamp, call_sequence).
Tenant + service scoping happens via the WHERE clause - there’s no separate pre-check because a session_id from another tenant or sibling service simply returns 0 rows (empty list), which the FE treats the same as “session not found / expired”. No leak.
GET
/agentic/observability/sessions/{session_id}Authorization
AuthorizationBearer token · headerrequiredPath parameters
session_idstringrequiredResponses
200
Successful Response
Array of
ObservabilitySpanrequest_idstringrequiredtool_namestringrequiredstarted_atstring<date-time>requiredduration_msinteger | nullShow propertiesHide properties
Any of:
integer
integernull
nullstatusstringrequiredresponse_size_bytesinteger | nullShow propertiesHide properties
Any of:
integer
integernull
nullresponse_truncatedboolean | nullShow propertiesHide properties
Any of:
boolean
booleannull
nullerror_messagestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullerror_codestring | nullShow propertiesHide properties
Any of:
string
stringnull
nulldenied_by_profilestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullparametersanycall_sequenceinteger | nullShow propertiesHide properties
Any of:
integer
integernull
nulltopicstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullagent_idstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullclient_idstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullproject_key_idstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltool_profilestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullaccess_modestring | nullShow propertiesHide properties
Any of:
string
stringnull
null422
Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject