• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

Record and view deployments

|View as Markdown

The REST API for deployments is reaching end of life

The REST API v2 deployment endpoints (/v2/applications/{app_id}/deployments.json) documented on this page, along with the legacy Deployments v0 API, reach end of life on July 31, 2027. After that date, they won't be available.

Record deployments with the change tracking feature instead, using the NerdGraph changeTrackingCreateEvent mutation. For endpoint-by-endpoint mappings, see the Migrate from REST API v2 to NerdGraph guide. The REST instructions below remain as reference for existing integrations you're migrating.

Tip

Change tracking is available for , , and .

Deploying an app can be a risky event—when your app breaks, and a bad deployment is often the cause. New Relic allows you to track deployments so you can correlate deployments with changes in your app's performance. Tracking deployments creates deployment markers that appear in APM charts and dashboards.

See how deployment markers work in this short video (4:30 minutes):

Options for tracking deployments

You can record new deployments and retrieve a list of past deployments with either the New Relic REST API v2 or NerdGraph. Use NerdGraph: the REST API v2 deployment endpoints reach end of life on July 31, 2027. Additionally, some APM agents offer agent-specific methods to automatically record deployments.

You can use your Slack integration with New Relic, or a simple webhook, to notify your team in real time of deployments for applications monitored by APM. Slack provides a webhook URL that allows you to post generic JSON that will appear formatted in a chosen Slack channel.

There are a few places where you can view deployments in the New Relic UI after they have been recorded:

  • In the activity feed on the APM Summary, Service summary, and entity summary pages.
  • On APM performance charts as chart markers (vertical lines with pinheads).
  • On dashboard charts as chart markers.
  • On the Deployments page for summary performance.

Tip

Deployment markers are not available for browser applications, but you can try these alternatives:

  • Switch from deployment markers to the change tracking feature that enables you to track browser application changes.
  • See browser releases for a way to tag errors with release versions.

Record deployments with the REST API

These REST endpoints reach end of life July 31, 2027

The REST API v2 deployment endpoints shown below reach end of life on July 31, 2027 and will stop working after that date. Migrate to the NerdGraph changeTrackingCreateEvent mutation, see the Migrate from REST API v2 to NerdGraph guide. These instructions remain for reference while you migrate existing integrations.

You can use the New Relic REST API v2 to record deployments and get a list of past deployments.

  • The examples in this document use curl as a command-line tool. However, you can use any method to make your REST requests. You can also create and view deployments with the API Explorer.
  • JSON uses double quotes " for element names and content. Using single quotes ' will cause errors.
  • The examples use X-Api-Key which can be used for either a user key or a REST API key. User keys are now the preferred way of accessing our REST APIs, and you may use Api-Key headers when using them.

Record deployments using the New Relic agent

Important

The REST API v2 methods referenced below reach end of life on July 31, 2027. Record deployments with the NerdGraph changeTrackingCreateEvent mutation instead, see the migration guide.

Some agents have additional methods to record deployments:

View deployment details

After you configure the deployment information, you can view and drill down into details in the UI. For tips, see our change tracking document How to view and analyze your changes in New Relic.

Notify your team about deployments

Whether you're tracking deployments with the REST API or the newer GraphQL API, you can notify your team members using a webhook. For details, see the change tracking webhook instructions.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.