Practical examples for creating data quality monitors using the Decube Public API. These examples demonstrate proper payload structure and follow all validation rules.
This page provides comprehensive examples for creating monitors using the Decube Public API. All examples follow the validation rules and constraints documented in the Create, Manage & Delete guide.
Before using these examples, make sure you understand the Monitor Validation & Constraints to ensure your monitors are configured correctly.
Prerequisites
Authentication
All API requests require authentication via the X-Decube-Api-Key header:
# Set your API key as an environment variableexportDECUBE_API_KEY="your-api-key-here"# Include in curl requestscurl-H"X-Decube-Api-Key: $DECUBE_API_KEY"...
Base URL
Replace <REGION> with your Decube region (e.g., us, eu):