---
title: "Validate API and application keys"
method: GET
path: "/api/v2/validate_keys"
tags: ["Key Management"]
---

# Validate API and application keys

`GET /api/v2/validate_keys`

Check that the API key and application key used for the request are both valid.
Returns `{"status": "ok"}` on success, `401` or `403` otherwise. Useful as a
lightweight authentication probe before issuing other API calls that require
full credentials.

## Response `200`

OK

- ValidateAPIKeyResponse — Response object for the API and application key validation status check.
  - `status` 'ok', required — Status of the validation. Always `ok` when both the API key and the application key are valid.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
