---
title: Governance Console
description: Governance Console identifie les problèmes qui s'accumulent au fil du temps dans une organisation Datadog, tels que des clés d'API inutilisées, des…
breadcrumbs: Documentation > API > Governance Console
---

> For the complete documentation index, see [llms.txt](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/llms.txt).

# Governance Console

Governance Console identifie les problèmes qui s'accumulent au fil du temps dans une organisation Datadog,
tels que des clés d'API inutilisées, des utilisateurs qui n'ont plus besoin d'accès ou des métriques personnalisées qui ne sont
jamais interrogées, et les suit jusqu'à leur résolution.

Ces endpoints vous permettent de :

- Lire les insights : mesures de la façon dont votre organisation utilise Datadog, chacune avec la requête sous-jacente.
- Configurer les contrôles : les règles décidant comment un type de problème est trouvé et ce qui est fait à ce sujet.
- Agir sur les détections : les problèmes trouvés par un contrôle. Attribuer, différer, accepter comme exception ou corriger.
- Gérer les paramètres&nbsp;: configuration à l'échelle de l'organisation et destinations de notification.

Consultez la [page Governance Console](https://docs.datadoghq.com/account_management/governance_console.md)
pour plus d'informations.

## [Get the Governance Console configuration](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/get-the-governance-console-configuration.md) (preview)

| Datadog site      | API endpoint                                               |
| ----------------- | ---------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/governance/config     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/governance/config |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/governance/config |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/governance/config      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/governance/config |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/governance/config |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/governance/config |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/governance/config      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/governance/config  |

## [List insights](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/list-insights.md) (preview)

| Datadog site      | API endpoint                                                 |
| ----------------- | ------------------------------------------------------------ |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/governance/insights     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/governance/insights |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/governance/insights |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/governance/insights      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/governance/insights |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/governance/insights |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/governance/insights |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/governance/insights      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/governance/insights  |

## [List controls](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/list-controls.md) (preview)

| Datadog site      | API endpoint                                                |
| ----------------- | ----------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/governance/control     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/governance/control |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/governance/control |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/governance/control      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/governance/control |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/governance/control |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/governance/control |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/governance/control      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/governance/control  |

## [Get a control](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/get-a-control.md) (preview)

| Datadog site      | API endpoint                                                                 |
| ----------------- | ---------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/governance/control/{detection_type}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/governance/control/{detection_type} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/governance/control/{detection_type} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/governance/control/{detection_type}      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/governance/control/{detection_type} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/governance/control/{detection_type} |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/governance/control/{detection_type} |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/governance/control/{detection_type}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/governance/control/{detection_type}  |

## [Update a control](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/update-a-control.md) (preview)

| Datadog site      | API endpoint                                                                   |
| ----------------- | ------------------------------------------------------------------------------ |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/governance/control/{detection_type}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/governance/control/{detection_type} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/governance/control/{detection_type} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/governance/control/{detection_type}      |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/governance/control/{detection_type} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/governance/control/{detection_type} |
| uk1.datadoghq.com | PATCH https://api.uk1.datadoghq.com/api/v2/governance/control/{detection_type} |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/governance/control/{detection_type}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/governance/control/{detection_type}  |

## [List control detections](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/list-control-detections.md) (preview)

| Datadog site      | API endpoint                                                                            |
| ----------------- | --------------------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/governance/control/{detection_type}/detections     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/governance/control/{detection_type}/detections |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/governance/control/{detection_type}/detections |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/governance/control/{detection_type}/detections      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/governance/control/{detection_type}/detections |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/governance/control/{detection_type}/detections |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/governance/control/{detection_type}/detections |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/governance/control/{detection_type}/detections      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/governance/control/{detection_type}/detections  |

## [Get a detection](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/get-a-detection.md) (preview)

| Datadog site      | API endpoint                                                                  |
| ----------------- | ----------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/governance/detections/{detection_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/governance/detections/{detection_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/governance/detections/{detection_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/governance/detections/{detection_id}      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/governance/detections/{detection_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/governance/detections/{detection_id} |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/governance/detections/{detection_id} |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/governance/detections/{detection_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/governance/detections/{detection_id}  |

## [Update a detection](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/update-a-detection.md) (preview)

| Datadog site      | API endpoint                                                                    |
| ----------------- | ------------------------------------------------------------------------------- |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/governance/detections/{detection_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/governance/detections/{detection_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/governance/detections/{detection_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/governance/detections/{detection_id}      |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/governance/detections/{detection_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/governance/detections/{detection_id} |
| uk1.datadoghq.com | PATCH https://api.uk1.datadoghq.com/api/v2/governance/detections/{detection_id} |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/governance/detections/{detection_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/governance/detections/{detection_id}  |

## [Mitigate detections](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/mitigate-detections.md) (preview)

| Datadog site      | API endpoint                                                             |
| ----------------- | ------------------------------------------------------------------------ |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v2/governance/detections/mitigate     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v2/governance/detections/mitigate |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v2/governance/detections/mitigate |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v2/governance/detections/mitigate      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v2/governance/detections/mitigate |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v2/governance/detections/mitigate |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v2/governance/detections/mitigate |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v2/governance/detections/mitigate      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v2/governance/detections/mitigate  |

## [Get control notification settings](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/get-control-notification-settings.md) (preview)

| Datadog site      | API endpoint                                                                                       |
| ----------------- | -------------------------------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/governance/control/{detection_type}/notification_settings      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/governance/control/{detection_type}/notification_settings      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/governance/control/{detection_type}/notification_settings  |

## [Update control notification settings](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/update-control-notification-settings.md) (preview)

| Datadog site      | API endpoint                                                                                       |
| ----------------- | -------------------------------------------------------------------------------------------------- |
| app.datadoghq.com | PUT https://api.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings     |
| us3.datadoghq.com | PUT https://api.us3.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings |
| us5.datadoghq.com | PUT https://api.us5.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings |
| app.datadoghq.eu  | PUT https://api.datadoghq.eu/api/v2/governance/control/{detection_type}/notification_settings      |
| ap1.datadoghq.com | PUT https://api.ap1.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings |
| ap2.datadoghq.com | PUT https://api.ap2.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings |
| uk1.datadoghq.com | PUT https://api.uk1.datadoghq.com/api/v2/governance/control/{detection_type}/notification_settings |
| app.ddog-gov.com  | PUT https://api.ddog-gov.com/api/v2/governance/control/{detection_type}/notification_settings      |
| us2.ddog-gov.com  | PUT https://api.us2.ddog-gov.com/api/v2/governance/control/{detection_type}/notification_settings  |

## [Get notification settings](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/get-notification-settings.md) (preview)

| Datadog site      | API endpoint                                                              |
| ----------------- | ------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/governance/notification_settings     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/governance/notification_settings |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/governance/notification_settings |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/governance/notification_settings      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/governance/notification_settings |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/governance/notification_settings |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v2/governance/notification_settings |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/governance/notification_settings      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/governance/notification_settings  |

## [Update notification settings](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/governance-console/update-notification-settings.md) (preview)

| Datadog site      | API endpoint                                                                |
| ----------------- | --------------------------------------------------------------------------- |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/governance/notification_settings     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/governance/notification_settings |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/governance/notification_settings |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/governance/notification_settings      |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/governance/notification_settings |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/governance/notification_settings |
| uk1.datadoghq.com | PATCH https://api.uk1.datadoghq.com/api/v2/governance/notification_settings |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/governance/notification_settings      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/governance/notification_settings  |
