{"uid":"cap_OH3KveQqwQtTL05Uef-B_","slug":"api-strale-io-7068ae8d","name":"Strale Risk Narrative Generator","description":"Generates a plain-language risk narrative from structured check results. Designed for non-technical users reviewing AI agent output. Supports KYB and invoice fraud contexts.","url":"https://api.strale.io/x402/risk-narrative-generate","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["check_results","context"],"properties":{"context":{"enum":["kyb","invoice_fraud"],"type":"string","description":"Context for the risk assessment (kyb or invoice_fraud)"},"check_results":{"type":"object","description":"Structured check results from upstream capabilities"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"context":"kyb","check_results":{"company_status":"active","vat_registered":true,"address_mismatch":true,"director_sanctions":false}},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.054000000000000006,"settlement_id":"0xeac6d4fe78c5b6067f7c65deb8a855af25abe38fd35f907db41f5d2ca1ec273f"},"capability":"risk-narrative-generate","latency_ms":8932,"provenance":{"source":"claude-sonnet","fetched_at":"2026-06-13T04:25:32.506Z","model_resolved":"claude-sonnet-4-6","model_requested":"claude-sonnet-4-6"}},"flags":[{"finding":"The registered address held on file does not match the address returned during screening. Address mismatches can indicate outdated records, administrative errors, or in some cases an attempt to obscure the true operating location of a business. From a compliance perspective, accurate address information is a foundational requirement for entity verification under Know Your Business (KYB) obligations.","severity":"medium","source_check":"address_mismatch","recommendation":"Request supporting documentation from the business — such as a recent utility bill, bank statement, or official correspondence — that confirms their current registered or trading address. Cross-reference this against the company registry record. If the discrepancy cannot be explained, escalate to your compliance team before proceeding."}],"summary":"Screening checks for this Know Your Business (KYB) review returned three passing results and one flag requiring attention. The company appears active and VAT-registered, and no sanctions were detected against the associated director. However, an address discrepancy was identified, which warrants follow-up before proceeding.","raw_checks":{"company_status":"active","vat_registered":true,"address_mismatch":true,"director_sanctions":false},"risk_level":"medium","risk_score":42,"passed_checks":["Company status confirmed as active in the registry (company_status)","No sanctions matches detected against the associated director (director_sanctions)","Company is registered for Value Added Tax (VAT), consistent with a legitimately trading entity (vat_registered)"],"checks_performed":4,"data_sources_consulted":["Company status registry (company_status check)","Sanctions screening database (director_sanctions check)","Address verification source (address_mismatch check)","VAT registration database (vat_registered check)"]}},"exampleRequest":{"context":"kyb","check_results":{"company_status":"active","vat_registered":true,"address_mismatch":true,"director_sanctions":false}},"tags":["x402"],"displayCostAmount":"0.054001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sh7vnnjS4Iek42B6CWqWt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts structured check results into a plain-language risk narrative for non-technical reviewers in KYB or invoice fraud contexts","exampleAgentPrompt":"These KYB check results just came back for a business we're onboarding — can you generate a plain-language risk narrative from them so our compliance team can review without needing to parse the raw JSON? Here are the check_results: {\"company_status\":\"active\",\"director_sanctions\":false,\"address_mismatch\":true,\"vat_registered\":true} and the context is kyb.","exampleUseCases":[{"title":"Onboarding review for compliance team","prompt":"We just ran our standard KYB checks on this new vendor and got back a bunch of structured data. Can you turn these results into a clear risk summary that our non-technical compliance officer can actually understand without needing to dig through JSON?"},{"title":"Invoice fraud detection narrative","prompt":"Our invoice fraud detection system flagged this supplier with some concerning patterns. I have all the structured check results here — can you write up a plain-English risk narrative that explains what we found so the finance team knows whether to approve or hold the payment?"},{"title":"Regulatory audit documentation","prompt":"We need to document our due diligence on this business partner for our auditors. I've got the structured verification outputs from all our checks, but they need to see a readable risk assessment, not raw data. Can you convert these into a narrative summary?"}],"resultDescription":"A plain-language narrative paragraph or short report summarizing the risk findings from the structured check results, written for non-technical reviewers. Describes what the checks found, flags concerns, and contextualizes results within the KYB or invoice fraud domain.","failureModes":["Missing required 'check_results' parameter — returns 400 Bad Request","Invalid 'context' value (not 'kyb' or 'invoice_fraud') — returns 422 Unprocessable Entity","Malformed or empty check_results object — may return a vague or low-quality narrative","Payment not authorized — returns 402 Payment Required","Service unavailable or rate limited — returns 503 or 429"],"whenToPreferThis":"Use this endpoint when you have structured check results from upstream verification capabilities (e.g. company lookups, sanction checks, document validation) and need to produce a human-readable summary for compliance officers, business analysts, or auditors who are not technical. Ideal for KYB onboarding pipelines or invoice fraud review workflows where the final output must be legible to non-developers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:05:02.227Z","isFirstParty":false}