Utilities
Verify Request Signature
Verifies a request signature returned in the response headers of the Chat Completions, Responses, or Messages API, proving that the request was handled by the Kimi API for the specified model rather than routed elsewhere. Submit the nonce used in the call, the timestamp from the response headers, the request's model, and the signature; the endpoint returns valid: true when the signature matches these three attributes exactly, and valid: false otherwise.
post/v1/signatures/verify
Request
- Base URL: https://api.moonshot.ai
- URL: https://api.moonshot.ai/v1/signatures/verify
- Auth: HTTP bearer
Request body
Example request
{
"nonce": "7d929748-0ae6-41c2-ab5d-a186498ad721",
"timestamp": 1786338000123,
"model": "kimi-k2.7-code",
"signature": "reqsigv1_<opaque-token>"
}Response
Verification result
Example response
{
"valid": true
}Changes
No recorded changes to this operation across all 1 revision of this API.