Skip to main content
New to Corsair? See API access, authentication, and error handling.

Accounts

list

accounts.list List the accounts this key can reach, with the ids NRQL and issues take Risk: read
Input Output

Alerts

conditions

alerts.conditions List the APM, browser and mobile conditions in one policy; external service, synthetic and NRQL conditions are separate endpoints and are not covered Risk: read
Input Only APM, browser and mobile conditions; external service, synthetic and NRQL conditions are separate endpoints. Output

createNrqlCondition

alerts.createNrqlCondition Add a static NRQL alert condition to a policy: the query, thresholds and how long they must hold Risk: write
Input
Output

createPolicy

alerts.createPolicy Create an alert policy and choose whether incidents roll up per policy, per condition, or per condition and signal Risk: write
Input Output

deleteNrqlCondition

alerts.deleteNrqlCondition Delete a NRQL alert condition; New Relic has no restore call Risk: destructive · Irreversible
Input Output

deletePolicy

alerts.deletePolicy Delete an alert policy and the conditions attached to it; New Relic has no restore call Risk: destructive · Irreversible
Input Deleting a policy also deletes its conditions, and there is no restore call. Output

nrqlConditions

alerts.nrqlConditions List the static NRQL conditions in one policy, with their query, thresholds and signal settings Risk: read
Input Output

policies

alerts.policies List alert policies with their incident rollup preference Risk: read
Input Output

updateNrqlCondition

alerts.updateNrqlCondition Replace a NRQL condition, e.g. to enable it or move its threshold; send the whole condition, since a partial body is refused Risk: write
Input Send the whole condition; a partial body answers 400.
Output

updatePolicy

alerts.updatePolicy Rename an alert policy or change how its incidents roll up; both fields are sent, since New Relic replaces the policy Risk: write
Input Send both name and incident_preference; New Relic replaces the policy and refuses a partial body. Output

Applications

get

applications.get Read one application by id with the same health, reporting and summary block Risk: read
Input Output

list

applications.list List applications with their health colour, whether they are reporting, and the summary metrics the UI shows Risk: read
Input health_status is green, orange, red or unknown; orange is the REST spelling of the UI yellow. Output

Change Tracking

createDeployment

changeTracking.createDeployment Record a deployment marker (version, commit, changelog) on an entity; markers cannot be deleted Risk: destructive · Irreversible
Input Markers cannot be deleted afterwards. Output

Entities

get

entities.get Read up to 25 entities by GUID with their type, reporting state, alert severity and tags Risk: read
Input Output

entities.search Search monitored entities (services, hosts, browser apps, dashboards, monitors, alert conditions) with a filter such as type = ‘APPLICATION’ Risk: read
Input Output

Issues

list

issues.list List alert issues for an account, filtered by state, priority, entity or time window Risk: read
Input title and description are lists in NerdGraph. Output

Metrics

get

metrics.get Read metric timeslices for an application over a time window, or one averaged value per metric with summarize Risk: read
Input Without from, New Relic returns the last 30 minutes. summarize collapses the window into one value per metric. Output

Query

nrql

query.nrql Run a NRQL query against one account through NerdGraph and return its rows and the time window New Relic actually ran over Risk: read
Input Runs through NerdGraph, so accountId is required. A bad query answers 200 with an errors array, which the plugin throws. Output