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

GET /v2/evals/monitors/{monitor_id}/alert

Get Eval Monitor Alert

get

Read stored alert knobs, severity and resolved server defaults.

How to use

Read stored alert settings, current severity, and resolved defaults before tuning. Compare resolved values rather than assuming unset means disabled.

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
Responses
200

Successful Response

application/json
response_codestring · nullableOptional

Machine-readable response code, when provided.

get/v2/evals/monitors/{monitor_id}/alert
curl
curl --fail-with-body -sS \
  "$STACKAI_BASE_URL/v2/evals/monitors/${MONITOR_ID}/alert" \
  -H "Authorization: Bearer $STACKAI_API_KEY"
{
  "response_code": "text",
  "meta": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "data": {
    "threshold": 1,
    "warning_threshold": 1,
    "min_samples": 1,
    "window_max_runs": 1,
    "window_hours": 1,
    "min_effect_size": 1,
    "recovery_threshold": 1,
    "renotify_hours": 1,
    "notifications_enabled": true,
    "severity": "unknown",
    "effective": {
      "threshold": 1,
      "warning_threshold": 1,
      "min_samples": 1,
      "window_max_runs": 1,
      "window_hours": 1,
      "min_effect_size": 1,
      "recovery_threshold": 1,
      "renotify_hours": 1
    },
    "defaults": {
      "threshold": 1,
      "warning_threshold": 1,
      "min_samples": 1,
      "window_max_runs": 1,
      "window_hours": 1,
      "min_effect_size": 1,
      "recovery_threshold": 1,
      "renotify_hours": 1
    }
  }
}

Last updated

Was this helpful?