---
title: "Get API key"
method: GET
path: "/api/v1/api_key/{key}"
tags: ["Key Management"]
---

# Get API key

`GET /api/v1/api_key/{key}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v1/api_key/{key}`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Get a given API key.

**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.

## Path parameters

- `key` string, required

## Response `200`

OK

- ApiKeyResponse: An API key with its associated metadata.
  - `api_key` ApiKey: Datadog API key.
    - `created` string: Date of creation of the API key.
    - `created_by` string: Datadog user handle that created the API key.
    - `key` string: API key.
    - `name` string: Name of your API key.

## Other responses

- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

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