DELETE /v2/evals/monitors/{monitor_id}
Delete a monitor while retaining existing scores in run history.
How to use
Remove the monitor while retaining existing scores in run history. This is not an erasure of historical run evaluations.
Authentication and permissions
Required permissions: evals.delete. 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
No content
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 -X DELETE \
"$STACKAI_BASE_URL/v2/evals/monitors/${MONITOR_ID}" \
-H "Authorization: Bearer $STACKAI_API_KEY"No content
Last updated
Was this helpful?

