Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Update Account Settings
SCREWTAPE_PATCH_ACCOUNT_SETTINGSUpdate retention, anonymous-statistics contribution, or the drift-alert webhook. Omitted fields remain unchanged; existing rows keep their expiry.
Set BYOM Settings
SCREWTAPE_PUT_BYOM_SETTINGSSet or rotate Bring-Your-Own-Model provider settings for the connected Screwtape API key. Screwtape AES-GCM encrypts the provider key at rest and never logs it. Unknown models require custom=true. The default error policy is deny, which fails closed for payment decisions.
Set Payment Guard Account Rules
SCREWTAPE_PUT_PAYMENT_GUARD_ACCOUNT_RULESSet the account-default spend rules used by Screwtape Payment Guard. Key-specific rules take precedence. This endpoint is free.
Set Payment Guard Rules
SCREWTAPE_PUT_PAYMENT_GUARD_RULESSet spend rules for the connected Screwtape API key. Key-specific rules override account-default rules. This endpoint is free.
Set Data-Sharing Setting
SCREWTAPE_SET_DATA_SHARINGTurn opt-in data sharing on or off for the connected key. Disabling it deletes all stored samples immediately. Call this only when the user explicitly asks.