Requirements
- A Claude Enterprise organization with Anthropic Inference hooks enabled
- A Claude Owner or Primary owner role with
organization:managepermission - Runlayer organization-admin access
- An active Runlayer input scanner policy
- For self-hosted Runlayer, a publicly reachable
https://endpoint on port 443 with a publicly trusted certificate and no redirect
Where to get each value
Configure the integration
Allow Inference hooks in Claude
Save the Claude Organization ID in Runlayer
Save the endpoint and copy the signing secret
whsec_... value before continuing. Store it in
Runlayer before testing the connection: Anthropic signs connection tests
with this secret too.Store the secret and enable Runlayer
Test the connection in Claude
Start in shadow mode
Verify live traffic
Move from shadow mode to enforcement
Review the Audit Logs and Sessions produced during the shadow period. Tune scanner policies until expected prompts are allowed and genuine violations are denied. Then choose Claude’s failure behavior:- Allow the request lets inference proceed when Runlayer cannot return a verdict in time.
- Block the request fails closed when Runlayer is unreachable or times out.
Security and identity
Anthropic signs each saved-endpoint request with the configured signing secret. Runlayer verifies that signature before using the tenant ID or actor data. The tenant ID selects the stored secret; it is not authentication by itself. For live prompts, Runlayer maps the signed actor email to an active user in the same Runlayer organization. If no matching user exists, Runlayer denies the request instead of assigning the prompt to an unverified identity.Troubleshooting
The connection succeeds but returns a deny verdict
The connection succeeds but returns a deny verdict
Claude reports a 422 response mentioning tool_name
Claude reports a 422 response mentioning tool_name
/api/v1/hooks/anthropic/inference.Claude reports that the response is not a valid verdict
Claude reports that the response is not a valid verdict
Claude reports 401 or an invalid signature
Claude reports 401 or an invalid signature
whsec_... secret is stored. If the secret was
rotated in Claude, paste the replacement into Runlayer immediately.The connection test works, but no live requests arrive
The connection test works, but no live requests arrive
Audit Logs appear, but Sessions are empty
Audit Logs appear, but Sessions are empty
Runlayer cannot verify the Anthropic actor
Runlayer cannot verify the Anthropic actor