> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "Validate API key"
description: "Checks if a `holo_xxx` key is valid and returns the associated org. Used internally by the AI gateway."
api: "POST /api/v0/keys/validate"
---

<Aside full>

<RequestExample>

```bash
curl -X POST "https://api.example.com/api/v0/keys/validate" \
  -H "Content-Type: application/json" \
  -d '{
  "key": "string"
}'
```

</RequestExample>

</Aside>

<OpenAPIEndpoint {...{"method":"post","path":"/api/v0/keys/validate","summary":"Validate API key","description":"Checks if a `holo_xxx` key is valid and returns the associated org. Used internally by the AI gateway.","parameters":[],"requestBody":{"required":true,"contentType":"application/json","schema":{"type":"object","required":["key"],"properties":{"key":{"type":"string","minLength":1}}}},"responses":[{"status":"200","description":"","schema":{"type":"object","required":["keyId","orgId"],"properties":{"keyId":{"type":"string"},"orgId":{"type":"string"}}}},{"status":"401","description":"","schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}}}},{"status":"default","description":""}],"security":[],"servers":[]}} />

---

*Powered by [holocron.so](https://holocron.so)*
