{"openapi":"3.1.0","info":{"title":"Website Conversion Intelligence API","version":"1.0.0","description":"Read supplied analytics exports and funnel counts to measure drop-offs, tracking gaps, and segment differences without accessing analytics accounts. Paid with x402 exact USDC on Base. No account is required.","contact":{"email":"support@brainiac.software"},"x-guidance":"BRAINIAC.software is a pay-per-call API for software agents. No account or API key is required.\nPayment uses the x402 protocol with exact USDC on Base (chain id 8453). Each POST operation has a fixed USD price.\nHow to call an operation:\n1. POST a JSON body matching the operation's requestBody schema to the operation path. Include an Idempotency-Key header (64 hex characters, 32 random bytes).\n2. If you have not paid, the server responds 402 with payment requirements in the body. Pay the exact amount to the payTo address on Base.\n3. Retry the identical request with the same Idempotency-Key and add a payment-signature header containing the x402 payment payload. On success (200) the operation result is returned.\n4. Reuse the same Idempotency-Key only for retries of the same operation and request body; it will not be charged twice.\nAll outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Verify time-sensitive or official data with the cited source before acting."},"servers":[{"url":"https://www.brainiac.software"}],"paths":{"/api/v1/conversion-intelligence/analytics-funnel-analyze":{"post":{"operationId":"analyze_an_analytics_funnel","summary":"Analyze an analytics funnel","description":"Calculate stage-to-stage conversion rates and drop-offs from supplied funnel counts. Missing counts are not filled in, and a drop-off is not treated as a proven cause.","tags":["conversion-intelligence"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","maxLength":200000},"json":{"type":"string","maxLength":200000},"csv":{"type":"string","maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["text/plain","text/csv","application/json"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"funnels":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160}},"additionalProperties":false}},"stages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"funnelId":{"type":"string","maxLength":80},"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"order":{"type":"integer","minimum":0,"maximum":200},"count":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"pages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"path":{"type":"string","maxLength":500},"name":{"type":"string","maxLength":160},"views":{"type":"number","minimum":0,"maximum":1000000000},"exits":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"events":{"maxItems":120,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"count":{"type":"number","minimum":0,"maximum":1000000000},"page":{"type":"string","maxLength":500},"required":{"type":"boolean"}},"required":["name"],"additionalProperties":false}},"expectedEvents":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"],"additionalProperties":false}},"sources":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000},"revenue":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"forms":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"starts":{"type":"number","minimum":0,"maximum":1000000000},"completes":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"fields":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"formId":{"type":"string","maxLength":80},"name":{"type":"string","minLength":1,"maxLength":120},"starts":{"type":"number","minimum":0,"maximum":1000000000},"abandons":{"type":"number","minimum":0,"maximum":1000000000}},"required":["name"],"additionalProperties":false}},"segments":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"minSample":{"type":"integer","minimum":1,"maximum":100000}},"additionalProperties":false},"example":{"text":"Funnel: F-1 | Signup\nStage: F-1 | S1 | Landing | 1 | 1000\nStage: F-1 | S2 | Signup form | 2 | 400\nStage: F-1 | S3 | Confirmed | 3 | 120\nAds caused the drop.\n"}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"status":{"type":"string"},"funnels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"stageCount":{"type":"number"},"overallRate":{"type":"number"},"overallRateSupplied":{"type":"boolean"},"largestDropStageId":{"type":"string"},"largestDrop":{"type":"number"},"largestDropSupplied":{"type":"boolean"},"stages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"order":{"type":"number"},"count":{"type":"number"},"countSupplied":{"type":"boolean"},"toNextRate":{"type":"number"},"toNextRateSupplied":{"type":"boolean"},"dropOff":{"type":"number"},"dropOffSupplied":{"type":"boolean"}},"additionalProperties":true}},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"analyticsAccessed":{"type":"boolean"},"trafficInvented":{"type":"boolean"},"conversionsInvented":{"type":"boolean"},"revenueInvented":{"type":"boolean"},"causationClaimed":{"type":"boolean"},"findings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"code":{"type":"string"},"subject":{"type":"string"},"detail":{"type":"string"}},"additionalProperties":true}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-04T16:00:00.000Z","status":"analyzed","funnels":[{"id":"F-1","name":"Signup","stageCount":3,"overallRate":0.12,"overallRateSupplied":true,"largestDropStageId":"S2","largestDrop":0.7,"largestDropSupplied":true,"stages":[{"id":"S1","name":"Landing","order":1,"count":1000,"countSupplied":true,"toNextRate":0.4,"toNextRateSupplied":true,"dropOff":0.6,"dropOffSupplied":true},{"id":"S2","name":"Signup form","order":2,"count":400,"countSupplied":true,"toNextRate":0.3,"toNextRateSupplied":true,"dropOff":0.7,"dropOffSupplied":true},{"id":"S3","name":"Confirmed","order":3,"count":120,"countSupplied":true,"toNextRate":0,"toNextRateSupplied":false,"dropOff":0,"dropOffSupplied":false}],"causationClaimed":false}],"analyticsAccessed":false,"trafficInvented":false,"conversionsInvented":false,"revenueInvented":false,"causationClaimed":false,"findings":[{"kind":"ignored","code":"unlabeled_line","subject":"","detail":"Lines without a recognized label were not read and their text was not copied."}],"limitations":["Funnel stages, pages, events, sources, forms, and segments are copied only from labeled counts supplied by the caller.","Conversion rates and drop-offs use only those counts. Missing counts are not filled in.","A difference between segments or sources is an association in the supplied numbers, not a proven cause.","Segment comparisons run only when both samples meet the disclosed minimum size.","No analytics or advertising account is accessed, and no traffic, conversions, or revenue are invented."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{}}]}}},"/api/v1/conversion-intelligence/landing-page-dropoff-detect":{"post":{"operationId":"detect_landing_page_drop_off","summary":"Detect landing page drop-off","description":"Rank supplied pages by measured exit rate from views and exits. Rates use only caller counts and do not claim why visitors left.","tags":["conversion-intelligence"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","maxLength":200000},"json":{"type":"string","maxLength":200000},"csv":{"type":"string","maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["text/plain","text/csv","application/json"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"funnels":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160}},"additionalProperties":false}},"stages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"funnelId":{"type":"string","maxLength":80},"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"order":{"type":"integer","minimum":0,"maximum":200},"count":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"pages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"path":{"type":"string","maxLength":500},"name":{"type":"string","maxLength":160},"views":{"type":"number","minimum":0,"maximum":1000000000},"exits":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"events":{"maxItems":120,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"count":{"type":"number","minimum":0,"maximum":1000000000},"page":{"type":"string","maxLength":500},"required":{"type":"boolean"}},"required":["name"],"additionalProperties":false}},"expectedEvents":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"],"additionalProperties":false}},"sources":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000},"revenue":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"forms":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"starts":{"type":"number","minimum":0,"maximum":1000000000},"completes":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"fields":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"formId":{"type":"string","maxLength":80},"name":{"type":"string","minLength":1,"maxLength":120},"starts":{"type":"number","minimum":0,"maximum":1000000000},"abandons":{"type":"number","minimum":0,"maximum":1000000000}},"required":["name"],"additionalProperties":false}},"segments":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"minSample":{"type":"integer","minimum":1,"maximum":100000}},"additionalProperties":false},"example":{"pages":[{"id":"P1","path":"/pricing","name":"Pricing","views":1000,"exits":700,"conversions":40},{"id":"P2","path":"/home","name":"Home","views":2000,"exits":600,"conversions":100}]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"status":{"type":"string"},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"name":{"type":"string"},"views":{"type":"number"},"viewsSupplied":{"type":"boolean"},"exits":{"type":"number"},"exitsSupplied":{"type":"boolean"},"conversions":{"type":"number"},"conversionsSupplied":{"type":"boolean"},"exitRate":{"type":"number"},"exitRateSupplied":{"type":"boolean"},"conversionRate":{"type":"number"},"conversionRateSupplied":{"type":"boolean"},"dropOffMeasured":{"type":"boolean"},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"largestExitPath":{"type":"string"},"largestExitRate":{"type":"number"},"largestExitRateSupplied":{"type":"boolean"},"analyticsAccessed":{"type":"boolean"},"trafficInvented":{"type":"boolean"},"conversionsInvented":{"type":"boolean"},"revenueInvented":{"type":"boolean"},"causationClaimed":{"type":"boolean"},"findings":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-04T16:00:00.000Z","status":"detected","pages":[{"id":"P1","path":"/pricing","name":"Pricing","views":1000,"viewsSupplied":true,"exits":700,"exitsSupplied":true,"conversions":40,"conversionsSupplied":true,"exitRate":0.7,"exitRateSupplied":true,"conversionRate":0.04,"conversionRateSupplied":true,"dropOffMeasured":true,"causationClaimed":false},{"id":"P2","path":"/home","name":"Home","views":2000,"viewsSupplied":true,"exits":600,"exitsSupplied":true,"conversions":100,"conversionsSupplied":true,"exitRate":0.3,"exitRateSupplied":true,"conversionRate":0.05,"conversionRateSupplied":true,"dropOffMeasured":true,"causationClaimed":false}],"largestExitPath":"/pricing","largestExitRate":0.7,"largestExitRateSupplied":true,"analyticsAccessed":false,"trafficInvented":false,"conversionsInvented":false,"revenueInvented":false,"causationClaimed":false,"findings":[],"limitations":["Funnel stages, pages, events, sources, forms, and segments are copied only from labeled counts supplied by the caller.","Conversion rates and drop-offs use only those counts. Missing counts are not filled in.","A difference between segments or sources is an association in the supplied numbers, not a proven cause.","Segment comparisons run only when both samples meet the disclosed minimum size.","No analytics or advertising account is accessed, and no traffic, conversions, or revenue are invented."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{}}]}}},"/api/v1/conversion-intelligence/checkout-funnel-audit":{"post":{"operationId":"audit_a_checkout_funnel","summary":"Audit a checkout funnel","description":"Audit supplied cart, checkout, payment, and purchase stage counts. The largest measured drop-off is reported without inventing missing steps.","tags":["conversion-intelligence"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","maxLength":200000},"json":{"type":"string","maxLength":200000},"csv":{"type":"string","maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["text/plain","text/csv","application/json"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"funnels":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160}},"additionalProperties":false}},"stages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"funnelId":{"type":"string","maxLength":80},"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"order":{"type":"integer","minimum":0,"maximum":200},"count":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"pages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"path":{"type":"string","maxLength":500},"name":{"type":"string","maxLength":160},"views":{"type":"number","minimum":0,"maximum":1000000000},"exits":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"events":{"maxItems":120,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"count":{"type":"number","minimum":0,"maximum":1000000000},"page":{"type":"string","maxLength":500},"required":{"type":"boolean"}},"required":["name"],"additionalProperties":false}},"expectedEvents":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"],"additionalProperties":false}},"sources":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000},"revenue":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"forms":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"starts":{"type":"number","minimum":0,"maximum":1000000000},"completes":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"fields":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"formId":{"type":"string","maxLength":80},"name":{"type":"string","minLength":1,"maxLength":120},"starts":{"type":"number","minimum":0,"maximum":1000000000},"abandons":{"type":"number","minimum":0,"maximum":1000000000}},"required":["name"],"additionalProperties":false}},"segments":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"minSample":{"type":"integer","minimum":1,"maximum":100000}},"additionalProperties":false},"example":{"funnels":[{"id":"F-1","name":"Checkout"}],"stages":[{"funnelId":"F-1","id":"C1","name":"Cart","order":1,"count":800},{"funnelId":"F-1","id":"C2","name":"Checkout","order":2,"count":300},{"funnelId":"F-1","id":"C3","name":"Payment","order":3,"count":180},{"funnelId":"F-1","id":"C4","name":"Purchase","order":4,"count":150}]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"status":{"type":"string"},"funnels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"overallRate":{"type":"number"},"overallRateSupplied":{"type":"boolean"},"largestDropStageId":{"type":"string"},"largestDrop":{"type":"number"},"largestDropSupplied":{"type":"boolean"},"stages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"order":{"type":"number"},"count":{"type":"number"},"countSupplied":{"type":"boolean"},"toNextRate":{"type":"number"},"toNextRateSupplied":{"type":"boolean"},"dropOff":{"type":"number"},"dropOffSupplied":{"type":"boolean"}},"additionalProperties":true}},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"analyticsAccessed":{"type":"boolean"},"trafficInvented":{"type":"boolean"},"conversionsInvented":{"type":"boolean"},"revenueInvented":{"type":"boolean"},"causationClaimed":{"type":"boolean"},"findings":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-04T16:00:00.000Z","status":"audited","funnels":[{"id":"F-1","name":"Checkout","overallRate":0.1875,"overallRateSupplied":true,"largestDropStageId":"C1","largestDrop":0.625,"largestDropSupplied":true,"stages":[{"id":"C1","name":"Cart","order":1,"count":800,"countSupplied":true,"toNextRate":0.375,"toNextRateSupplied":true,"dropOff":0.625,"dropOffSupplied":true},{"id":"C2","name":"Checkout","order":2,"count":300,"countSupplied":true,"toNextRate":0.6,"toNextRateSupplied":true,"dropOff":0.4,"dropOffSupplied":true},{"id":"C3","name":"Payment","order":3,"count":180,"countSupplied":true,"toNextRate":0.8333,"toNextRateSupplied":true,"dropOff":0.1667,"dropOffSupplied":true},{"id":"C4","name":"Purchase","order":4,"count":150,"countSupplied":true,"toNextRate":0,"toNextRateSupplied":false,"dropOff":0,"dropOffSupplied":false}],"causationClaimed":false}],"analyticsAccessed":false,"trafficInvented":false,"conversionsInvented":false,"revenueInvented":false,"causationClaimed":false,"findings":[],"limitations":["Funnel stages, pages, events, sources, forms, and segments are copied only from labeled counts supplied by the caller.","Conversion rates and drop-offs use only those counts. Missing counts are not filled in.","A difference between segments or sources is an association in the supplied numbers, not a proven cause.","Segment comparisons run only when both samples meet the disclosed minimum size.","No analytics or advertising account is accessed, and no traffic, conversions, or revenue are invented."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]}}},"/api/v1/conversion-intelligence/event-coverage-check":{"post":{"operationId":"check_conversion_event_coverage","summary":"Check conversion event coverage","description":"Compare expected tracking events with supplied event counts. Missing or zero events are flagged. No analytics account is accessed.","tags":["conversion-intelligence"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","maxLength":200000},"json":{"type":"string","maxLength":200000},"csv":{"type":"string","maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["text/plain","text/csv","application/json"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"funnels":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160}},"additionalProperties":false}},"stages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"funnelId":{"type":"string","maxLength":80},"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"order":{"type":"integer","minimum":0,"maximum":200},"count":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"pages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"path":{"type":"string","maxLength":500},"name":{"type":"string","maxLength":160},"views":{"type":"number","minimum":0,"maximum":1000000000},"exits":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"events":{"maxItems":120,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"count":{"type":"number","minimum":0,"maximum":1000000000},"page":{"type":"string","maxLength":500},"required":{"type":"boolean"}},"required":["name"],"additionalProperties":false}},"expectedEvents":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"],"additionalProperties":false}},"sources":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000},"revenue":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"forms":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"starts":{"type":"number","minimum":0,"maximum":1000000000},"completes":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"fields":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"formId":{"type":"string","maxLength":80},"name":{"type":"string","minLength":1,"maxLength":120},"starts":{"type":"number","minimum":0,"maximum":1000000000},"abandons":{"type":"number","minimum":0,"maximum":1000000000}},"required":["name"],"additionalProperties":false}},"segments":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"minSample":{"type":"integer","minimum":1,"maximum":100000}},"additionalProperties":false},"example":{"expectedEvents":[{"name":"page_view"},{"name":"add_to_cart"},{"name":"purchase"}],"events":[{"name":"page_view","count":5000,"page":"/home"},{"name":"add_to_cart","count":0,"page":"/product"},{"name":"begin_checkout","count":200}]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"status":{"type":"string"},"expectedCount":{"type":"number"},"missingCount":{"type":"number"},"presentCount":{"type":"number"},"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string"},"count":{"type":"number"},"countSupplied":{"type":"boolean"},"pages":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"analyticsAccessed":{"type":"boolean"},"trafficInvented":{"type":"boolean"},"conversionsInvented":{"type":"boolean"},"revenueInvented":{"type":"boolean"},"causationClaimed":{"type":"boolean"},"findings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"code":{"type":"string"},"subject":{"type":"string"},"detail":{"type":"string"}},"additionalProperties":true}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-04T16:00:00.000Z","status":"checked","expectedCount":3,"missingCount":1,"presentCount":1,"items":[{"name":"page_view","status":"present","count":5000,"countSupplied":true,"pages":["/home"]},{"name":"add_to_cart","status":"zero","count":0,"countSupplied":true,"pages":["/product"]},{"name":"purchase","status":"missing","count":0,"countSupplied":false,"pages":[]},{"name":"begin_checkout","status":"unexpected","count":200,"countSupplied":true,"pages":[]}],"analyticsAccessed":false,"trafficInvented":false,"conversionsInvented":false,"revenueInvented":false,"causationClaimed":false,"findings":[{"kind":"observation","code":"event_zero","subject":"add_to_cart","detail":"The expected event is present with a supplied count of zero."},{"kind":"missing","code":"event_missing","subject":"purchase","detail":"An expected event was not present in the supplied event list."}],"limitations":["Funnel stages, pages, events, sources, forms, and segments are copied only from labeled counts supplied by the caller.","Conversion rates and drop-offs use only those counts. Missing counts are not filled in.","A difference between segments or sources is an association in the supplied numbers, not a proven cause.","Segment comparisons run only when both samples meet the disclosed minimum size.","No analytics or advertising account is accessed, and no traffic, conversions, or revenue are invented."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{}}]}}},"/api/v1/conversion-intelligence/traffic-source-quality-analyze":{"post":{"operationId":"analyze_traffic_source_quality","summary":"Analyze traffic source quality","description":"Calculate conversion rates by supplied traffic source. Ranking uses only sources that meet the disclosed sample minimum and does not claim causation.","tags":["conversion-intelligence"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","maxLength":200000},"json":{"type":"string","maxLength":200000},"csv":{"type":"string","maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["text/plain","text/csv","application/json"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"funnels":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160}},"additionalProperties":false}},"stages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"funnelId":{"type":"string","maxLength":80},"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"order":{"type":"integer","minimum":0,"maximum":200},"count":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"pages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"path":{"type":"string","maxLength":500},"name":{"type":"string","maxLength":160},"views":{"type":"number","minimum":0,"maximum":1000000000},"exits":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"events":{"maxItems":120,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"count":{"type":"number","minimum":0,"maximum":1000000000},"page":{"type":"string","maxLength":500},"required":{"type":"boolean"}},"required":["name"],"additionalProperties":false}},"expectedEvents":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"],"additionalProperties":false}},"sources":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000},"revenue":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"forms":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"starts":{"type":"number","minimum":0,"maximum":1000000000},"completes":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"fields":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"formId":{"type":"string","maxLength":80},"name":{"type":"string","minLength":1,"maxLength":120},"starts":{"type":"number","minimum":0,"maximum":1000000000},"abandons":{"type":"number","minimum":0,"maximum":1000000000}},"required":["name"],"additionalProperties":false}},"segments":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"minSample":{"type":"integer","minimum":1,"maximum":100000}},"additionalProperties":false},"example":{"minSample":100,"sources":[{"id":"organic","name":"Organic","sessions":2000,"conversions":80,"revenue":4000},{"id":"paid","name":"Paid","sessions":500,"conversions":40,"revenue":2500},{"id":"tiny","name":"Tiny","sessions":20,"conversions":5}]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"status":{"type":"string"},"minSample":{"type":"number"},"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sessions":{"type":"number"},"sessionsSupplied":{"type":"boolean"},"conversions":{"type":"number"},"conversionsSupplied":{"type":"boolean"},"revenue":{"type":"number"},"revenueSupplied":{"type":"boolean"},"conversionRate":{"type":"number"},"conversionRateSupplied":{"type":"boolean"},"sampleSufficient":{"type":"boolean"},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"highestRateSourceId":{"type":"string"},"highestRate":{"type":"number"},"highestRateSupplied":{"type":"boolean"},"analyticsAccessed":{"type":"boolean"},"trafficInvented":{"type":"boolean"},"conversionsInvented":{"type":"boolean"},"revenueInvented":{"type":"boolean"},"causationClaimed":{"type":"boolean"},"findings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"code":{"type":"string"},"subject":{"type":"string"},"detail":{"type":"string"}},"additionalProperties":true}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-04T16:00:00.000Z","status":"analyzed","minSample":100,"sources":[{"id":"organic","name":"Organic","sessions":2000,"sessionsSupplied":true,"conversions":80,"conversionsSupplied":true,"revenue":4000,"revenueSupplied":true,"conversionRate":0.04,"conversionRateSupplied":true,"sampleSufficient":true,"causationClaimed":false},{"id":"paid","name":"Paid","sessions":500,"sessionsSupplied":true,"conversions":40,"conversionsSupplied":true,"revenue":2500,"revenueSupplied":true,"conversionRate":0.08,"conversionRateSupplied":true,"sampleSufficient":true,"causationClaimed":false},{"id":"tiny","name":"Tiny","sessions":20,"sessionsSupplied":true,"conversions":5,"conversionsSupplied":true,"revenue":0,"revenueSupplied":false,"conversionRate":0.25,"conversionRateSupplied":true,"sampleSufficient":false,"causationClaimed":false}],"highestRateSourceId":"paid","highestRate":0.08,"highestRateSupplied":true,"analyticsAccessed":false,"trafficInvented":false,"conversionsInvented":false,"revenueInvented":false,"causationClaimed":false,"findings":[{"kind":"observation","code":"source_sample_small","subject":"tiny","detail":"A source conversion rate is shown, but the sample is below the disclosed minimum of 100 sessions. It is not used for ranking."}],"limitations":["Funnel stages, pages, events, sources, forms, and segments are copied only from labeled counts supplied by the caller.","Conversion rates and drop-offs use only those counts. Missing counts are not filled in.","A difference between segments or sources is an association in the supplied numbers, not a proven cause.","Segment comparisons run only when both samples meet the disclosed minimum size.","No analytics or advertising account is accessed, and no traffic, conversions, or revenue are invented."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]}}},"/api/v1/conversion-intelligence/form-abandonment-analyze":{"post":{"operationId":"analyze_form_abandonment","summary":"Analyze form abandonment","description":"Measure form completion and field abandonment from supplied starts, completes, and field counts. Differences are associations in the numbers, not proven causes.","tags":["conversion-intelligence"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","maxLength":200000},"json":{"type":"string","maxLength":200000},"csv":{"type":"string","maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["text/plain","text/csv","application/json"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"funnels":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160}},"additionalProperties":false}},"stages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"funnelId":{"type":"string","maxLength":80},"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"order":{"type":"integer","minimum":0,"maximum":200},"count":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"pages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"path":{"type":"string","maxLength":500},"name":{"type":"string","maxLength":160},"views":{"type":"number","minimum":0,"maximum":1000000000},"exits":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"events":{"maxItems":120,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"count":{"type":"number","minimum":0,"maximum":1000000000},"page":{"type":"string","maxLength":500},"required":{"type":"boolean"}},"required":["name"],"additionalProperties":false}},"expectedEvents":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"],"additionalProperties":false}},"sources":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000},"revenue":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"forms":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"starts":{"type":"number","minimum":0,"maximum":1000000000},"completes":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"fields":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"formId":{"type":"string","maxLength":80},"name":{"type":"string","minLength":1,"maxLength":120},"starts":{"type":"number","minimum":0,"maximum":1000000000},"abandons":{"type":"number","minimum":0,"maximum":1000000000}},"required":["name"],"additionalProperties":false}},"segments":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"minSample":{"type":"integer","minimum":1,"maximum":100000}},"additionalProperties":false},"example":{"forms":[{"id":"lead","name":"Lead form","starts":400,"completes":100}],"fields":[{"formId":"lead","name":"email","starts":400,"abandons":50},{"formId":"lead","name":"phone","starts":350,"abandons":180}]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"status":{"type":"string"},"forms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"starts":{"type":"number"},"startsSupplied":{"type":"boolean"},"completes":{"type":"number"},"completesSupplied":{"type":"boolean"},"completionRate":{"type":"number"},"completionRateSupplied":{"type":"boolean"},"abandonmentRate":{"type":"number"},"abandonmentRateSupplied":{"type":"boolean"},"largestField":{"type":"string"},"largestFieldRate":{"type":"number"},"largestFieldRateSupplied":{"type":"boolean"},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"starts":{"type":"number"},"startsSupplied":{"type":"boolean"},"abandons":{"type":"number"},"abandonsSupplied":{"type":"boolean"},"abandonmentRate":{"type":"number"},"abandonmentRateSupplied":{"type":"boolean"}},"additionalProperties":true}},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"analyticsAccessed":{"type":"boolean"},"trafficInvented":{"type":"boolean"},"conversionsInvented":{"type":"boolean"},"revenueInvented":{"type":"boolean"},"causationClaimed":{"type":"boolean"},"findings":{"type":"array","items":{}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-04T16:00:00.000Z","status":"analyzed","forms":[{"id":"lead","name":"Lead form","starts":400,"startsSupplied":true,"completes":100,"completesSupplied":true,"completionRate":0.25,"completionRateSupplied":true,"abandonmentRate":0.75,"abandonmentRateSupplied":true,"largestField":"phone","largestFieldRate":0.5143,"largestFieldRateSupplied":true,"fields":[{"name":"email","starts":400,"startsSupplied":true,"abandons":50,"abandonsSupplied":true,"abandonmentRate":0.125,"abandonmentRateSupplied":true},{"name":"phone","starts":350,"startsSupplied":true,"abandons":180,"abandonsSupplied":true,"abandonmentRate":0.5143,"abandonmentRateSupplied":true}],"causationClaimed":false}],"analyticsAccessed":false,"trafficInvented":false,"conversionsInvented":false,"revenueInvented":false,"causationClaimed":false,"findings":[],"limitations":["Funnel stages, pages, events, sources, forms, and segments are copied only from labeled counts supplied by the caller.","Conversion rates and drop-offs use only those counts. Missing counts are not filled in.","A difference between segments or sources is an association in the supplied numbers, not a proven cause.","Segment comparisons run only when both samples meet the disclosed minimum size.","No analytics or advertising account is accessed, and no traffic, conversions, or revenue are invented."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{}}]}}},"/api/v1/conversion-intelligence/segment-compare":{"post":{"operationId":"compare_conversion_segments","summary":"Compare conversion segments","description":"Compare segment conversion rates only when both samples meet the disclosed minimum size. Rate differences are not treated as causation.","tags":["conversion-intelligence"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","maxLength":200000},"json":{"type":"string","maxLength":200000},"csv":{"type":"string","maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["text/plain","text/csv","application/json"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"funnels":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160}},"additionalProperties":false}},"stages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"funnelId":{"type":"string","maxLength":80},"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"order":{"type":"integer","minimum":0,"maximum":200},"count":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"pages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"path":{"type":"string","maxLength":500},"name":{"type":"string","maxLength":160},"views":{"type":"number","minimum":0,"maximum":1000000000},"exits":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"events":{"maxItems":120,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"count":{"type":"number","minimum":0,"maximum":1000000000},"page":{"type":"string","maxLength":500},"required":{"type":"boolean"}},"required":["name"],"additionalProperties":false}},"expectedEvents":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"],"additionalProperties":false}},"sources":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000},"revenue":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"forms":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"starts":{"type":"number","minimum":0,"maximum":1000000000},"completes":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"fields":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"formId":{"type":"string","maxLength":80},"name":{"type":"string","minLength":1,"maxLength":120},"starts":{"type":"number","minimum":0,"maximum":1000000000},"abandons":{"type":"number","minimum":0,"maximum":1000000000}},"required":["name"],"additionalProperties":false}},"segments":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"minSample":{"type":"integer","minimum":1,"maximum":100000}},"additionalProperties":false},"example":{"minSample":100,"segments":[{"id":"mobile","name":"Mobile","sessions":800,"conversions":40},{"id":"desktop","name":"Desktop","sessions":900,"conversions":90},{"id":"tablet","name":"Tablet","sessions":40,"conversions":8}]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"status":{"type":"string"},"minSample":{"type":"number"},"segments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sessions":{"type":"number"},"sessionsSupplied":{"type":"boolean"},"conversions":{"type":"number"},"conversionsSupplied":{"type":"boolean"},"conversionRate":{"type":"number"},"conversionRateSupplied":{"type":"boolean"},"sampleSufficient":{"type":"boolean"}},"additionalProperties":true}},"comparisons":{"type":"array","items":{"type":"object","properties":{"leftId":{"type":"string"},"rightId":{"type":"string"},"leftSessions":{"type":"number"},"rightSessions":{"type":"number"},"leftRate":{"type":"number"},"rightRate":{"type":"number"},"rateDifference":{"type":"number"},"minSample":{"type":"number"},"compared":{"type":"boolean"},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"analyticsAccessed":{"type":"boolean"},"trafficInvented":{"type":"boolean"},"conversionsInvented":{"type":"boolean"},"revenueInvented":{"type":"boolean"},"causationClaimed":{"type":"boolean"},"findings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"code":{"type":"string"},"subject":{"type":"string"},"detail":{"type":"string"}},"additionalProperties":true}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-04T16:00:00.000Z","status":"compared","minSample":100,"segments":[{"id":"mobile","name":"Mobile","sessions":800,"sessionsSupplied":true,"conversions":40,"conversionsSupplied":true,"conversionRate":0.05,"conversionRateSupplied":true,"sampleSufficient":true},{"id":"desktop","name":"Desktop","sessions":900,"sessionsSupplied":true,"conversions":90,"conversionsSupplied":true,"conversionRate":0.1,"conversionRateSupplied":true,"sampleSufficient":true},{"id":"tablet","name":"Tablet","sessions":40,"sessionsSupplied":true,"conversions":8,"conversionsSupplied":true,"conversionRate":0.2,"conversionRateSupplied":true,"sampleSufficient":false}],"comparisons":[{"leftId":"mobile","rightId":"desktop","leftSessions":800,"rightSessions":900,"leftRate":0.05,"rightRate":0.1,"rateDifference":-0.05,"minSample":100,"compared":true,"causationClaimed":false}],"analyticsAccessed":false,"trafficInvented":false,"conversionsInvented":false,"revenueInvented":false,"causationClaimed":false,"findings":[{"kind":"observation","code":"segment_sample_small","subject":"tablet","detail":"Segment sample 40 is below the disclosed minimum of 100. It was not compared."}],"limitations":["Funnel stages, pages, events, sources, forms, and segments are copied only from labeled counts supplied by the caller.","Conversion rates and drop-offs use only those counts. Missing counts are not filled in.","A difference between segments or sources is an association in the supplied numbers, not a proven cause.","Segment comparisons run only when both samples meet the disclosed minimum size.","No analytics or advertising account is accessed, and no traffic, conversions, or revenue are invented."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{}}]}}},"/api/v1/conversion-intelligence/diagnostics-report":{"post":{"operationId":"report_conversion_diagnostics","summary":"Report conversion diagnostics","description":"Combine funnel drop-offs, page exits, event coverage, source rates, form abandonment, and segment comparisons from supplied counts. No traffic or revenue is invented.","tags":["conversion-intelligence"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"text":{"type":"string","maxLength":200000},"json":{"type":"string","maxLength":200000},"csv":{"type":"string","maxLength":200000},"file":{"type":"object","properties":{"filename":{"type":"string","minLength":1,"maxLength":180},"mediaType":{"type":"string","enum":["text/plain","text/csv","application/json"]},"fileBase64":{"type":"string","minLength":1,"maxLength":12000000}},"required":["mediaType","fileBase64"],"additionalProperties":false},"funnels":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160}},"additionalProperties":false}},"stages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"funnelId":{"type":"string","maxLength":80},"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"order":{"type":"integer","minimum":0,"maximum":200},"count":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"pages":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"path":{"type":"string","maxLength":500},"name":{"type":"string","maxLength":160},"views":{"type":"number","minimum":0,"maximum":1000000000},"exits":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"events":{"maxItems":120,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"count":{"type":"number","minimum":0,"maximum":1000000000},"page":{"type":"string","maxLength":500},"required":{"type":"boolean"}},"required":["name"],"additionalProperties":false}},"expectedEvents":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"],"additionalProperties":false}},"sources":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000},"revenue":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"forms":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"starts":{"type":"number","minimum":0,"maximum":1000000000},"completes":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"fields":{"maxItems":80,"type":"array","items":{"type":"object","properties":{"formId":{"type":"string","maxLength":80},"name":{"type":"string","minLength":1,"maxLength":120},"starts":{"type":"number","minimum":0,"maximum":1000000000},"abandons":{"type":"number","minimum":0,"maximum":1000000000}},"required":["name"],"additionalProperties":false}},"segments":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":160},"sessions":{"type":"number","minimum":0,"maximum":1000000000},"conversions":{"type":"number","minimum":0,"maximum":1000000000}},"additionalProperties":false}},"minSample":{"type":"integer","minimum":1,"maximum":100000}},"additionalProperties":false},"example":{"minSample":100,"funnels":[{"id":"F-1","name":"Signup"}],"stages":[{"funnelId":"F-1","id":"S1","name":"Landing","order":1,"count":1000},{"funnelId":"F-1","id":"S2","name":"Signup form","order":2,"count":400},{"funnelId":"F-1","id":"S3","name":"Confirmed","order":3,"count":120}],"pages":[{"id":"P1","path":"/pricing","views":1000,"exits":700,"conversions":40}],"expectedEvents":[{"name":"page_view"},{"name":"purchase"}],"events":[{"name":"page_view","count":5000},{"name":"add_to_cart","count":200}],"sources":[{"id":"organic","name":"Organic","sessions":2000,"conversions":80},{"id":"paid","name":"Paid","sessions":500,"conversions":40}],"forms":[{"id":"lead","name":"Lead form","starts":400,"completes":100}],"fields":[{"formId":"lead","name":"phone","starts":350,"abandons":180}],"segments":[{"id":"mobile","name":"Mobile","sessions":800,"conversions":40},{"id":"desktop","name":"Desktop","sessions":900,"conversions":90}]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. Conditional fields depend on the result and data-source availability.","content":{"application/json":{"schema":{"type":"object","properties":{"checkedAt":{"type":"string"},"status":{"type":"string"},"minSample":{"type":"number"},"funnelCount":{"type":"number"},"pageCount":{"type":"number"},"missingEventCount":{"type":"number"},"formCount":{"type":"number"},"comparedSegmentPairs":{"type":"number"},"largestFunnelDrop":{"type":"number"},"largestExitRate":{"type":"number"},"funnels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"stageCount":{"type":"number"},"overallRate":{"type":"number"},"overallRateSupplied":{"type":"boolean"},"largestDropStageId":{"type":"string"},"largestDrop":{"type":"number"},"largestDropSupplied":{"type":"boolean"},"stages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"order":{"type":"number"},"count":{"type":"number"},"countSupplied":{"type":"boolean"},"toNextRate":{"type":"number"},"toNextRateSupplied":{"type":"boolean"},"dropOff":{"type":"number"},"dropOffSupplied":{"type":"boolean"}},"additionalProperties":true}},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"pages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"name":{"type":"string"},"views":{"type":"number"},"viewsSupplied":{"type":"boolean"},"exits":{"type":"number"},"exitsSupplied":{"type":"boolean"},"conversions":{"type":"number"},"conversionsSupplied":{"type":"boolean"},"exitRate":{"type":"number"},"exitRateSupplied":{"type":"boolean"},"conversionRate":{"type":"number"},"conversionRateSupplied":{"type":"boolean"},"dropOffMeasured":{"type":"boolean"},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"checkout":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"overallRate":{"type":"number"},"overallRateSupplied":{"type":"boolean"},"largestDropStageId":{"type":"string"},"largestDrop":{"type":"number"},"largestDropSupplied":{"type":"boolean"},"stages":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"order":{"type":"number"},"count":{"type":"number"},"countSupplied":{"type":"boolean"},"toNextRate":{"type":"number"},"toNextRateSupplied":{"type":"boolean"},"dropOff":{"type":"number"},"dropOffSupplied":{"type":"boolean"}},"additionalProperties":true}},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"coverage":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string"},"count":{"type":"number"},"countSupplied":{"type":"boolean"},"pages":{"type":"array","items":{}}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sessions":{"type":"number"},"sessionsSupplied":{"type":"boolean"},"conversions":{"type":"number"},"conversionsSupplied":{"type":"boolean"},"revenue":{"type":"number"},"revenueSupplied":{"type":"boolean"},"conversionRate":{"type":"number"},"conversionRateSupplied":{"type":"boolean"},"sampleSufficient":{"type":"boolean"},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"forms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"starts":{"type":"number"},"startsSupplied":{"type":"boolean"},"completes":{"type":"number"},"completesSupplied":{"type":"boolean"},"completionRate":{"type":"number"},"completionRateSupplied":{"type":"boolean"},"abandonmentRate":{"type":"number"},"abandonmentRateSupplied":{"type":"boolean"},"largestField":{"type":"string"},"largestFieldRate":{"type":"number"},"largestFieldRateSupplied":{"type":"boolean"},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"starts":{"type":"number"},"startsSupplied":{"type":"boolean"},"abandons":{"type":"number"},"abandonsSupplied":{"type":"boolean"},"abandonmentRate":{"type":"number"},"abandonmentRateSupplied":{"type":"boolean"}},"additionalProperties":true}},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"segments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sessions":{"type":"number"},"sessionsSupplied":{"type":"boolean"},"conversions":{"type":"number"},"conversionsSupplied":{"type":"boolean"},"conversionRate":{"type":"number"},"conversionRateSupplied":{"type":"boolean"},"sampleSufficient":{"type":"boolean"}},"additionalProperties":true}},"comparisons":{"type":"array","items":{"type":"object","properties":{"leftId":{"type":"string"},"rightId":{"type":"string"},"leftSessions":{"type":"number"},"rightSessions":{"type":"number"},"leftRate":{"type":"number"},"rightRate":{"type":"number"},"rateDifference":{"type":"number"},"minSample":{"type":"number"},"compared":{"type":"boolean"},"causationClaimed":{"type":"boolean"}},"additionalProperties":true}},"analyticsAccessed":{"type":"boolean"},"trafficInvented":{"type":"boolean"},"conversionsInvented":{"type":"boolean"},"revenueInvented":{"type":"boolean"},"causationClaimed":{"type":"boolean"},"findings":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"code":{"type":"string"},"subject":{"type":"string"},"detail":{"type":"string"}},"additionalProperties":true}},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"checkedAt":"2026-11-04T16:00:00.000Z","status":"reported","minSample":100,"funnelCount":1,"pageCount":1,"missingEventCount":1,"formCount":1,"comparedSegmentPairs":1,"largestFunnelDrop":0.7,"largestExitRate":0.7,"funnels":[{"id":"F-1","name":"Signup","stageCount":3,"overallRate":0.12,"overallRateSupplied":true,"largestDropStageId":"S2","largestDrop":0.7,"largestDropSupplied":true,"stages":[{"id":"S1","name":"Landing","order":1,"count":1000,"countSupplied":true,"toNextRate":0.4,"toNextRateSupplied":true,"dropOff":0.6,"dropOffSupplied":true},{"id":"S2","name":"Signup form","order":2,"count":400,"countSupplied":true,"toNextRate":0.3,"toNextRateSupplied":true,"dropOff":0.7,"dropOffSupplied":true},{"id":"S3","name":"Confirmed","order":3,"count":120,"countSupplied":true,"toNextRate":0,"toNextRateSupplied":false,"dropOff":0,"dropOffSupplied":false}],"causationClaimed":false}],"pages":[{"id":"P1","path":"/pricing","name":"P1","views":1000,"viewsSupplied":true,"exits":700,"exitsSupplied":true,"conversions":40,"conversionsSupplied":true,"exitRate":0.7,"exitRateSupplied":true,"conversionRate":0.04,"conversionRateSupplied":true,"dropOffMeasured":true,"causationClaimed":false}],"checkout":[{"id":"F-1","name":"Signup","overallRate":0.12,"overallRateSupplied":true,"largestDropStageId":"S2","largestDrop":0.7,"largestDropSupplied":true,"stages":[{"id":"S1","name":"Landing","order":1,"count":1000,"countSupplied":true,"toNextRate":0.4,"toNextRateSupplied":true,"dropOff":0.6,"dropOffSupplied":true},{"id":"S2","name":"Signup form","order":2,"count":400,"countSupplied":true,"toNextRate":0.3,"toNextRateSupplied":true,"dropOff":0.7,"dropOffSupplied":true},{"id":"S3","name":"Confirmed","order":3,"count":120,"countSupplied":true,"toNextRate":0,"toNextRateSupplied":false,"dropOff":0,"dropOffSupplied":false}],"causationClaimed":false}],"coverage":[{"name":"page_view","status":"present","count":5000,"countSupplied":true,"pages":[]},{"name":"purchase","status":"missing","count":0,"countSupplied":false,"pages":[]},{"name":"add_to_cart","status":"unexpected","count":200,"countSupplied":true,"pages":[]}],"sources":[{"id":"organic","name":"Organic","sessions":2000,"sessionsSupplied":true,"conversions":80,"conversionsSupplied":true,"revenue":0,"revenueSupplied":false,"conversionRate":0.04,"conversionRateSupplied":true,"sampleSufficient":true,"causationClaimed":false},{"id":"paid","name":"Paid","sessions":500,"sessionsSupplied":true,"conversions":40,"conversionsSupplied":true,"revenue":0,"revenueSupplied":false,"conversionRate":0.08,"conversionRateSupplied":true,"sampleSufficient":true,"causationClaimed":false}],"forms":[{"id":"lead","name":"Lead form","starts":400,"startsSupplied":true,"completes":100,"completesSupplied":true,"completionRate":0.25,"completionRateSupplied":true,"abandonmentRate":0.75,"abandonmentRateSupplied":true,"largestField":"phone","largestFieldRate":0.5143,"largestFieldRateSupplied":true,"fields":[{"name":"phone","starts":350,"startsSupplied":true,"abandons":180,"abandonsSupplied":true,"abandonmentRate":0.5143,"abandonmentRateSupplied":true}],"causationClaimed":false}],"segments":[{"id":"mobile","name":"Mobile","sessions":800,"sessionsSupplied":true,"conversions":40,"conversionsSupplied":true,"conversionRate":0.05,"conversionRateSupplied":true,"sampleSufficient":true},{"id":"desktop","name":"Desktop","sessions":900,"sessionsSupplied":true,"conversions":90,"conversionsSupplied":true,"conversionRate":0.1,"conversionRateSupplied":true,"sampleSufficient":true}],"comparisons":[{"leftId":"mobile","rightId":"desktop","leftSessions":800,"rightSessions":900,"leftRate":0.05,"rightRate":0.1,"rateDifference":-0.05,"minSample":100,"compared":true,"causationClaimed":false}],"analyticsAccessed":false,"trafficInvented":false,"conversionsInvented":false,"revenueInvented":false,"causationClaimed":false,"findings":[{"kind":"missing","code":"event_missing","subject":"purchase","detail":"An expected event was not present in the supplied event list."}],"limitations":["Funnel stages, pages, events, sources, forms, and segments are copied only from labeled counts supplied by the caller.","Conversion rates and drop-offs use only those counts. Missing counts are not filled in.","A difference between segments or sources is an association in the supplied numbers, not a proven cause.","Segment comparisons run only when both samples meet the disclosed minimum size.","No analytics or advertising account is accessed, and no traffic, conversions, or revenue are invented."]}}}},"400":{"description":"Invalid JSON or request schema."},"402":{"description":"Payment Required"},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Reusing the key cannot trigger a second charge."},"413":{"description":"Request body exceeds the 24 MB limit."},"500":{"description":"Operation failed. With upfront settlement this may occur after payment; reuse the same idempotency key to retrieve the stored result."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.12"},"protocols":[{"x402":{}}]}}}},"components":{"schemas":{"ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}}}}}}}}