GET /v1/metering/traces/{trace_id}/spans
ListTraceSpans returns every Span carrying one W3C Trace ID. This is the cross-operation view used by a composite execution: each child Operation remains independently billable, while the diagnostic trace stays whole.
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
trace_idpath · string · required
cURL
curl --request GET 'https://nexus-api.rainlib.com/v1/metering/traces/{trace_id}/spans' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>'Response contract
200 · OK
dataarrayExpand fields
attributes_jsonstringcontent_availablebooleancontent_capturestringcreated_atstringended_atstringentry_pointstringerror_codestringerror_messagestringerror_typestringexecution_delegation_idstringfirst_reporter_api_key_idstringfirst_reporter_service_account_idstringfirst_reporter_tenant_idstringidstringkindstringlast_reporter_api_key_idstringlast_reporter_service_account_idstringlast_reporter_tenant_idstringlinksarrayExpand fields
attributes_jsonstringrelationstringspan_idstringtrace_idstring
namestringoperation_idstringparent_span_idstringsequence_nostringspan_idstringspan_keystringstarted_atstringstatusstringtrace_idstringupdated_atstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.