judges

Average scores over completed evaluations, per-criterion averages over the 100 most recent ones, the failure count, and token usage and cost across all of the judge's evaluations.

Required permission: judges.view.

get/v1/projects/{project_id}/judges/{judge_id}/stats

Request

  • Base URL
    https://api.connic.co
  • Auth
    HTTP bearer

Path parameters

project_id, string uuid required

ID of the project the API key belongs to.

judge_id, string uuid required

Judge ID from GET /judges.

Query parameters

convert_costs_to, 'EUR' | 'USD' nullable

Convert token costs to EUR or USD at the daily ECB reference rate of each model call

Response

Successful Response

JudgeStatsResponse required

Aggregate scores, token usage and cost for one judge.

avg_score, number nullable

Average overall score of completed evaluations; null when none have completed.

avg_max_score, number nullable

Average overall maximum score of completed evaluations; null when none have completed.

total_evaluated, integer

Number of completed evaluations.

total_failed, integer

Number of failed evaluations.

criteria_averages, JudgeCriterionAverage[]

Per-criterion averages over the 100 most recent completed evaluations, in rubric order.

total_tokens, integer

Input, output and thinking tokens across all of the judge's evaluations.

total_input_tokens, integer

Input tokens across all evaluations, including cached ones.

total_output_tokens, integer

Output tokens across all evaluations.

total_thinking_tokens, integer

Reasoning tokens across all evaluations.

total_cached_input_tokens, integer

Input tokens served from the provider's cache; part of total_input_tokens.

total_cache_write_input_tokens, integer

Input tokens written to the provider's cache; part of total_input_tokens.

total_audio_input_tokens, integer

Audio part of total_input_tokens.

total_audio_output_tokens, integer

Audio part of total_output_tokens.

total_audio_cached_input_tokens, integer

Audio part of total_cached_input_tokens.

total_audio_thinking_tokens, integer

Audio part of total_thinking_tokens.

total_audio_usage_missing, boolean

True when at least one model call did not report its audio token split, so audio totals may be low.

avg_tokens_per_eval, number

Average total_tokens per evaluation with recorded usage, rounded to one decimal; 0 when there is none.

token_cost, PublicTokenCostResponse nullable

Token cost in each model's pricing currency, or in one currency when convert_costs_to is set.

Changes

    • info

      added the required property token_cost/anyOf[subschema #1: PublicTokenCostResponse]/coverage/missing_price_models to the response with the status

    • info

      added the optional property token_cost/anyOf[subschema #1: PublicTokenCostResponse]/breakdown/additionalProperties/external_cost to the response with the status