GET /v2/evals/monitor-limits
Get server-enforced sampling limits and monitor defaults.
How to use
Read enforced sampling limits and defaults before presenting a monitor-creation form. Do not permanently hard-code the policy in your client.
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)
Client error returned in the public API envelope
curl --fail-with-body -sS \
"$STACKAI_BASE_URL/v2/evals/monitor-limits" \
-H "Authorization: Bearer $STACKAI_API_KEY"{
"response_code": "text",
"meta": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data": {
"sampling_rate_limit": 0.3,
"max_runs_daily_limit": 1000,
"sampling_rate_default": 0.3,
"max_runs_daily_default": 1000
}
}Last updated
Was this helpful?

