LogoLogo
👨‍💻 API Reference📣 Release Notes📺 Request a Demo
  • Introduction to Fiddler
    • Monitor, Analyze, and Protect your ML Models and Gen AI Applications
  • Fiddler Doc Chatbot
  • First Steps
    • Getting Started With Fiddler Guardrails
    • Getting Started with LLM Monitoring
    • Getting Started with ML Model Observability
  • Tutorials & Quick Starts
    • LLM and GenAI
      • LLM Evaluation - Compare Outputs
      • LLM Monitoring - Simple
    • Fiddler Free Guardrails
      • Guardrails - Quick Start Guide
      • Guardrails - Faithfulness
      • Guardrails - Safety
      • Guardrails FAQ
    • ML Observability
      • ML Monitoring - Simple
      • ML Monitoring - NLP Inputs
      • ML Monitoring - Class Imbalance
      • ML Monitoring - Model Versions
      • ML Monitoring - Ranking
      • ML Monitoring - Regression
      • ML Monitoring - Feature Impact
      • ML Monitoring - CV Inputs
  • Glossary
    • Product Concepts
      • Baseline
      • Custom Metric
      • Data Drift
      • Embedding Visualization
      • Fiddler Guardrails
      • Fiddler Trust Service
      • LLM and GenAI Observability
      • Metric
      • Model Drift
      • Model Performance
      • ML Observability
      • Trust Score
  • Product Guide
    • LLM Application Monitoring & Protection
      • LLM-Based Metrics
      • Embedding Visualizations for LLM Monitoring and Analysis
      • Selecting Enrichments
      • Enrichments (Private Preview)
      • Guardrails for Proactive Application Protection
    • Optimize Your ML Models and LLMs with Fiddler's Comprehensive Monitoring
      • Alerts
      • Package-Based Alerts (Private Preview)
      • Class Imbalanced Data
      • Enhance ML and LLM Insights with Custom Metrics
      • Data Drift: Monitor Model Performance Changes with Fiddler's Insights
      • Ensuring Data Integrity in ML Models And LLMs
      • Embedding Visualization With UMAP
      • Fiddler Query Language
      • Model Versions
      • How to Effectively Use the Monitoring Chart UI
      • Performance Tracking
      • Model Segments: Analyze Cohorts for Performance Insights and Bias Detection
      • Statistics
      • Monitoring ML Model and LLM Traffic
      • Vector Monitoring
    • Enhance Model Insights with Fiddler's Slice and Explain
      • Events Table in RCA
      • Feature Analytics Creation
      • Metric Card Creation
      • Performance Charts Creation
      • Performance Charts Visualization
    • Master AI Monitoring: Create, Customize, and Compare Dashboards
      • Creating Dashboards
      • Dashboard Interactions
      • Dashboard Utilities
    • Adding and Editing Models in the UI
      • Model Editor UI
      • Model Schema Editing Guide
    • Fairness
    • Explainability
      • Model: Artifacts, Package, Surrogate
      • Global Explainability: Visualize Feature Impact and Importance in Fiddler
      • Point Explainability
      • Flexible Model Deployment
        • On Prem Manual Flexible Model Deployment XAI
  • Technical Reference
    • Python Client API Reference
    • Python Client Guides
      • Installation and Setup
      • Model Onboarding
        • Create a Project and Onboard a Model for Observation
        • Model Task Types
        • Customizing your Model Schema
        • Specifying Custom Missing Value Representations
      • Publishing Inference Data
        • Creating a Baseline Dataset
        • Publishing Batches Of Events
        • Publishing Ranking Events
        • Streaming Live Events
        • Updating Already Published Events
        • Deleting Events From Fiddler
      • Creating and Managing Alerts
      • Explainability Examples
        • Adding a Surrogate Model
        • Uploading Model Artifacts
        • Updating Model Artifacts
        • ML Framework Examples
          • Scikit Learn
          • Tensorflow HDF5
          • Tensorflow Savedmodel
          • Xgboost
        • Model Task Examples
          • Binary Classification
          • Multiclass Classification
          • Regression
          • Uploading A Ranking Model Artifact
    • Integrations
      • Data Pipeline Integrations
        • Airflow Integration
        • BigQuery Integration
        • Integration With S3
        • Kafka Integration
        • Sagemaker Integration
        • Snowflake Integration
      • ML Platform Integrations
        • Integrate Fiddler with Databricks for Model Monitoring and Explainability
        • Datadog Integration
        • ML Flow Integration
      • Alerting Integrations
        • PagerDuty Integration
    • Comprehensive REST API Reference
      • Projects REST API Guide
      • Model REST API Guide
      • File Upload REST API Guide
      • Custom Metrics REST API Guide
      • Segments REST API Guide
      • Baselines REST API Guide
      • Jobs REST API Guide
      • Alert Rules REST API Guide
      • Environments REST API Guide
      • Explainability REST API Guide
      • Server Info REST API Guide
      • Events REST API Guide
      • Fiddler Trust Service REST API Guide
    • Fiddler Free Guardrails Documentation
  • Configuration Guide
    • Authentication & Authorization
      • Adding Users
      • Overview of Role-Based Access Control
      • Email Authentication
      • Okta OIDC SSO Integration
      • Azure AD OIDC SSO Integration
      • Ping Identity SAML SSO Integration
      • Mapping LDAP Groups & Users to Fiddler Teams
    • Application Settings
    • Supported Browsers
  • History
    • Release Notes
    • Python Client History
    • Compatibility Matrix
    • Product Maturity Definitions
