GET /v2/evals/monitors/{monitor_id}
Get one monitor's configuration and enabled state.
How to use
Read the current configuration and enabled state before a partial update. A monitor is a sampling policy, not an evaluation of every run.
Authentication and permissions
Required permissions: evals.read. Resource and owner access checks also apply.
Personal API key (sk_...) or supported user access JWT. See Authentication and authorization for endpoint restrictions and scopes. Use exactly one Authorization header.
Successful Response
Machine-readable response code, when provided.
Invalid request or pagination cursor
Missing or invalid credentials
Denied permission, project folder access, or API-key scope (meta.required_scope)
Resource not found in the caller's organization
Client error returned in the public API envelope
curl --fail-with-body -sS \
"$STACKAI_BASE_URL/v2/evals/monitors/${MONITOR_ID}" \
-H "Authorization: Bearer $STACKAI_API_KEY"{
"response_code": "text",
"meta": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data": {
"monitor_id": "123e4567-e89b-12d3-a456-426614174000",
"project_id": "text",
"evaluator_id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"enabled": true,
"sampling_rate": 1,
"max_runs_daily": 1,
"created_by": "123e4567-e89b-12d3-a456-426614174000",
"updated_by": "123e4567-e89b-12d3-a456-426614174000",
"created_at": "2026-01-01T00:00:00.000Z",
"updated_at": "2026-01-01T00:00:00.000Z"
}
}Last updated
Was this helpful?

