---
title: "Validate Api Key"
method: POST
path: "/api/keys/validate"
tags: ["api-keys"]
---

# Validate Api Key

`POST /api/keys/validate`

Validate an API key and check if it belongs to an associated user.

Request body:
    {
        "key": "qd_live_abc123..."
    }

Returns:
    {
        "valid": true
    }

Note: Returns true if the key is valid and not revoked, false otherwise.

## Request body

- ValidateKeyRequest — Request model for validating an API key.
  - `key` string, required

## Response `200`

Successful Response

- ValidateKeyResponse — Response model for API key validation.
  - `valid` boolean, required

## Other responses

- `422` — Validation Error

---

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