Skip to main content
GET
/
api
/
v1
/
sessions
/
latest-spans
Latest Trace Spans
curl --request GET \
  --url http://localhost:8000/api/v1/sessions/latest-spans
Returns the spans belonging to the single most recent trace. Shape matches Get Trace Spans.

Query Parameters

service
string
Restrict the search to a specific service.

Response

Array of SpanDetail objects — see Get Trace Spans for field documentation.