List Span Groups

View as Markdown

Path parameters

workspacestringRequired

Query parameters

bystringRequired

Comma-separated span fields to group by, e.g. trace_id or session_id,trace_id.

pageintegerOptional>=1Defaults to 1
Page number.
page_sizeintegerOptional1-1000Defaults to 10
Page size.
sortenumOptionalDefaults to -span_count
Allowed values:
filterobjectOptional

Filter spans by the same fields as the span list endpoint, then group matching spans by the comma-separated fields in the by query parameter.

Response

Successful Response
datalist of objects
grouped_bylist of enums
Span fields used to group the matching spans.
paginationobject
Pagination information.
sortstring
The field on which the results are sorted.
filtermap from strings to any
Filtering information.

Errors

400
Bad Request Error
422
Unprocessable Entity Error