Clickhouse Eval Sets Eval Result Aggs Create

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

Request

This endpoint expects an object.
task_idstringRequired1-255 characters
namestringRequired1-255 characters
dataset_idstringRequired1-255 characters
statusenumOptional
  • pending - Pending
  • processing - Processing
  • paused - Paused
  • completed - Completed
  • failed - Failed
  • cancelled - Cancelled
started_atdatetime or nullOptional
completed_atdatetime or nullOptional
error_messagestringOptional
evaluated_logs_countintegerOptional
scoredoubleOptional

Response

task_idstring<=255 characters
namestring<=255 characters
dataset_idstring<=255 characters
evaluator_slugstringRead-only
statusenum
  • pending - Pending
  • processing - Processing
  • paused - Paused
  • completed - Completed
  • failed - Failed
  • cancelled - Cancelled
started_atdatetime or null
completed_atdatetime or null
error_messagestring
evaluated_logs_countinteger
scoredouble