---
title: "Get a deployment gate evaluation result"
method: GET
path: "/api/v2/deployments/gates/evaluation/{id}"
tags: ["Deployment Gates"]
---

# Get a deployment gate evaluation result

`GET /api/v2/deployments/gates/evaluation/{id}`

## Request

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

Retrieves the result of a deployment gate evaluation by its evaluation ID.
If the evaluation is still in progress, `data.attributes.gate_status` will be `in_progress`;
continue polling until it returns `pass` or `fail`.
Polling every 10-20 seconds is recommended.
The endpoint may return a 404 if called too soon after triggering; retry after a few seconds.

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

- DeploymentGatesEvaluationResultResponse: Response containing the result of a deployment gate evaluation.
  - `data` DeploymentGatesEvaluationResultResponseData: Data for a deployment gate evaluation result response.
    - `attributes` DeploymentGatesEvaluationResultResponseAttributes, required: Attributes for a deployment gate evaluation result response.
      - `dry_run` boolean, required: Whether the gate was evaluated in dry-run mode.
      - `evaluation_id` string, required: The unique identifier of the gate evaluation.
      - `evaluation_url` string, required: A URL to view the evaluation details in the Datadog UI.
      - `gate_id` string, uuid, required: The unique identifier of the deployment gate.
      - `gate_status` 'in_progress' | 'pass' | 'fail', required: The overall status of the gate evaluation. - `in_progress`: The evaluation is still running. - `pass`: All rules passed successfully and the deployment is allowed to proceed. - `fail`: One or more rules did not pass; the deployment should not proceed.
      - `rules` DeploymentGatesRuleResponse[], required: The results of individual rule evaluations.
        - `dry_run` boolean: Whether this rule was evaluated in dry-run mode.
        - `name` string: The name of the rule.
        - `reason` string: The reason for the rule result, if applicable.
        - `status` 'in_progress' | 'pass' | 'fail': The overall status of the gate evaluation. - `in_progress`: The evaluation is still running. - `pass`: All rules passed successfully and the deployment is allowed to proceed. - `fail`: One or more rules did not pass; the deployment should not proceed.
    - `id` string, required: The unique identifier of the evaluation.
    - `type` 'deployment_gates_evaluation_result_response', required: JSON:API type for a deployment gate evaluation result response.

## Other responses

- `400`: Bad request.
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Deployment gate not found.
- `429`: Too many requests
- `500`: Internal Server Error

---

[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)
