# KG-NINJA Agent Error Fix Receipt KG-NINJA provides a small paid x402 endpoint for AI agents and developers. Paid endpoints: POST /fix-error POST /summarize-url POST /shell-risk-check POST /agent-visibility-report Free preview: GET /fix-error/preview Pricing: GET /pricing.json x402 config: GET /x402/config Human explanation: GET /buy Purpose: Submit a failing command, error message, or log snippet. Receive a concise JSON repair receipt containing root cause, one next command, retry plan, risk note, and prevention note. You can also summarize a public URL or score the risk of a shell command before execution. Fast start: - GET /goal for the primary buyer, pain, result, CTA, and paid endpoint - GET /agent.json for machine-readable metadata - GET /payment-options.json for x402 payment details - GET /openapi.json for request/response contracts - GET /proof.json for machine-readable x402 mainnet paid flow proof - GET /proof.md for human-readable proof and cautious interpretation - GET /share-card.json for concise social/share metadata - GET /capabilities for the three paid routes and payment protocol - GET /buy for a human-readable landing page Agent payment flow: 1. Read /agent.json 2. Read /goal 3. Read /payment-options.json 4. POST /fix-error without payment to receive 402 5. Retry POST /fix-error with x402 payment 6. Expect 200 paid response Agent Visibility Report: - Endpoint: POST /agent-visibility-report - Purpose: returns a privacy-safe report about machine discoverability and payment readiness. - Unpaid request: returns 402 Payment Required. - Paid request: returns structured JSON with scores, gaps, matched discovery patterns, and next fix. - Paid value: observed machine-discovery patterns, payment-readiness scoring, metadata gaps, and one actionable next fix. - Privacy: aggregate-only; no raw IP, raw User-Agent, wallet address, receipt, tx hash, or event-level log is exposed. Payment: x402 required for POST /fix-error. x402 required for POST /summarize-url. x402 required for POST /shell-risk-check. x402 required for POST /agent-visibility-report. Current mode: mainnet. Current network: eip155:8453. Current price: $0.01. Real revenue: true only after settled mainnet payment. Trust signal: mainnet_paid_flow_verified: true Proof JSON: /proof.json Proof page: /proof.md Share card: /share-card.json Safe claim: This service can complete a real x402 mainnet paid API flow. Not claiming: a fully autonomous AI independently chose to buy, attribution to any specific company, or recurring external revenue yet. Safety: This service does not guarantee a fix. It provides diagnostic guidance only. It avoids destructive commands by default.