Alerts NRQL Conditions
Create
🔥🔥 New users should use <a href="https://docs.newrelic.com/docs/alerts-applied-intelligence/new-relic-alerts/advanced-alerts/alerts-nerdgraph/nerdgraph-api-examples/">these docs about managing alerts via NerdGraph.</a>
<hr> <p>This API endpoint allows you to create NRQL conditions for your Alerts policy.</p> <p>Note: <a href="https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/rest-api-key">Admin User’s API Key</a> is required.</p> <p>See our documentation for a discussion on <a href="https://docs.newrelic.com/docs/alerts/new-relic-alerts/rest-api-alerts/rest-api-calls-new-relic-alerts#conditions-create" target="_blank">creating conditions for policies</a>.</p>post/alerts_nrql_conditions/policies/{policy_id}.json
Request
- Base URLhttps://api.newrelic.com/v2
- AuthAPI key in header Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
policy_idinteger required
Alerts policy ID
Request body
Response
No response was specified
Changes
No recorded changes to this operation across all 1 revision of this API.