---
title: "Get a deployment event"
method: GET
path: "/api/v2/dora/deployments/{deployment_id}"
tags: ["DORA Metrics"]
---

# Get a deployment event

`GET /api/v2/dora/deployments/{deployment_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/dora/deployments/{deployment_id}`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Use this API endpoint to get a deployment event.

## Path parameters

- `deployment_id` string, required

## Response `200`

OK

- DORADeploymentFetchResponse: Response for fetching a single deployment event.
  - `data` DORADeploymentObject: A DORA deployment event.
    - `attributes` DORADeploymentObjectAttributes: The attributes of the deployment event.
      - `custom_tags` string[], nullable: A list of user-defined tags. The tags must follow the `key:value` pattern. Up to 100 may be added per event.
      - `env` string: Environment name to where the service was deployed.
      - `finished_at` string, date-time: The time when the deployment finished.
      - `git` DORAGitInfoResponse: Git info returned by DORA Metrics events.
        - `commit_sha` string, required: Git Commit SHA.
        - `repository_id` string, required: Git Repository ID
      - `service` string, required: Service name.
      - `started_at` string, date-time, required: The time when the deployment started.
      - `team` string: Name of the team owning the deployed service.
      - `version` string: Version to correlate with APM Deployment Tracking.
    - `id` string: The ID of the deployment event.
    - `type` 'dora_deployment': JSON:API type for DORA deployment events.

## Other responses

- `400`: Bad Request
- `403`: Not Authorized
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
