Skip to main content

Validate Rule From Search

POST 

/api/v1/rules/from-hyperdx/validate

Check the SQL a Search view renders to as POST /rules/from-hyperdx would, writing nothing.

Runs every check a create runs and answers the same 422 refusals, including rule_empty_filter. A search that would save answers 200. Nothing is written and no alert-volume preview runs, so a Search view can ask before the user presses Create. An engine without this route answers 404, which is how a caller tells it is older.

Request​

Responses​

Successful Response