{"uid":"cap_d4p3HLHioXf6Z29AgxO-C","slug":"capi2-agent-commerce-backtest-integrity-checker-482338c4","name":"CAPI2 Agent Commerce – Backtest Integrity Checker","description":"Programmable authority checks and tamper-evident receipts for autonomous agents, sold through sustainable x402 commerce.","url":"https://capi2-agent-commerce.vandurmedries.workers.dev/v1/backtest-integrity","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"report":{"type":"object"}}},"responseSchema":{"type":"json","example":{"decision":"manual_review","findings":[{"code":"multiple_testing_risk"}],"risk_score":45,"simulation_only":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fQc0fvTB0KX28Yqxs8lMd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a backtest report for integrity risks such as multiple-testing bias, simulation-only flags, and other findings, returning a risk score and decision recommendation.","exampleAgentPrompt":"Can you run an integrity check on this backtest report and tell me the risk score, any findings like multiple-testing risk, and whether it needs manual review before I go live?","exampleUseCases":[{"title":"Pre-deployment strategy audit","prompt":"I have a backtest report for my mean-reversion equity strategy — run it through the integrity checker and tell me the risk score and whether there are any multiple-testing or simulation-only flags I should worry about before I deploy it."},{"title":"Overfitting detection for quant researcher","prompt":"I've been running dozens of parameter combinations on this backtest and I'm worried about overfitting — can you submit this report and check what the integrity findings say, especially around multiple-testing risk?"},{"title":"Compliance review for autonomous trading agent","prompt":"Our trading agent generated this backtest report last night — can you validate it for integrity issues, get the decision outcome, and flag anything that would require a manual review before it's approved for live trading?"}],"resultDescription":"Returns a JSON object with a 'decision' field (e.g. 'manual_review'), a 'risk_score' integer (0–100), a 'findings' array of detected issues (e.g. [{\"code\":\"multiple_testing_risk\"}]), and a 'simulation_only' boolean indicating whether the report is based solely on simulated data.","failureModes":["Missing or malformed 'report' object returns a 4xx validation error","Ambiguous or empty report body may yield inconclusive findings with no actionable decision","Payment failure via x402 protocol results in 402 response and no analysis","Upstream worker unavailability may return 503 or timeout","Report with insufficient data fields may produce a low-confidence or default risk score"],"whenToPreferThis":"Choose this endpoint when you need a programmatic, tamper-evident integrity check on a quantitative backtest report — especially when you want to detect multiple-testing bias, simulation-only artifacts, or other methodology risks before deploying an autonomous trading agent. It is suited for autonomous agent pipelines where a lightweight, pay-per-call (x402) validation gate is needed without setting up a full risk infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:40:07.990Z","isFirstParty":false}