Hermos API

Post Denial

Record an MCP tool refusal using an agent key or OAuth-exchanged token. Limited to 60 requests per minute per agent. Invalid or rate-limited submissions write no audit event. Idempotency-Key and Hms-Dry-Run are unsupported.

POST/denials

Record an MCP tool refusal using an agent key or OAuth-exchanged token. Limited to 60 requests per minute per agent. Invalid or rate-limited submissions write no audit event. Idempotency-Key and Hms-Dry-Run are unsupported.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/denials" \  -H "Content-Type: application/json" \  -d '{    "tool": "whoami",    "reason": "tool_not_offered"  }'
Empty