Powered by GitBook

© 2024 Fiddler Labs, Inc.

On this page

Was this helpful?

  1. Technical Reference
  2. Comprehensive REST API Reference

Alert Rules REST API Guide

PreviousJobs REST API GuideNextEnvironments REST API Guide

Last updated 2 months ago

Was this helpful?

List of all alert records during specified time_bucket_start and time_bucket_end for the given alert rule

get

List of all alert records during specified time_bucket_start and time_bucket_end for the given alert rule

Authorizations
Path parameters
alert_idstring · uuidRequired

alert id path parameter

Query parameters
start_timestring · date-timeRequired

requested start time

end_timestring · date-timeRequired

requested end time

limitintegerOptional

Limit for the pagination

offsetintegerOptional

Offset for the pagination

orderingstringOptional

Allows you to order results by any field. For desc order prefix field name with - and provide comman separated values for multiple fields

searchstringOptional

Allows you to search by any field.

feature_namestringOptional

Name of the Feature

Responses
200
List of all alert records in the given time_bucket_start and time_bucket_end for the given alert rule
application/json
Responseall of
400
Bad Request
application/json
500
Internal Server Error
application/json
get
GET /v3/alert-rules/{alert_id}/records?start_time=2025-05-30T04%3A56%3A43.328Z&end_time=2025-05-30T04%3A56%3A43.328Z HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "api_version": "3.0",
  "kind": "PAGINATED",
  "data": {
    "items": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "alert_rule_id": "123e4567-e89b-12d3-a456-426614174000",
        "alert_rule_revision": 1,
        "warning_threshold": 1,
        "critical_threshold": 1,
        "alert_run_start_time": 1,
        "baseline_time_bucket": 1,
        "baseline_value": 1,
        "severity": "WARNING",
        "alert_time_bucket": 1,
        "alert_value": 1,
        "failure_reason": "text",
        "message": "text",
        "feature_name": "text",
        "alert_record_main_version": 1,
        "alert_record_sub_version": 1,
        "created_at": "2025-05-30T04:56:43.328Z",
        "updated_at": "2025-05-30T04:56:43.328Z"
      }
    ]
  }
}

List latest alert record for each time bucket during specified time_bucket_start and time_bucket_end for the given alert rule

get

List latest alert record for each time bucket during specified time_bucket_start and time_bucket_end for the given alert rule

Authorizations
Path parameters
alert_idstring · uuidRequired

alert id path parameter

Query parameters
start_timestring · date-timeRequired

requested start time

end_timestring · date-timeRequired

requested end time

feature_namestringOptional

Name of the Feature

Responses
200
List of latest alert record for each time bucket during specified time_bucket_start and time_bucket_end for the given alert rule
application/json
Responseall of
400
Bad Request
application/json
500
Internal Server Error
application/json
get
GET /v3/alert-rules/{alert_id}/record-history?start_time=2025-05-30T04%3A56%3A43.328Z&end_time=2025-05-30T04%3A56%3A43.328Z HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "api_version": "3.0",
  "kind": "NORMAL",
  "data": {
    "items": [
      {
        "time_bucket": 1,
        "alert_count": 1,
        "alert_history_count": 1,
        "latest_record": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "alert_rule_id": "123e4567-e89b-12d3-a456-426614174000",
          "alert_rule_revision": 1,
          "warning_threshold": 1,
          "critical_threshold": 1,
          "alert_run_start_time": 1,
          "baseline_time_bucket": 1,
          "baseline_value": 1,
          "severity": "WARNING",
          "alert_time_bucket": 1,
          "alert_value": 1,
          "failure_reason": "text",
          "message": "text",
          "feature_name": "text",
          "alert_record_main_version": 1,
          "alert_record_sub_version": 1,
          "created_at": "2025-05-30T04:56:43.328Z",
          "updated_at": "2025-05-30T04:56:43.328Z"
        }
      }
    ]
  }
}

