Skip to main content
GET
/
evaluations
/
trace-runs
/
template
Get Eval Run Template
curl --request GET \
  --url https://api.pandaprobe.com/evaluations/trace-runs/template \
  --header 'Authorization: Bearer <token>'
{
  "metric": {
    "name": "<string>",
    "description": "<string>",
    "category": "<string>",
    "default_threshold": 123,
    "prompt_preview": [
      {
        "stage": "<string>",
        "prompt": "<string>"
      }
    ]
  },
  "filters": {
    "date_from": "<string>",
    "date_to": "<string>",
    "status": "PENDING",
    "session_id": "<string>",
    "user_id": "<string>",
    "tags": [
      "<string>"
    ],
    "name": "<string>"
  },
  "sampling_rate": 123,
  "model": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

metric
string
required

Metric name to build the template for

Response

Successful Response

Pre-filled template the dashboard renders as an editable form.

metric
MetricInfo · object
required

Full metric info including threshold and prompt previews.

filters
EvalRunFilters · object
required

Trace filters for a filtered eval run.

These mirror the GET /traces query parameters so the frontend can reuse the same filter UI components.

sampling_rate
number
required
model
string | null
required