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

GET /v2/evals/monitors/{monitor_id}/sampled-runs

List Eval Monitor Sampled Runs

get

Page sampled runs and latest evaluator verdicts at the traversal's insertion cutoff.

How to use

Requires analytics.read as well as evals.read. Follow the cursor with unchanged filters; traversal preserves an insertion cutoff. Inspect the latest verdict associated with each sampled run.

Authentication and permissions

Required permissions: evals.read, analytics.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:
cursorstring · nullableOptional

Optional identifier for the page that should be returned. If it is not provided, the first page will be returned.

Example: ZXhhbXBsZV9jdXJzb3I=
page_sizeinteger · min: 1 · max: 1000Optional

Number of items to be returned in the page.

Default: 50
directionstring · enumOptional

Direction for pagination: 'next' to advance through pages (older items), 'prev' to go back (newer items)

Default: nextPossible values:
Responses
200

Successful Response

application/json
response_codestring · nullableOptional

Machine-readable response code, when provided.

next_cursorstring · nullableOptional
prev_cursorstring · nullableOptional
current_cursorstring · nullableOptional
get/v2/evals/monitors/{monitor_id}/sampled-runs
curl
curl --fail-with-body -sS \
  "$STACKAI_BASE_URL/v2/evals/monitors/${MONITOR_ID}/sampled-runs" \
  -H "Authorization: Bearer $STACKAI_API_KEY"
{
  "response_code": "text",
  "meta": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "data": [
    {
      "run_id": "123e4567-e89b-12d3-a456-426614174000",
      "created_at": "2026-01-01T00:00:00.000Z",
      "input_snapshot": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      },
      "output_snapshot": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      },
      "scores": [
        {
          "score_id": "123e4567-e89b-12d3-a456-426614174000",
          "project_id": "text",
          "experiment_row_id": "123e4567-e89b-12d3-a456-426614174000",
          "run_id": "123e4567-e89b-12d3-a456-426614174000",
          "project_version_id": 1,
          "evaluator_id": "123e4567-e89b-12d3-a456-426614174000",
          "score_kind": "numeric",
          "score": 1,
          "choice_label": "text",
          "feedback": "text",
          "status": "pending",
          "error": "text",
          "input_snapshot": {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          },
          "output_snapshot": {
            "ANY_ADDITIONAL_PROPERTY": "anything"
          },
          "created_by": "123e4567-e89b-12d3-a456-426614174000",
          "created_at": "2026-01-01T00:00:00.000Z",
          "updated_at": "2026-01-01T00:00:00.000Z"
        }
      ]
    }
  ],
  "next_cursor": "text",
  "prev_cursor": "text",
  "current_cursor": "text"
}

Last updated

Was this helpful?