Clickhouse Eval Sets Eval Result Aggs List

View mixin that handles both JWT and API Key authentication. Inherits from JWTAuthUtils: - is_jwt_auth(request): Post-auth check (reliable, uses DRF's successful_authenticator) - is_jwt_token_format(request): Pre-auth heuristic (used here to route authenticators) This mixin uses is_jwt_token_format() (pre-auth) in get_authenticators() and get_permissions() because those methods run BEFORE authentication completes. For post-auth checks, use is_jwt_auth() instead.

Authentication

AuthorizationBearer
JWT access token or Respan API key

Path parameters

dataset_idstringRequired

Query parameters

pageintegerOptional
A page number within the paginated result set.
page_sizeintegerOptional
Number of results to return per page.

Response

countinteger
resultslist of objects
nextstring or nullformat: "uri"
previousstring or nullformat: "uri"
total_countinteger
current_filtersobject

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_dataobject