---
title: "Validate Key"
method: POST
path: "/api/keys/validate"
---

# Validate Key

`POST /api/keys/validate`

## Request

- Base URL: `https://yuanzizhiyi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://yuanzizhiyi.com/api/keys/validate`
- Auth: none declared

## Cookies

- `yuanzi_key_session` string, nullable
- `yuanzi_report_identity` string, nullable

## Request body

- ValidateKeyRequest
  - `key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yuanzizhiyi/apis/yuanzi-zhiyi.md) · [All operations](https://skmtc.dev/yuanzizhiyi/apis/yuanzi-zhiyi/llms.txt) · [OpenAPI document](https://skmtc.dev/yuanzizhiyi/apis/yuanzi-zhiyi/revisions/d063fae7ac16?raw)
