NAiOS IconNAiOS Logo
Contacto
Contacto

Suscríbete a la newsletter

Novedades de IA y de producto. Sin spam, puedes darte de baja cuando quieras.

Consejo: usa tu email de empresa para una respuesta más relevante.

Comprobando seguridad…
NAiOS Icon
NAiOS Logo

El primer integrador de IA para empresas reales. Conecta todas tus herramientas de IA de forma segura y escalable.

+34 695482054info@naios.netinfo@netretina.ai
LinkedInNAiOS AcademyNetretina.AiContact UsX

Plataforma

  • Características
  • Integraciones
  • Planes y precios

Empresa

  • Sobre nosotros
  • Blog
  • Contacto

Compliance

  • Reglamento Europeo de IA
  • Transparencia de IA

Legal

  • Aviso legal
  • Política de privacidad
  • Términos y condiciones
  • Política de cookies
  • Devoluciones

© 2026 NAiOS. Todos los derechos reservados.

Un producto de Netretina.Ai

    Volver al catálogo

    Screwtape

    screwtape

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

    AI Safety Compliance DetectionAI AgentsWeb del proveedor
    Acciones
    49
    Triggers
    0
    Autenticación
    —
    OAuth gestionado
    No
    Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

    Acciones disponibles (49)

    Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

    Authorize Payment With Payment GuardSCREWTAPE_AUTHORIZE_PAYMENT_GUARDAcción

    Apply the connected key's effective spend rules to a payment intent. An allow decision atomically reserves the amount against configured budgets and returns a short-lived Ed25519-signed clearance; a block reserves nothing. This non-custodial action does not make a payment and never accepts private keys, seeds, or mnemonics. Reusing an event_id with the same body replays the decision without billing again.

    Parámetros de entrada

    • payeestring

      Payee address or identifier checked against allowed_sellers.

    • domainstring

      Seller hostname checked against allowed_domains.

    • agent_idstringObligatorio

      Identifier of the agent that wants to pay.

    • event_idstringObligatorio

      Caller identifier for this payment. Reusing it with the same body replays the decision.

    • amount_usdnumberObligatorio

      Amount in USD the agent wants to pay.

    • seller_urlstringuri

      Public HTTPS URL of the paid resource.

    • payment_requiredany

      Optional seller HTTP 402 payload as a parsed object or original header value, used to read the payee.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Check Duplicate InvoiceSCREWTAPE_CHECK_DUPLICATE_INVOICEAcción

    Judge an invoice and compare its configured identity fields with stored fingerprints before payment, optionally storing a new fingerprint and retaining submitted content when requested, and returning duplicate and verdict details.

    Parámetros de entrada

    • modestringenum

      Whether the result is a blocking verdict or advisory guidance.

      blockingadvisory
    • taskstringObligatorio

      Task describing how the invoice output should be evaluated.

    • checksarray

      Up to seven additional typed deterministic checks. Supports required_fields, types, format, sum, url_contains, json_schema, equals, regex, and numeric. Configure the request's one duplicate check in duplicate instead.

    • retainboolean

      Whether to retain judged content under the connected key's retention policy.

    • versionstring

      Optional agent or prompt version label.

    • agent_idstring

      Optional agent identifier for filtering and drift analysis.

    • criteriastring[]

      Optional criteria the invoice output must satisfy.

    • evidencestring[]

      Optional evidence used while judging the invoice.

    • duplicateobjectObligatorio

      The single duplicate-invoice check configuration for this request.

    • agent_outputstringObligatorio

      Invoice data or agent output to judge and fingerprint.

    • idempotency_keystring

      Optional replay key, reused only for the identical request.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Check PaymentSCREWTAPE_CHECK_PAYMENTAcción

    Assess available x402 seller or payment-request context and return an allow, review, or block verdict with a signed receipt reference when issued. All inputs are optional; provide seller_url, payment_required, or both when known. This action does not make a payment.

    Parámetros de entrada

    • agent_idstring

      Optional stable identifier for the agent requesting the payment check.

    • event_idstring

      Optional caller event identifier for correlating this payment decision.

    • seller_urlstring

      Optional seller paid-HTTP URL to assess when it is known.

    • intended_amountnumber

      Amount in USD the agent intends to pay, used to detect price mismatches.

    • payment_requiredany

      Optional seller x402 PAYMENT-REQUIRED payload, as a parsed object or the original header value.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create Action ReceiptSCREWTAPE_CREATE_ACTION_RECEIPTAcción

    Create an Ed25519-signed, hash-chained receipt for an agent-reported action and status.

    Parámetros de entrada

    • actionstringObligatorio

      Canonical description or payload of the reported action (1-8192 characters).

    • statusstringObligatorioenum

      Observed lifecycle status to attest in the receipt.

      requestedsucceededfailedpaid_not_served
    • agent_idstringObligatorio

      Identifier of the agent that performed or requested the action (1-128 characters).

    • childrenstring[]

      List of 1-64 child receipt identifiers linked to this action, in chain order.

    • event_idstringObligatorio

      Unique event identifier used for receipt replay protection (1-128 characters).

    • referencestring

      External reference for the action (maximum 256 characters).

    • action_sha256string

      Precomputed SHA-256 digest of the canonical action as 64 lowercase hexadecimal characters.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create Free API KeySCREWTAPE_CREATE_FREE_KEYAcción

    Create a free-tier Screwtape API key with 10 calls per UTC day. An optional proof-of-work nonce raises signup limits. The returned secret is shown once.

    Parámetros de entrada

    • namestring

      Optional agent or client name, at most 80 characters.

    • emailany

      Optional account email address. This is sensitive personal information; omit it or send an empty string to store no email.

    • pow_noncestring

      Optional proof-of-work nonce for higher signup limits. SHA-256 of screwtape-signup-v1:YYYY-MM-DD:<nonce>, using the current UTC day, must have 12 leading zero bits when supplied.

    • data_sharingboolean

      Whether to opt the new key into storing redacted call samples for 90 days. Off by default and enabled only by an explicit true.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Create Free API Key via Keys EndpointSCREWTAPE_CREATE_KEYAcción

    Create a free-tier Screwtape API key, optionally using proof of work for higher signup limits. This endpoint is an alias of POST /v1/signup; prefer the signup endpoint in new workflows.

    Parámetros de entrada

    • namestring

      Optional agent or client name, at most 80 characters.

    • emailany

      Optional account email address. This is sensitive personal information; omit it or send an empty string to store no email.

    • pow_noncestring

      Optional proof-of-work nonce for higher signup limits. SHA-256 of screwtape-signup-v1:YYYY-MM-DD:<nonce>, using the current UTC day, must have 12 leading zero bits when supplied.

    • data_sharingboolean

      Whether to opt the new key into storing redacted call samples for 90 days. Off by default and enabled only by an explicit true.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete All Retained CallsSCREWTAPE_DELETE_ALL_RETAINED_CALLSAcción

    Permanently delete every retained call for the connected key's subscription account, or only this key when it has no plan, and return the deleted count.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete BYOM SettingsSCREWTAPE_DELETE_BYOM_SETTINGSAcción

    Delete the Bring-Your-Own-Model settings stored for the connected Screwtape API key, including its encrypted provider credential.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete Current API Key and DataSCREWTAPE_DELETE_CURRENT_KEYAcción

    Permanently and irreversibly delete the connected API key hash, counters, payments, retained judgments, shared samples, and feedback. Call this only when the user explicitly asks to delete their key or data.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete Duplicate FingerprintsSCREWTAPE_DELETE_DUPLICATE_FINGERPRINTSAcción

    Permanently delete every keyed fingerprint that duplicate checks stored for the connected key and return the deleted count.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete Receipt EvidenceSCREWTAPE_DELETE_EVIDENCEAcción

    Delete retained evidence for one receipt while preserving the signed receipt. This operation is available to plan keys.

    Parámetros de entrada

    • receipt_idstringObligatorio

      Identifier from the signed receipt.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Delete Retained CallSCREWTAPE_DELETE_RETAINED_CALLAcción

    Permanently delete one retained judge or consensus call by its retention id.

    Parámetros de entrada

    • idstringObligatorio

      Retention id returned when retain was true.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Describe API Key SignupSCREWTAPE_DESCRIBE_KEYSAcción

    Return instructions and the proof-of-work challenge for creating a free Screwtape API key. This operation does not create a key.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Describe Free API Key SignupSCREWTAPE_DESCRIBE_SIGNUPAcción

    Return instructions and the proof-of-work challenge for creating a free Screwtape API key. This operation does not create a key.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Export Spend BooksSCREWTAPE_EXPORT_SPEND_BOOKSAcción

    Export charges for the connected key as agent spend-book rows grouped by agent, seller, vendor, UTC day, and product category in QuickBooks CSV, Xero CSV, or JSON format.

    Parámetros de entrada

    • formatstringObligatorioenum

      Export format: QuickBooks CSV, Xero CSV, or JSON.

      quickbooksxerojson
    • to_timestringdate-time

      Optional inclusive ISO-8601 upper bound on issued_at, at most 92 days after from_time.

    • from_timestringdate-time

      Optional inclusive ISO-8601 lower bound on issued_at.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Export Verdict ReceiptsSCREWTAPE_EXPORT_VERDICT_RECEIPTSAcción

    Export one cursor-controlled page of signed verdict receipts as a downloadable JSONL, CSV, or JSON audit file. Pass the returned cursor to continue.

    Parámetros de entrada

    • limitinteger

      Maximum receipts in this export page (1-1000).

    • orderstringenum

      Sort order by issued time and receipt ID.

      descasc
    • cursorstring

      Continuation cursor from the previous export call; omit for the first page.

    • formatstringObligatorioenum

      Audit export file format.

      jsonlcsvjson
    • offsetinteger

      Rows to skip when using offset pagination. Do not combine with cursor.

    • to_timestringdate-time

      Optional inclusive ISO-8601 end time; the range may span at most 92 days.

    • from_timestringdate-time

      Optional inclusive ISO-8601 start time; the range may span at most 92 days.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Account SettingsSCREWTAPE_GET_ACCOUNT_SETTINGSAcción

    Read retention, anonymous-statistics contribution, and drift-alert webhook settings. The stored webhook signing secret is not returned.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get BYOM SettingsSCREWTAPE_GET_BYOM_SETTINGSAcción

    Get Bring-Your-Own-Model provider, model, key suffix, and error policy for the connected Screwtape API key. The saved provider API key is never returned. BYOM is off unless Screwtape enables it; deterministic checks and per-call billing still apply.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Current Key UsageSCREWTAPE_GET_CURRENT_KEY_USAGEAcción

    Return safe metadata, metered-call usage, daily quota, and credit balance for the connected Screwtape API key without revealing its secret.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Data-Sharing SettingSCREWTAPE_GET_DATA_SHARINGAcción

    Read the connected key's opt-in data-sharing state, consent metadata, stored sample count, and redaction and retention policy. Data sharing is off by default.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Drift ReportSCREWTAPE_GET_DRIFTAcción

    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.

    Parámetros de entrada

    • daysinteger

      Number of days in the requested daily series, from 1 through 90.

    • agent_idstring

      Agent tag to report on. Omit to combine every agent tag on the key.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Drift AlertsSCREWTAPE_GET_DRIFT_ALERTSAcción

    List recent drift alerts for the connected key. Each alert identifies the agent, metric, and send time; tasks and outputs are not included.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Payment Guard Account RulesSCREWTAPE_GET_PAYMENT_GUARD_ACCOUNT_RULESAcción

    Read the account-default spend rules used by Screwtape Payment Guard.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Payment Guard RulesSCREWTAPE_GET_PAYMENT_GUARD_RULESAcción

    Read the spend rules set for the connected Screwtape API key and the effective rules used by Payment Guard.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Action Receipt KeySCREWTAPE_GET_RECEIPT_KEYAcción

    Get the public Ed25519 key used to verify Screwtape action receipts. Signatures cover sorted-key canonical JSON of every receipt field except signature.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Receipt KeysSCREWTAPE_GET_RECEIPT_KEYSAcción

    Get the public Ed25519 keys used to verify verdict receipts, including retired keys retained for older exports. No private key is returned.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Retained CallSCREWTAPE_GET_RETAINED_CALLAcción

    Replay one retained call, including its stored request, result, and signed receipt when still available; optionally re-check the receipt signature.

    Parámetros de entrada

    • idstringObligatorio

      Retention id returned when retain was true.

    • verifystring

      Set to '1' to re-check the retained call's receipt signature.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get StatusSCREWTAPE_GET_STATUSAcción

    Get measured one-hour and 24-hour endpoint latency, uptime, rate limits, and cached x402 facilitator health for Screwtape.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get Status JSONSCREWTAPE_GET_STATUS_JSONAcción

    Get the JSON status document containing one-hour and 24-hour endpoint latency, uptime, rate limits, and cached x402 facilitator health.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Judge OutputSCREWTAPE_JUDGE_OUTPUTAcción

    Judge one agent output against its task, evidence, criteria, and optional deterministic checks, returning a pass, fail, or retry verdict and a signed receipt when issued. It can retain submitted content when requested.

    Parámetros de entrada

    • modestringenum

      Treat the result as a blocking verdict or as advisory guidance.

      blockingadvisory
    • taskstringObligatorio

      Task or instruction the agent output was expected to satisfy.

    • checksarray

      Up to eight typed deterministic checks. Supports required_fields, types, format, sum, duplicate, url_contains, json_schema, equals, regex, and numeric. At most one duplicate and three url_contains checks are allowed.

    • retainboolean

      Whether to retain this judged content under the connected key's retention policy.

    • versionstring

      Optional agent or prompt version label.

    • agent_idstring

      Optional agent identifier for filtering and drift analysis.

    • criteriastring[]

      Optional explicit criteria the output must satisfy.

    • evidencestring[]

      Optional evidence the verdict should use as grounding.

    • agent_outputstringObligatorio

      Agent output to evaluate.

    • idempotency_keystring

      Optional replay key containing only letters, digits, underscores, or hyphens. Reuse it only when retrying the same request.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Retained CallsSCREWTAPE_LIST_RETAINED_CALLSAcción

    Return the 20 newest judge and consensus calls that the connected key chose to retain. Calls not submitted with retain=true are never included.

    Parámetros de entrada

    Sin parámetros.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    List Verdict ReceiptsSCREWTAPE_LIST_VERDICT_RECEIPTSAcción

    List one page of signed verdict receipts stored for the connected API key, with optional date filters and an agent-controlled continuation cursor.

    Parámetros de entrada

    • limitinteger

      Maximum receipts to return in this page (1-100).

    • orderstringenum

      Sort order by issue time and receipt ID.

      descasc
    • cursorstring

      Continuation cursor returned by the previous call; omit for the first page.

    • offsetinteger

      Rows to skip when using offset pagination. Do not combine with cursor.

    • to_timestringdate-time

      Inclusive end time in ISO-8601 format.

    • from_timestringdate-time

      Inclusive start time in ISO-8601 format.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Update Account SettingsSCREWTAPE_PATCH_ACCOUNT_SETTINGSAcción

    Update retention, anonymous-statistics contribution, or the drift-alert webhook. Omitted fields remain unchanged; existing rows keep their expiry.

    Parámetros de entrada

    • retention_daysintegerenum

      Retention period. Values 30, 90, and 365 require an active subscription; omit to leave unchanged.

      013090365
    • alert_webhook_urlstring

      HTTPS URL for drift alerts. Send an empty string to remove the webhook, or omit to leave it unchanged.

    • contribute_anonymous_statsboolean

      Whether to contribute anonymous statistics; omit to leave unchanged.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Publish ReceiptSCREWTAPE_PUBLISH_RECEIPTAcción

    Publish one signed receipt owned by the connected key and return its public page, badge, and embed snippets. Republishing retains the same public ID.

    Parámetros de entrada

    • labelstring

      Optional public receipt label, at most 80 characters.

    • receipt_idstringObligatorio

      Identifier from the signed receipt.

    • include_contentboolean

      Whether to copy the retained task and agent output onto the public page; defaults to false.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Set BYOM SettingsSCREWTAPE_PUT_BYOM_SETTINGSAcción

    Set 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.

    Parámetros de entrada

    • modelstringObligatorio

      Provider model identifier.

    • customboolean

      Set true when using a model outside Screwtape's known-model allowlist.

    • base_urlstringuri

      Public HTTPS API base URL. Required when provider is openai_compatible.

    • on_errorstringenum

      Behavior when the configured provider fails. Defaults to deny.

      denyfallback_default
    • providerstringObligatorioenum

      Model provider. bedrock requires Screwtape's BYOM_BEDROCK_ENABLED setting.

      openaianthropicbedrockopenai_compatible
    • api_key_fileobjectObligatorio

      UTF-8 text file containing only the sensitive provider API key. Using a file keeps the plaintext credential out of model-controlled tool arguments.

    • access_key_idstring

      AWS access key ID required for Bedrock when Bedrock is enabled.

    • bedrock_regionstring

      AWS region required for Bedrock when Bedrock is enabled.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Set Payment Guard Account RulesSCREWTAPE_PUT_PAYMENT_GUARD_ACCOUNT_RULESAcción

    Set the account-default spend rules used by Screwtape Payment Guard. Key-specific rules take precedence. This endpoint is free.

    Parámetros de entrada

    • period_hoursinteger

      Length of the period budget window. Defaults to 24.

    • allowed_domainsstring[]

      Only sellers on these hostnames may be paid.

    • allowed_sellersstring[]

      Only these payees may be paid.

    • daily_budget_usdnumber

      Total allowed per UTC day.

    • max_per_call_usdnumber

      Largest single payment allowed.

    • period_budget_usdnumber

      Total allowed per rolling period of period_hours.

    • max_calls_per_hourinteger

      Maximum payment authorizations allowed per hour by default.

    • max_calls_per_minuteinteger

      Maximum payment authorizations allowed per minute by default.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Set Payment Guard RulesSCREWTAPE_PUT_PAYMENT_GUARD_RULESAcción

    Set spend rules for the connected Screwtape API key. Key-specific rules override account-default rules. This endpoint is free.

    Parámetros de entrada

    • period_hoursinteger

      Length of the period budget window. Defaults to 24.

    • allowed_domainsstring[]

      Only sellers on these hostnames may be paid.

    • allowed_sellersstring[]

      Only these payees may be paid.

    • daily_budget_usdnumber

      Total allowed per UTC day.

    • max_per_call_usdnumber

      Largest single payment allowed.

    • period_budget_usdnumber

      Total allowed per rolling period of period_hours.

    • max_calls_per_hourinteger

      Maximum payment authorizations allowed per hour.

    • max_calls_per_minuteinteger

      Maximum payment authorizations allowed per minute.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Replay DecisionSCREWTAPE_REPLAY_DECISIONAcción

    Re-run invoice rules against retained evidence using the original or current policy version. No model is called and the replay is not billed.

    Parámetros de entrada

    • policystringenum

      Rules version to replay: original by default, or current.

      originalcurrent
    • documentobject

      Optional original body, for example {"invoice": {...}}, used to prove that it is the same document.

    • receipt_idstringObligatorio

      Identifier from the signed receipt.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Reserve BudgetSCREWTAPE_RESERVE_BUDGETAcción

    Reserve one spend event against a shared agent-run cap and return whether it is allowed, duplicated, retried, or anomalous. The reservation is persistent; reuse event_id only to intentionally replay the same event.

    Parámetros de entrada

    • capnumberObligatorio

      Maximum total spend allowed for the run, greater than 0 and at most 1000000.

    • actionstring

      Description of the action causing the spend.

    • amountnumberObligatorio

      Amount to reserve, from 0 through 1000000.

    • run_idstringObligatorio

      Identifier for the agent run whose shared budget should be charged.

    • currencystring

      Currency associated with amount and cap. Omit to use the provider default.

    • event_idstringObligatorio

      Unique identifier for this spend event. Reuse it only to intentionally replay the same event.

    • merchantstringObligatorio

      Merchant or payee associated with the spend event.

    • parent_run_idstring

      Parent run identifier when this reservation belongs to a sub-agent.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Score ConsensusSCREWTAPE_SCORE_CONSENSUSAcción

    Compare 2-16 agent answers for agreement and false-consensus risk, returning a consensus answer, clusters, reasons, and a signed receipt when issued. It can retain submitted content when requested.

    Parámetros de entrada

    • modestringenum

      Whether the consensus result is blocking or advisory.

      blockingadvisory
    • taskstringObligatorio

      Task all submitted agent answers attempted.

    • retainboolean

      Whether to retain submitted content under the connected key's retention policy.

    • answersobject[]Obligatorio

      Two to sixteen agent answers to compare for agreement.

    • versionstring

      Optional agent or workflow version label.

    • agent_idstring

      Optional identifier of the agent coordinating this consensus check.

    • evidenceany

      Optional shared evidence as one string, or up to 20 strings. Each string may contain at most 4000 characters.

    • idempotency_keystring

      Optional replay key containing only letters, digits, underscores, or hyphens. Reuse it only when retrying the same request.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Score Seller TrustSCREWTAPE_SCORE_SELLER_TRUSTAcción

    Assess whether a paying agent looks abusive or risky before accepting payment, using network history and optionally contributed observations or seller-computed counts.

    Parámetros de entrada

    • windowobject

      Seller-computed counts used only for this request; do not combine with observations.

    • subjectobjectObligatorio

      Paying agent or caller to assess.

    • agent_idstring

      Optional identifier for the seller agent making the assessment.

    • event_idstring

      Optional seller event identifier.

    • observationsobject[]

      Up to 32 observations to contribute; do not combine with window.

    • lookback_hoursinteger

      Hours of stored signals to read; the provider default is 24.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Send Verdict FeedbackSCREWTAPE_SEND_FEEDBACKAcción

    Record whether the verdict on one call made by the connected key was correct. The first submission is stored and later submissions replace it; judged text is never stored and notes are automatically redacted.

    Parámetros de entrada

    • notestring

      Optional feedback note, at most 300 characters. It may contain sensitive context; Screwtape automatically redacts it before storage.

    • receipt_idstring

      Receipt identifier from the evaluated call. Send this or request_id, but not both.

    • request_idstring

      Provider request identifier from the evaluated call. Send this or receipt_id, but not both.

    • verdict_correctbooleanObligatorio

      Whether Screwtape's verdict was correct.

    • expected_verdictstringenum

      Verdict that was expected when the original verdict was incorrect.

      passfail

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Set Data-Sharing SettingSCREWTAPE_SET_DATA_SHARINGAcción

    Turn 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.

    Parámetros de entrada

    • enabledbooleanObligatorio

      Set true to store redacted samples of later eligible calls for 90 days. Set false to stop sharing and immediately delete all stored samples.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Start PayPal CheckoutSCREWTAPE_START_PAYPAL_CHECKOUTAcción

    Start a PayPal card checkout for the $100 Sandbox Evaluation Pack, which provides 2,000 standard checks for 30 days and may be purchased once per customer. This action creates a new key for the supplied email; it never asks an agent to provide an existing API key.

    Parámetros de entrada

    • packstringObligatorio

      Pack to purchase; the only available pack is 'trial'.

    • emailstringObligatorio

      Customer email that will receive a new API key after checkout approval.

    • accept_termsboolean

      Whether the customer accepts https://screwtape.ai/terms/; recorded when sent.

    • business_useboolean

      Whether the customer confirms business use; recorded when sent.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Submit Enterprise InquirySCREWTAPE_SUBMIT_ENTERPRISE_INQUIRYAcción

    Submit contact details and a message to ask Screwtape about enterprise pricing. This stores the supplied personal contact information.

    Parámetros de entrada

    • namestringObligatorio

      Name of the person making the enterprise inquiry, at most 80 characters.

    • emailstringObligatorio

      Contact email address. This is sensitive personal contact information.

    • messagestringObligatorio

      Enterprise pricing or account question, at most 2000 characters.

    • organizationstring

      Organization making the inquiry, at most 120 characters.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Try CheckSCREWTAPE_TRY_CHECKAcción

    Run Screwtape's deterministic, no-key invoice sample for a duplicate, clean, or bad-total scenario. This demo does not call a model, store a fingerprint, issue a receipt, or make a paid call.

    Parámetros de entrada

    • scenariostringenum

      Fixed demo invoice to check: duplicate (the default), clean, or bad_total for line items that do not add up.

      duplicatecleanbad_total

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Unpublish ReceiptSCREWTAPE_UNPUBLISH_RECEIPTAcción

    Remove the public page and badge for one receipt published by the connected key. Receipts published by another key are not exposed.

    Parámetros de entrada

    • receipt_idstringObligatorio

      Identifier from the signed receipt.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Verify Action ReceiptSCREWTAPE_VERIFY_ACTION_RECEIPTAcción

    Verify an action receipt by its Screwtape receipt ID or by a portable receipt object, including its hash-chain link. Provide exactly one input; portable objects are serialized into the provider's receipt query parameter.

    Parámetros de entrada

    • receiptobject

      Choose this portable signed receipt object only when receipt_id is omitted; the action serializes it into the provider query.

    • receipt_idstring

      Choose this ID-based verification input only when the portable receipt object is omitted.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Verify Verdict ReceiptSCREWTAPE_VERIFY_VERDICT_RECEIPTAcción

    Verify the Ed25519 signature of a verdict receipt returned by Screwtape judge or consensus without storing it.

    Parámetros de entrada

    • receiptobjectObligatorio

      Complete signed verdict receipt returned by a Screwtape judge or consensus call. Provider-specific receipt fields are preserved.

    Parámetros de salida

    • dataanyObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not