List of all alert rule summary in the given time_bucket_start and time_bucket_end

get

List of all alert rule summary in the given time_bucket_start and time_bucket_end

Authorizations
Query parameters
filterstringOptional

Allows you to filter by any field.

searchstringOptional

Allows you to search by any field.

orderingstringOptional

Allows you to order results by any field. For desc order prefix field name with - and provide comman separated values for multiple fields

limitintegerOptional

Limit for the pagination

offsetintegerOptional

Offset for the pagination

start_timestring · date-timeRequired

requested start time

end_timestring · date-timeRequired

requested end time

Responses
200
Summary of all alert rules in the given time_bucket_start and time_bucket_end
application/json
Responseall of
400
Bad Request
application/json
500
Internal Server Error
application/json
get
GET /v3/alert-rules/summary?start_time=2025-05-30T04%3A56%3A43.328Z&end_time=2025-05-30T04%3A56%3A43.328Z HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "api_version": "3.0",
  "kind": "PAGINATED",
  "data": {
    "items": [
      {
        "alert_rule_id": "123e4567-e89b-12d3-a456-426614174000",
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "metric": {
          "id": "text",
          "display_name": "text",
          "type": "drift",
          "type_display_name": "Data Drift"
        },
        "is_fiddler_generated": true,
        "priority": "HIGH",
        "compare_to": "raw_value",
        "bin_size": "Hour",
        "condition": "text",
        "alert_record_count": 1,
        "alert_value": 1,
        "feature_names": [
          "text"
        ],
        "threshold_type": "manual",
        "critical_threshold": 1,
        "warning_threshold": 1,
        "enable_notification": true,
        "compare_bin_delta": 1,
        "latest_alert_record_value": 1,
        "latest_alert_time_bucket": 1,
        "latest_alert_feature_name": "text",
        "latest_alert_feature_id": "text",
        "latest_threshold": 1,
        "latest_alert_record_severity": "WARNING",
        "severity": "WARNING",
        "organization": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text"
        },
        "project": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text"
        },
        "model": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text",
          "version": "text"
        },
        "baseline": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text"
        },
        "segment": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "definition": "text"
        },
        "created_at": "2025-05-30T04:56:43.328Z",
        "updated_at": "2025-05-30T04:56:43.328Z",
        "created_by": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "full_name": "text",
          "email": "name@gmail.com"
        },
        "updated_by": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "full_name": "text",
          "email": "name@gmail.com"
        }
      }
    ]
  }
}

Lists all alert rules configured for a model.

get

Lists all alert rules configured for a model.

Authorizations
Query parameters
limitintegerOptional

Limit for the pagination

offsetintegerOptional

Offset for the pagination

filterstringOptional

Allows you to filter by any field.

orderingstringOptional

Allows you to order results by any field. For desc order prefix field name with - and provide comman separated values for multiple fields

searchstringOptional

Allows you to search by any field.

Responses
200
Get list of Alert Rules in detail
application/json
Responseall of
400
Bad Request
application/json
500
Internal Server Error
application/json
get
GET /v3/alert-rules HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "api_version": "3.0",
  "kind": "PAGINATED",
  "data": {
    "items": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "is_fiddler_generated": true,
        "created_at": "2025-05-30T04:56:43.328Z",
        "updated_at": "2025-05-30T04:56:43.328Z",
        "name": "text",
        "organization": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text"
        },
        "metric": {
          "id": "text",
          "display_name": "text",
          "type": "drift",
          "type_display_name": "Data Drift"
        },
        "feature_names": [
          "text"
        ],
        "priority": "HIGH",
        "compare_to": "raw_value",
        "condition": "lesser",
        "compare_bin_delta": 1,
        "evaluation_delay": 1,
        "category": "text",
        "bin_size": "Hour",
        "threshold_type": "manual",
        "auto_threshold_params": {
          "warning_multiplier": 1,
          "critical_multiplier": 1
        },
        "warning_threshold": 1,
        "critical_threshold": 1,
        "enable_notification": true,
        "model": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text",
          "version": "text"
        },
        "project": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text"
        },
        "baseline": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text"
        },
        "segment": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "definition": "text"
        },
        "created_by": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "full_name": "text",
          "email": "name@gmail.com"
        },
        "updated_by": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "full_name": "text",
          "email": "name@gmail.com"
        }
      }
    ]
  }
}

