Saltar al contenido principal
PATCH
CSharp (SDK)

Autorizaciones

Authorization
string
header
requerido

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Encabezados

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Parámetros de ruta

monitor_id
string
requerido
Minimum string length: 1

Cuerpo

application/json
name
string
Required string length: 1 - 255
description
string | null
Maximum string length: 2000
target_agent_id
string | null
Required string length: 1 - 128
target_model
string | null
Required string length: 1 - 255
api_surfaces
enum<string>[]
Required array length: 1 - 2 elements
Opciones disponibles:
responses,
chat_completions
evaluators
object[]
Required array length: 1 - 8 elements
judge_model
string | null
Required string length: 1 - 255
sample_rate
number
Rango requerido: x <= 1
max_samples_per_day
integer
Rango requerido: 1 <= x <= 50000
max_daily_cost_usd
number | null
Rango requerido: 0 < x <= 10000
max_judge_tokens_per_day
integer | null
Rango requerido: 1000 <= x <= 500000000
max_input_chars
integer
Rango requerido: 200 <= x <= 32000
max_output_chars
integer
Rango requerido: 200 <= x <= 32000
redact_secrets
boolean
payload_retention
enum<string>
Opciones disponibles:
scores_only,
redacted_preview
retention_days
integer
Rango requerido: 1 <= x <= 90
baseline_mode
enum<string>
Opciones disponibles:
auto,
fixed
baseline_min_samples
integer
Rango requerido: 1 <= x <= 5000
fixed_baseline
object
fixed_baseline_score
number
Rango requerido: 0 <= x <= 1
window_minutes
integer
Rango requerido: 5 <= x <= 43200
min_samples
integer
Rango requerido: 1 <= x <= 1000
max_drop
number
Rango requerido: 0.01 <= x <= 1
min_score
number | null
Rango requerido: 0 <= x <= 1
cooldown_minutes
integer
Rango requerido: 0 <= x <= 10080
notify_on_drift
boolean
enabled
boolean
metadata
object

Respuesta

200 - application/json

Está bien

id
string
requerido
object
any
requerido
org_id
string
requerido
team_id
string | null
requerido
scope
enum<string>
requerido
Opciones disponibles:
team,
org
name
string
requerido
description
string | null
requerido
target_agent_id
string | null
requerido
target_model
string | null
requerido
api_surfaces
enum<string>[]
requerido
Opciones disponibles:
responses,
chat_completions
evaluators
object[]
requerido
judge_model
string | null
requerido
sample_rate
number
requerido
max_samples_per_day
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
max_daily_cost_usd
number | null
requerido
max_judge_tokens_per_day
integer | null
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
max_input_chars
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
max_output_chars
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
redact_secrets
boolean
requerido
payload_retention
enum<string>
requerido
Opciones disponibles:
scores_only,
redacted_preview
retention_days
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
baseline_mode
enum<string>
requerido
Opciones disponibles:
auto,
fixed
baseline_min_samples
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
baseline_state
object
requerido
window_minutes
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
min_samples
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
max_drop
number
requerido
min_score
number | null
requerido
cooldown_minutes
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
notify_on_drift
boolean
requerido
enabled
boolean
requerido
status
enum<string>
requerido
Opciones disponibles:
calibrating,
healthy,
drifted,
paused,
paused_identity_revoked
status_reason
string | null
requerido
metric_state
object
requerido
active_alerts_count
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
daily_usage
object
requerido
last_sampled_at
integer | null
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
last_evaluated_at
integer | null
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
metadata
object
requerido
created_at
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991
updated_at
integer
requerido
Rango requerido: -9007199254740991 <= x <= 9007199254740991