---
title: "Get the Governance Console configuration"
method: GET
path: "/api/v2/governance/config"
tags: ["Governance Console"]
---

# Get the Governance Console configuration

`GET /api/v2/governance/config`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/governance/config`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token`
- TypeScript: <https://skmtc.dev/datadog/apis/datadog-api-v2-collection/docs/api/v2/governance/config/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the Governance Console configuration for the organization, including whether the
Console is enabled, whether assignment notifications are enabled, and whether usage
attribution is configured.

## Response `200`

OK

- GovernanceConfigResponse: The Governance Console configuration for an organization.
  - `data` GovernanceConfigData, required: A Governance Console configuration resource.
    - `attributes` GovernanceConfigAttributes, required: The attributes of a Governance Console configuration.
      - `assignment_notifications_enabled` boolean, required: Whether notifications are sent to users when detections are assigned to them.
      - `enabled` boolean, required: Whether the Governance Console is enabled for the organization.
      - `usage_attribution_configured` boolean, required: Whether usage attribution is configured for the organization.
      - `xorg_insights_enabled` boolean, required: Whether the organization has opted in to sharing governance data with a managing org for cross-org insights.
    - `id` string, required: The unique identifier of the organization the Governance Console configuration applies to. May be the nil UUID (`00000000-0000-0000-0000-000000000000`) when the configuration is not tied to a specific organization record.
    - `type` 'governance_console_config', required: Governance console config resource type.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `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/3f70db624329?raw)