Returns notification for the given Alert Rule id

get

Returns notification for the given Alert Rule id

Authorizations
Path parameters
alert_idstring · uuidRequired

alert id path parameter

Responses
200
Notification Details
application/json
Responseall of
400
Bad Request
application/json
404
Resource not found
application/json
500
Internal Server Error
application/json
get
GET /v3/alert-rules/{alert_id}/notification HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "api_version": "3.0",
  "kind": "NORMAL",
  "data": {
    "emails": [
      "text"
    ],
    "pagerduty_services": [
      "text"
    ],
    "pagerduty_severity": "text",
    "webhooks": [
      "123e4567-e89b-12d3-a456-426614174000"
    ]
  }
}

Returns Alert Rule for the given id

get

Returns Alert Rule for the given id

Authorizations
Path parameters
alert_idstring · uuidRequired

alert id path parameter

Responses
200
Alert Rule details
application/json
Responseall of
400
Bad Request
application/json
404
Resource not found
application/json
500
Internal Server Error
application/json
get
GET /v3/alert-rules/{alert_id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "api_version": "3.0",
  "kind": "NORMAL",
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "is_fiddler_generated": true,
    "created_at": "2025-05-30T04:56:43.328Z",
    "updated_at": "2025-05-30T04:56:43.328Z",
    "name": "text",
    "organization": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "metric": {
      "id": "text",
      "display_name": "text",
      "type": "drift",
      "type_display_name": "Data Drift"
    },
    "feature_names": [
      "text"
    ],
    "priority": "HIGH",
    "compare_to": "raw_value",
    "condition": "lesser",
    "compare_bin_delta": 1,
    "evaluation_delay": 1,
    "category": "text",
    "bin_size": "Hour",
    "threshold_type": "manual",
    "auto_threshold_params": {
      "warning_multiplier": 1,
      "critical_multiplier": 1
    },
    "warning_threshold": 1,
    "critical_threshold": 1,
    "enable_notification": true,
    "model": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "version": "text"
    },
    "project": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "baseline": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "segment": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "definition": "text"
    },
    "created_by": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "full_name": "text",
      "email": "name@gmail.com"
    },
    "updated_by": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "full_name": "text",
      "email": "name@gmail.com"
    }
  }
}

Deletes an Alert Rule

delete

Deletes an Alert Rule

Authorizations
Path parameters
alert_idstring · uuidRequired

alert id path parameter

Responses
200
Success
400
Bad Request
application/json
404
Resource not found
application/json
500
Internal Server Error
application/json
delete
DELETE /v3/alert-rules/{alert_id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

  • GETList of all alert records during specified time_bucket_start and time_bucket_end for the given alert rule
  • GETList latest alert record for each time bucket during specified time_bucket_start and time_bucket_end for the given alert rule
  • GETList of all alert rule summary in the given time_bucket_start and time_bucket_end
  • GETLists all alert rules configured for a model.
  • POSTCreates Alert Rules
  • GETReturns notification for the given Alert Rule id
  • POST/v3/alert-rules/{alert_id}/notification
  • PATCHUpdate by id
  • GETReturns Alert Rule for the given id
  • DELETEDeletes an Alert Rule
  • PATCHUpdate by id

Creates Alert Rules

post

Creates Alert Rules

Authorizations
Body
all ofOptional
Responses
200
successful completion
application/json
Responseall of
400
Bad Request
application/json
500
Internal Server Error
application/json
503
Upstream connect error or disconnect/reset before headers
application/json
post
POST /v3/alert-rules HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 501

{
  "compare_bin_delta": 1,
  "evaluation_delay": 1,
  "model_id": "123e4567-e89b-12d3-a456-426614174000",
  "segment_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "metric_id": "text",
  "feature_names": [
    "text"
  ],
  "category": "text",
  "baseline_id": "123e4567-e89b-12d3-a456-426614174000",
  "priority": "HIGH",
  "bin_size": "Hour",
  "compare_to": "raw_value",
  "condition": "lesser",
  "threshold_type": "manual",
  "auto_threshold_params": {
    "warning_multiplier": 1,
    "critical_multiplier": 1
  },
  "warning_threshold": 1,
  "critical_threshold": 1
}
{
  "api_version": "3.0",
  "kind": "NORMAL",
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "is_fiddler_generated": true,
    "created_at": "2025-05-30T04:56:43.328Z",
    "updated_at": "2025-05-30T04:56:43.328Z",
    "name": "text",
    "organization": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "metric": {
      "id": "text",
      "display_name": "text",
      "type": "drift",
      "type_display_name": "Data Drift"
    },
    "feature_names": [
      "text"
    ],
    "priority": "HIGH",
    "compare_to": "raw_value",
    "condition": "lesser",
    "compare_bin_delta": 1,
    "evaluation_delay": 1,
    "category": "text",
    "bin_size": "Hour",
    "threshold_type": "manual",
    "auto_threshold_params": {
      "warning_multiplier": 1,
      "critical_multiplier": 1
    },
    "warning_threshold": 1,
    "critical_threshold": 1,
    "enable_notification": true,
    "model": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "version": "text"
    },
    "project": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "baseline": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "segment": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "definition": "text"
    },
    "created_by": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "full_name": "text",
      "email": "name@gmail.com"
    },
    "updated_by": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "full_name": "text",
      "email": "name@gmail.com"
    }
  }
}
post

