{"uid":"cap_IdHFl9PVWjhAVZy6sQxyl","slug":"structured-code-review-api-db88e72f","name":"Structured Code Review API","description":"Structured code review: correctness, security, edge cases, reuse. Returns numbered findings.","url":"https://pearl-valium-stickers-upc.trycloudflare.com/v1/coder/review?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"usage":{"type":"object"},"choices":{"type":"array"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2WXtjPkJhtvXLoFKF15S9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs structured code review analyzing correctness, security, edge cases, and reuse opportunities, returning numbered findings","exampleAgentPrompt":"Can you do a structured code review of this function — check it for correctness, security issues, edge cases, and reuse opportunities, and give me the results as numbered findings?","exampleUseCases":[{"title":"Pre-merge pull request review","prompt":"Before I merge this PR, review the following code changes for correctness bugs, security holes, unhandled edge cases, and whether any logic could be reused from elsewhere — give me numbered findings I can act on."},{"title":"Security-focused code audit","prompt":"I need a structured review of this authentication handler — specifically flag any security vulnerabilities, correctness errors, and edge cases I might have missed, returned as a numbered list."},{"title":"Code quality check before deployment","prompt":"Can you review this payment processing function for correctness, security vulnerabilities, edge cases, and opportunities for code reuse? I want numbered findings so I can prioritize fixes before we ship."}],"resultDescription":"A numbered list of findings organized across four dimensions: correctness issues (logic errors, bugs), security vulnerabilities (injection, auth bypass, unsafe patterns), edge case gaps (unhandled inputs, boundary conditions), and reuse opportunities (duplicated logic, extractable utilities)","failureModes":["Empty or malformed code input returns no meaningful findings","Very large code snippets may exceed model context window","Non-code text input may yield irrelevant or hallucinated findings","Network timeout on Cloudflare tunnel if the local RTX 5090 instance is unavailable","Payment failure via x402 protocol blocks the request before inference","Model may miss subtle logic errors in domain-specific business logic"],"whenToPreferThis":"Prefer this endpoint when you need a comprehensive, multi-dimensional code review covering correctness, security, edge cases, and reuse in a single call with structured numbered output. It runs on an uncensored local model, making it suitable for sensitive or proprietary code that shouldn't leave to a third-party cloud. Choose this over the sibling security-only audit endpoint when you want broad review beyond just security.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:30:18.276Z","isFirstParty":false,"canonicalSlug":"structured-code-review-api-db88e72f"}