v3

latestOpenAPI 3.1.02026-07-311,4541,5202.3 MB
logs

List request-log groups

Paginated list of request-log groups: one row per distinct group key with its aggregated metrics. group_by=trace|thread rolls spans up into trace/thread entities (span_count, root-span i/o, error_count) via the entity views; all other values are flat breakdown dimensions sharing the dashboard-breakdown routing.

get/api/request-logs/groups/

Query parameters

end_timestring
environmentstring
group_by'custom_identifier' | 'customer_identifier' | 'deployment_id' | 'deployment_name' | 'model' | 'organization_key_id' | 'prompt_id' | 'provider_id' | 'thread' | 'trace'

Dimension to group by (default 'model').

pageinteger
page_sizeinteger
sort_bystring
start_timestring

Headers

Authorizationstring required

JWT access token or Respan API key

Response

countinteger required
nextstring uri nullable
previousstring uri nullable
total_countinteger
current_filtersFilterParamDictPydantic

Pydantic model for FilterParamDict. A dictionary that maps metric names to their filter parameters.

Each key is a metric name (str), and each value can be:

  • A single MetricFilterParamPydantic (one condition)
  • A List[MetricFilterParamPydantic] (multiple conditions for same metric)
  • A FilterBundlePydantic (nested filter bundle with connector)

Note: Uses extra="allow" for dynamic metric name fields. The pydantic_extra annotation tells Pydantic what types to expect for extra fields, and generates typed additionalProperties in JSON Schema.

filters_dataPaginatedClickHouseRequestLogAggregatedListFiltersData