{"uid":"cap_hgX3wHknUu2_dvj4fZg-R","slug":"tanship-payai-console-ai-lint-endpoint-475e7c9e","name":"Tanship PayAI Console — AI Lint Endpoint","description":"Payment-gated AI and browser automation API using the x402 protocol. All /v1/* endpoints require USDC payment on Base (eip155:8453) via x402 v2 exact scheme.","url":"https://x402.tanship.dev/v1/ai/lint","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"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_TotketVlfI7ag8h7wcb-7","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":"Lints or validates AI-related content (such as prompts, code, or configurations) via a payment-gated HTTP POST endpoint using the x402 USDC micropayment protocol on Base.","exampleAgentPrompt":"Can you lint this prompt for me to catch any issues before I send it to my AI model: 'You are an assistant that helps users. Always be polite and answer questions about weather and travel.'","exampleUseCases":[{"title":"Prompt quality check before deployment","prompt":"Before I push this system prompt to production, can you run it through Tanship's AI linter to flag any ambiguities or structural issues? Here's the prompt: 'You are a customer support bot. Only answer questions about returns. If asked anything else, say I cannot help with that.'"},{"title":"AI agent configuration validation","prompt":"I've written a JSON config for my AI agent pipeline — can you lint it to make sure there are no errors or bad patterns before I deploy it?"},{"title":"Iterative prompt debugging","prompt":"My LLM keeps giving weird outputs and I think my prompt has issues. Can you lint this prompt text and tell me what's wrong with it: 'Summarize the following. Be concise. Also be detailed. Include all relevant information but keep it short.'"}],"resultDescription":"Returns lint analysis results for the submitted content, including identified issues, warnings, suggestions for improvement, and overall quality feedback about the AI-related input (prompt, code, or configuration).","failureModes":["Payment not provided or insufficient USDC balance — returns HTTP 402 with x402 payment requirements","Invalid bodyType value (must be json, form-data, or text) — returns 400 validation error","Missing required 'input' field or nested required fields — returns 400 schema validation error","Network or service unavailability — returns 5xx error","Malformed JSON body — returns 400 parse error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-use AI content linter without API key subscriptions, especially in crypto-native or agent-to-agent workflows that already support the x402 micropayment protocol on Base. Ideal for one-off prompt or configuration validation at low cost ($0.008/call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:47:11.264Z","isFirstParty":false}