POST
/
spans

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
endTime
integer
required

End time in seconds since epoch

startTime
integer
required

Start time in seconds since epoch

traceId
string
required

The ID of the trace to get spans for

environments
string[]

List of environments to get traces from

shouldReturnNonMetoroEpbfSpans
boolean

Whether to include non-Metoro eBPF spans

Response

200 - application/json
spans
object[]

The spans that match the filters