---
title: "List"
method: GET
path: "/alerts_external_service_conditions.json"
tags: ["Alerts External Service Conditions"]
---

# List

`GET /alerts_external_service_conditions.json`

## Request

- Base URL: `https://api.newrelic.com/v2`
- URL: `https://api.newrelic.com/v2/alerts_external_service_conditions.json`
- Auth: API key in header `Api-Key`
- TypeScript: <https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2/docs/alerts_external_service_conditions.json/get.ts> (a function with typed inputs; its response is checked against the schema)

🔥🔥 New users should use NRQL Alert Conditions, refer to <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 list the external service conditions for your alert policy.</p>

<p>See our documentation for a discussion on
<a href="https://docs.newrelic.com/docs/apis/rest-api-v2/requirements/pagination-api-output" target="_blank"> output pagination</a>.</p>

## Query parameters

- `policy_id` integer, required
- `page` integer

## Response `200`

No response was specified

- ExternalServiceConditionResponse
  - `external_service_condition` ExternalServiceConditionResponseType
    - `enabled` boolean
    - `entities` integer[]
    - `external_service_url` string
    - `id` integer
    - `metric` string
    - `name` string
    - `runbook_url` string
    - `terms` IJKTermsType[]
      - `duration` string
      - `operator` string
      - `priority` string
      - `threshold` string
      - `time_function` string
    - `type` string

---

[API](https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2.md) - [All operations](https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/newrelic/apis/new-relic-rest-api-v2/revisions/cf1843ad0a45?raw)
