tracer

get/tracer/user-alerts/{id}/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/tracer/user-alerts/{id}/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Response

OK

idstring uuid
projectstring uuid required
namestring required
metric_namestring
created_atstring date-time
updated_atstring date-time
deletedboolean
deleted_atstring date-time nullable
metric_type'count_of_errors' | 'error_rates_for_function_calling' | 'error_free_session_rates' | 'service_provider_error_rates' | 'llm_api_failure_rates' | 'span_response_time' | 'llm_response_time' | 'token_usage' | 'daily_tokens_spent' | 'monthly_tokens_spent' | 'evaluation_metrics' required
metricstring nullable

Id of the evaluation template.

threshold_operator'greater_than' | 'less_than' required
threshold_type'static' | 'percentage_change'

Method to set the threshold for the monitor (Static or Percentage change).

threshold_metric_valuestring nullable

For choice and pass/fail evals, the specific metric value to monitor.

critical_threshold_valuenumber nullable
warning_threshold_valuenumber nullable
alert_frequencyinteger

Frequency of alert checks in minutes.

auto_threshold_time_windowinteger

For auto-thresholding. The time window in minutes to calculate the historical mean

last_checked_atstring date-time nullable

The last time the monitor was checked for alerts.

notification_emailsstring[]
slack_webhook_urlstring uri nullable
slack_notesstring nullable
is_muteboolean
filtersobject nullable
logsobject[] nullable
organizationstring uuid required
workspacestring uuid nullable
created_bystring uuid nullable

Changes

No recorded changes to this operation across all 1 revision of this API.