For the complete documentation index, see llms.txt. This page is also available as Markdown.

GET /v2/evals/monitors/{monitor_id}/score-stats

Get Eval Monitor Score Stats

get

Get windowed score trends and the monitor's current queue counters.

How to use

Choose 24h, 7d, 30d, or all. Inspect both trends and queue counters; low score volume may reflect sampling or queued work rather than lack of runs.

Authentication and permissions

Required permissions: evals.read. Resource and owner access checks also apply.

Authorizations
AuthorizationstringRequired

Personal API key (sk_...) or supported user access JWT. See Authentication and authorization for endpoint restrictions and scopes. Use exactly one Authorization header.

Path parameters
monitor_idstring · uuidRequired
Query parameters
windowstring · enumOptionalDefault: 7dPossible values:
Responses
200

Successful Response

application/json
response_codestring · nullableOptional

Machine-readable response code, when provided.

get/v2/evals/monitors/{monitor_id}/score-stats
curl
curl --fail-with-body -sS \
  "$STACKAI_BASE_URL/v2/evals/monitors/${MONITOR_ID}/score-stats" \
  -H "Authorization: Bearer $STACKAI_API_KEY"
{
  "response_code": "text",
  "meta": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "data": {
    "pending_count": 1,
    "scored_count": 1,
    "failed_count": 1,
    "runs_enqueued_today": 1,
    "evaluators": [
      {
        "evaluator_id": "123e4567-e89b-12d3-a456-426614174000",
        "evaluator_name": "text",
        "score_kind": "numeric",
        "window_aggregate": 1,
        "scored_count": 1,
        "failed_count": 1,
        "buckets": [
          {
            "bucket_start": "2026-01-01T00:00:00.000Z",
            "aggregate": 1,
            "scored_count": 1,
            "failed_count": 1
          }
        ],
        "choice_segments": [
          {
            "label": "text",
            "count": 1,
            "value": 1
          }
        ]
      }
    ]
  }
}

Last updated

Was this helpful?