---
title: "Validate an API key"
method: GET
path: "/api/v1/auth/keys/validate"
tags: ["auth"]
---

# Validate an API key

`GET /api/v1/auth/keys/validate`

Returns 200 if the key in the Authorization header is valid. Returns 401 otherwise.

## Response `200`

Key is valid

- ApiKeyValidateResponse
  - `valid` boolean, required
  - `key_prefix` string, required

## Other responses

- `401` — Unauthorized
- `404` — Not found

---

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