# Screwtape

Screwtape checks agent outputs, budgets, payments, and duplicate invoices while issuing signed receipts for audit and verification.

Category: Security & Ops. Connect from any SulusAssist agent at https://assist.sulus.ai/integrations/screwtape/.

## Actions

- **Authorize Payment With Payment Guard**: Apply the connected key's effective spend rules to a payment intent.
- **Check Duplicate Invoice**: Judge an invoice and compare its configured identity fields with stored fingerprints before payment, optionally storing a new fingerprint…
- **Check Payment**: Assess available x402 seller or payment-request context and return an allow, review, or block verdict with a signed receipt reference when…
- **Create Action Receipt**: Create an Ed25519-signed, hash-chained receipt for an agent-reported action and status.
- **Create Free API Key**: Create a free-tier Screwtape API key with 10 calls per UTC day.
- **Create Free API Key via Keys Endpoint**: Create a free-tier Screwtape API key, optionally using proof of work for higher signup limits.
- **Delete All Retained Calls**: Permanently delete every retained call for the connected key's subscription account, or only this key when it has no plan, and return the…
- **Delete BYOM Settings**: Delete the Bring-Your-Own-Model settings stored for the connected Screwtape API key, including its encrypted provider credential.
- **Delete Current API Key and Data**: Permanently and irreversibly delete the connected API key hash, counters, payments, retained judgments, shared samples, and feedback.
- **Delete Duplicate Fingerprints**: Permanently delete every keyed fingerprint that duplicate checks stored for the connected key and return the deleted count.
- **Delete Receipt Evidence**: Delete retained evidence for one receipt while preserving the signed receipt.
- **Delete Retained Call**: Permanently delete one retained judge or consensus call by its retention id.
- **Describe API Key Signup** (read-only): Return instructions and the proof-of-work challenge for creating a free Screwtape API key.
- **Describe Free API Key Signup** (read-only): Return instructions and the proof-of-work challenge for creating a free Screwtape API key.
- **Export Spend Books** (read-only): Export charges for the connected key as agent spend-book rows grouped by agent, seller, vendor, UTC day, and product category in…
- **Export Verdict Receipts** (read-only): Export one cursor-controlled page of signed verdict receipts as a downloadable JSONL, CSV, or JSON audit file.
- **Get Account Settings** (read-only): Read retention, anonymous-statistics contribution, and drift-alert webhook settings.
- **Get Action Receipt Key** (read-only): Get the public Ed25519 key used to verify Screwtape action receipts.
- **Get BYOM Settings** (read-only): Get Bring-Your-Own-Model provider, model, key suffix, and error policy for the connected Screwtape API key.
- **Get Current Key Usage** (read-only): Return safe metadata, metered-call usage, daily quota, and credit balance for the connected Screwtape API key without revealing its secret.
- **Get Data-Sharing Setting** (read-only): Read the connected key's opt-in data-sharing state, consent metadata, stored sample count, and redaction and retention policy.
- **Get Drift Alerts** (read-only): List recent drift alerts for the connected key.
- **Get Drift Report** (read-only): Return daily verdict counts and rates for up to 90 days, the previous 30-day baseline, and the latest 24 hours for the connected key.
- **Get Payment Guard Account Rules** (read-only): Read the account-default spend rules used by Screwtape Payment Guard.
- **Get Payment Guard Rules** (read-only): Read the spend rules set for the connected Screwtape API key and the effective rules used by Payment Guard.
- **Get Receipt Keys** (read-only): Get the public Ed25519 keys used to verify verdict receipts, including retired keys retained for older exports.
- **Get Retained Call** (read-only): Replay one retained call, including its stored request, result, and signed receipt when still available.
- **Get Status** (read-only): Get measured one-hour and 24-hour endpoint latency, uptime, rate limits, and cached x402 facilitator health for Screwtape.
- **Get Status JSON** (read-only): Get the JSON status document containing one-hour and 24-hour endpoint latency, uptime, rate limits, and cached x402 facilitator health.
- **Judge Output**: Judge one agent output against its task, evidence, criteria, and optional deterministic checks, returning a pass, fail, or retry verdict…
- **List Retained Calls** (read-only): Return the 20 newest judge and consensus calls that the connected key chose to retain.
- **List Verdict Receipts** (read-only): List one page of signed verdict receipts stored for the connected API key, with optional date filters and an agent-controlled continuation…
- **Publish Receipt**: Publish one signed receipt owned by the connected key and return its public page, badge, and embed snippets.
- **Replay Decision**: Re-run invoice rules against retained evidence using the original or current policy version.
- **Reserve Budget**: Reserve one spend event against a shared agent-run cap and return whether it is allowed, duplicated, retried, or anomalous.
- **Score Consensus**: Compare 2-16 agent answers for agreement and false-consensus risk, returning a consensus answer, clusters, reasons, and a signed receipt…
- **Score Seller Trust**: Assess whether a paying agent looks abusive or risky before accepting payment, using network history and optionally contributed…
- **Send Verdict Feedback**: Record whether the verdict on one call made by the connected key was correct.
- **Set BYOM Settings**: Set or rotate Bring-Your-Own-Model provider settings for the connected Screwtape API key.
- **Set Data-Sharing Setting**: Turn opt-in data sharing on or off for the connected key.
- **Set Payment Guard Account Rules**: Set the account-default spend rules used by Screwtape Payment Guard.
- **Set Payment Guard Rules**: Set spend rules for the connected Screwtape API key.
- **Start PayPal Checkout**: Start a PayPal card checkout for the $100 Sandbox Evaluation Pack, which provides 2,000 standard checks for 30 days and may be purchased…
- **Submit Enterprise Inquiry**: Submit contact details and a message to ask Screwtape about enterprise pricing.
- **Try Check** (read-only): Run Screwtape's deterministic, no-key invoice sample for a duplicate, clean, or bad-total scenario.
- **Unpublish Receipt**: Remove the public page and badge for one receipt published by the connected key.
- **Update Account Settings**: Update retention, anonymous-statistics contribution, or the drift-alert webhook.
- **Verify Action Receipt** (read-only): Verify an action receipt by its Screwtape receipt ID or by a portable receipt object, including its hash-chain link.
- **Verify Verdict Receipt** (read-only): Verify the Ed25519 signature of a verdict receipt returned by Screwtape judge or consensus without storing it.