Create Notification for an Alert Rule

Authorizations
Path parameters
alert_idstring · uuidRequired

alert id path parameter

Body
all ofOptional
Responses
200
successful completion
application/json
Responseall of
400
Bad Request
application/json
404
Resource not found
application/json
500
Internal Server Error
application/json
503
Upstream connect error or disconnect/reset before headers
application/json
post
POST /v3/alert-rules/{alert_id}/notification HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 129

{
  "emails": [
    "text"
  ],
  "pagerduty_services": [
    "text"
  ],
  "pagerduty_severity": "text",
  "webhooks": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}
{
  "api_version": "3.0",
  "kind": "NORMAL",
  "data": {
    "emails": [
      "text"
    ],
    "pagerduty_services": [
      "text"
    ],
    "pagerduty_severity": "text",
    "webhooks": [
      "123e4567-e89b-12d3-a456-426614174000"
    ]
  }
}

Update by id

patch

Update Notification by Alert Rule id

Authorizations
Path parameters
alert_idstring · uuidRequired

alert id path parameter

Body
all ofOptional
Responses
200
Get detail info
application/json
Responseall of
400
Bad Request
application/json
404
Resource not found
application/json
500
Internal Server Error
application/json
503
Upstream connect error or disconnect/reset before headers
application/json
patch
PATCH /v3/alert-rules/{alert_id}/notification HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 129

{
  "emails": [
    "text"
  ],
  "pagerduty_services": [
    "text"
  ],
  "pagerduty_severity": "text",
  "webhooks": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}
{
  "api_version": "3.0",
  "kind": "NORMAL",
  "data": {
    "emails": [
      "text"
    ],
    "pagerduty_services": [
      "text"
    ],
    "pagerduty_severity": "text",
    "webhooks": [
      "123e4567-e89b-12d3-a456-426614174000"
    ]
  }
}

Update by id

patch

Update Alert Rule by id

Authorizations
Path parameters
alert_idstring · uuidRequired

alert id path parameter

Body
all ofOptional
Responses
200
Get detail info
application/json
Responseall of
400
Bad Request
application/json
404
Resource not found
application/json
500
Internal Server Error
application/json
patch
PATCH /v3/alert-rules/{alert_id} HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 199

{
  "name": "text",
  "warning_threshold": 1,
  "critical_threshold": 1,
  "evaluation_delay": 1,
  "priority": "HIGH",
  "enable_notification": true,
  "auto_threshold_params": {
    "warning_multiplier": 1,
    "critical_multiplier": 1
  }
}
{
  "api_version": "3.0",
  "kind": "NORMAL",
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "is_fiddler_generated": true,
    "created_at": "2025-05-30T04:56:43.328Z",
    "updated_at": "2025-05-30T04:56:43.328Z",
    "name": "text",
    "organization": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "metric": {
      "id": "text",
      "display_name": "text",
      "type": "drift",
      "type_display_name": "Data Drift"
    },
    "feature_names": [
      "text"
    ],
    "priority": "HIGH",
    "compare_to": "raw_value",
    "condition": "lesser",
    "compare_bin_delta": 1,
    "evaluation_delay": 1,
    "category": "text",
    "bin_size": "Hour",
    "threshold_type": "manual",
    "auto_threshold_params": {
      "warning_multiplier": 1,
      "critical_multiplier": 1
    },
    "warning_threshold": 1,
    "critical_threshold": 1,
    "enable_notification": true,
    "model": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "version": "text"
    },
    "project": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "baseline": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text"
    },
    "segment": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "definition": "text"
    },
    "created_by": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "full_name": "text",
      "email": "name@gmail.com"
    },
    "updated_by": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "full_name": "text",
      "email": "name@gmail.com"
    }
  }
}