Skip to main content
PATCH
Update Monitor

Authorizations

gateway_session
string
cookie
required

Secure same-origin browser session cookie.

Path Parameters

monitor_id
string<uuid>
required

Body

application/json
name
string | null
description
string | null
metric
enum<string> | null
Available options:
budget_utilization,
error_count,
error_rate,
p95_latency,
success_rate
operator
enum<string> | null
Available options:
gte,
lte
threshold
Required range: x >= 0
scope
enum<string> | null
Available options:
organization,
project,
team,
user,
api_key,
provider,
model,
budget
target_id
string | null
target_name
string | null
window_minutes
integer | null
Required range: 1 <= x <= 10080
minimum_requests
integer | null
Required range: 0 <= x <= 1000000
evaluation_interval_seconds
integer | null
Required range: 30 <= x <= 86400
cooldown_seconds
integer | null
Required range: 60 <= x <= 604800
severity
enum<string> | null
Available options:
info,
warning,
critical
enabled
boolean | null
channel_ids
string[] | null
Maximum array length: 100

Response

Successful Response

id
string
required
name
string
required
description
string | null
required
metric
string
required
operator
string
required
threshold
string
required
scope
string
required
target_id
string | null
required
target_name
string
required
window_minutes
integer
required
minimum_requests
integer
required
evaluation_interval_seconds
integer
required
cooldown_seconds
integer
required
severity
string
required
enabled
boolean
required
channel_ids
string[]
required
state
string
required
last_value
string | null
required
last_evaluated_at
string | null
required
last_error
string | null
required
created_at
string
required
updated_at
string
required
object
string
default:monitor
Allowed value: "monitor"