custom_sql
Create Custom SQL Monitor
Create a new custom SQL monitor for an asset.
post/api/v1/assets/{asset_id}/custom-sql-monitors
Request
- Base URL: http://localhost:8000
- URL: http://localhost:8000/api/v1/assets/{asset_id}/custom-sql-monitors
- Auth: none declared
Path parameters
asset_idstring uuid required
Headers
Authorizationstring
Request body
Example request
{
"name": "Zero-Dollar Orders",
"sql_query": "SELECT COUNT(*) FROM orders WHERE total_amount = 0",
"table_path": "public.orders",
"upper_bound": 10,
"check_interval": "daily"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.