Search Alert Rule
POST
/alerts/v1/search
const url = 'http://localhost:3000/alerts/v1/search';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"request":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3000/alerts/v1/search \ --header 'Content-Type: application/json' \ --data '{ "request": {} }'Request Body
Section titled “Request Body ” Media type application/json
object
Example
{ "request": {}}Responses
Section titled “ Responses ”Successful response
Media type application/json