Validate an API key
POST/api/auth/validate
Validate an API key
Request
Responses
- 200
- 401
- 403
API key is valid
Invalid or missing API key
The key is valid but refused here: its allowedIps exclude this client, or it is restricted to selected chats. Also returned when the API key's role, session or chat scope, or IP allow-list does not allow this operation.