{"uid":"cap_QK-0eRxg8oFo0RXWI_D0O","slug":"boundary-guard-x402-onrender-com-bafcb4cd","name":"BoundaryGuard Full Safety & Validation Pass","description":"","url":"https://boundary-guard-x402.onrender.com/guard","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"text":"The API response contains user data: {\"user_id\": 12345, \"name\": \"John Doe\", \"status\": \"active\"}","policy":{"require_json":true,"max_risk_score":39,"policy_version":"guard-v1","block_issue_kinds":["injection"],"on_extract_failure":"retry","on_normalize_failure":"retry"},"schema":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string"},"user_id":{"type":"integer"}}}},"response":{"risk":{"score":0,"issues":[]},"reasons":[],"receipt":{"receipt_id":"0292711544296c463b15f377aad184dd1e260e50f9374761121994008fdfa65a","content_sha256":"56286baf53d4d925c13817b2fde47bb45c3541c99b13e2d90bbbbaa3fce4cdb4","policy_version":"guard-v1","canonical_sha256":"cc0c2e5daa2435829a82f1c1d3ed44508f2b846cd524b515c4883b7d35c6fc42"},"decision":"allow","extracted":{"ok":true,"data":{"name":"John Doe","status":"active","user_id":12345},"error":null},"retryable":false,"normalized":{"data":{"name":"John Doe","status":"active","user_id":12345},"valid":true,"errors":[]},"human_summary":{"headline":"Allowed: the request passed Boundary Guard.","plain_english":"Boundary Guard accepted the request. It scanned the submitted text, extracted the JSON, normalized it to the requested schema (user_id=12345, name=\"John Doe\", status=\"active\"), and returned a receipt for this exact decision.","what_happened":["Risk scan: no blocked risk patterns were found.","JSON extraction: found a structured payload in the submitted text.","Schema check: normalized the payload to user_id=12345, name=\"John Doe\", status=\"active\".","Receipt: 029271154429… records this decision under policy guard-v1."],"receipt_explainer":"Receipt 029271154429… ties the policy version, input hash, normalized payload hash, and decision together. Any payment settlement, if present, is proven separately; this receipt explains the Boundary Guard result.","operator_next_step":"Use the normalized payload and keep the receipt with the downstream action.","transaction_summary":"This transaction asked Boundary Guard to check one agent payload before it was trusted downstream. The outcome was allow: user_id=12345, name=\"John Doe\", status=\"active\"."},"canonical_json":"{\"name\":\"John Doe\",\"status\":\"active\",\"user_id\":12345}","canonical_sha256":"cc0c2e5daa2435829a82f1c1d3ed44508f2b846cd524b515c4883b7d35c6fc42"}},"exampleRequest":{"text":"The API response contains user data: {\"user_id\": 12345, \"name\": \"John Doe\", \"status\": \"active\"}","policy":{"require_json":true,"max_risk_score":39,"policy_version":"guard-v1","block_issue_kinds":["injection"],"on_extract_failure":"retry","on_normalize_failure":"retry"},"schema":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string"},"user_id":{"type":"integer"}}}},"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CJSR3OU6oXtfivhfsh_mP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a comprehensive pipeline of risk scanning, JSON extraction, schema normalization, and deterministic receipt generation in a single call before an agent proceeds","exampleAgentPrompt":"Before passing this LLM output to the next step, run the full boundary guard pipeline on it — risk scan for prompt injection and PII, extract and repair the JSON, normalize it against my declared schema, and give me a deterministic receipt I can log.","exampleUseCases":null,"resultDescription":"Returns a bundled result containing: risk scan findings (prompt injection, secrets, PII flags), the extracted/repaired JSON payload, the schema-normalized data object, and a deterministic receipt for audit or chaining. All four passes are applied in sequence before the agent is permitted to continue.","failureModes":["Input text too large or malformed — returns 400 with parsing error","Schema normalization fails if target schema is not provided or is invalid","Risk scan may flag false positives on benign content with credential-like patterns","Service cold-start on Render.com free tier may add latency (503 or timeout)","Payment not accepted or x402 protocol error — returns 402 with payment details"],"whenToPreferThis":"Choose this endpoint when you need all four safety/validation passes (risk scan + JSON extraction + schema normalization + receipt) run atomically in a single API call rather than chaining four separate endpoints. Ideal for agent pipelines where latency budget allows one round trip and you need a tamper-evident receipt for audit. Prefer individual sibling endpoints if you only need one specific pass.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:34:51.284Z","isFirstParty":false}