{"uid":"cap_C-bMNy8egLEOBWFHvVr0x","slug":"synthex-forge-code-review-brief-b6a329be","name":"Synthex Forge Code Review Brief","description":"Synthex Forge x402 Receive: 41 paid verification, attestation and governance endpoints (Ed25519 + SHA-256 signed artifacts) plus free verify/public-key/standard sibling routes. Paid routes answer HTTP 402 with an x402 v2 `payment-required` envelope (atomic USDC on Base mainnet, chain ID 8453). Free routes are declared with `security: []` per the x402scan discovery spec.","url":"https://x402.synthexforge.com/v1/utils/code-review-brief?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string"},"language":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WbGRMH-Yq87Vqei7EZDQ_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a concise code review brief for submitted code, returning a signed attestation artifact for the given language and snippet.","exampleAgentPrompt":"Can you give me a code review brief for this Python snippet: `def add(a, b): return a + b` — I need a concise summary of any issues or improvements?","exampleUseCases":[{"title":"Quick pre-commit code quality check","prompt":"Review this JavaScript function for me and give me a brief summary of any issues before I commit it: `function fetchUser(id) { return fetch('/users/' + id).then(r => r.json()); }`"},{"title":"Compliance attestation for audit trail","prompt":"I need a signed code review brief for this Go function so I can attach it to our compliance audit — here's the code: `func Divide(a, b float64) float64 { return a / b }`"},{"title":"Onboarding junior developer review","prompt":"Can you run a code review brief on this SQL snippet a junior dev wrote and summarize the main concerns: `SELECT * FROM users WHERE id = '` + userId + `'`? It's SQL and I want to flag anything risky."}],"resultDescription":"Returns a JSON object with ok: true and a concise code review brief containing analysis, findings, and suggestions for the submitted code snippet, signed with Ed25519 and SHA-256 per the Synthex Forge attestation standard.","failureModes":["Missing or empty 'code' field returns an error response","Unsupported or unrecognized 'language' value may degrade review quality","Payment not provided or insufficient USDC results in HTTP 402 payment-required response","Malformed JSON body returns a 400 bad request","Extremely large code snippets may be rejected or truncated","Network timeout if the signing/attestation backend is slow"],"whenToPreferThis":"Choose this endpoint when you need a fast, cryptographically signed code review brief — especially for compliance, audit, or governance workflows where an Ed25519-attested artifact is required. Prefer this over generic LLM code review when you need a verifiable, on-chain-payable attestation on Base mainnet rather than an informal suggestion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T01:19:29.099Z","isFirstParty":false,"canonicalSlug":"synthex-forge-code-review-brief-b6a329be"}