{"uid":"cap_zzP0C0PsY8KXsvEXsiICv","slug":"clervo-ai-execute-b82c40c7","name":"Clervo AI Execute","description":"Bounded ai.chat execution","url":"https://api.clervo.dev/v1/ai/execute","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"state":"RECEIPTED","result":{"output":{"kind":"chat","content":"Idempotency prevents a retry from becoming a second logical operation or charge."}},"receipt":{"settlement":{"status":"settled"}},"replayed":false,"productId":"ai.chat","exactModelId":"clervo/allam-2-7b"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jnqCW-ZmGOKRA75aMpkV1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes an AI task (e.g. chat completion) via Clervo's outcome infrastructure, returning a settled result with a payment receipt","exampleAgentPrompt":"Use Clervo to run a chat completion for the product 'ai.chat' — send the message 'What is the capital of France?' and confirm the result is settled with a receipt.","exampleUseCases":[{"title":"Receipted chat answer for agent","prompt":"Ask Clervo to run the 'ai.chat' product with the message 'Summarize the key risks of a Series A investment' and give me back the answer along with proof the call was paid and settled."},{"title":"Verified AI task in automated pipeline","prompt":"I'm building an automated workflow — have Clervo execute an AI chat task with product ID 'ai.chat', message 'Draft a one-sentence tagline for a sustainable sneaker brand', and confirm the settlement receipt before passing the output downstream."},{"title":"Micropayment-gated LLM inference call","prompt":"Run a Clervo AI execute call using the 'ai.chat' product, asking 'What are three creative names for a dog grooming startup?', and return both the model's answer and the settlement status so I know it was billed correctly."}],"resultDescription":"A JSON object containing: 'state' (e.g. RECEIPTED), 'result.output' with the AI response (kind + content), 'receipt.settlement.status' confirming payment settlement, 'replayed' boolean, 'productId', and 'exactModelId' of the model used.","failureModes":["Payment failure or insufficient USDC balance — settlement status not 'settled'","Invalid or unsupported productId — endpoint may return an error or unexpected state","Model unavailable — exactModelId not resolved, response may be empty or errored","Malformed request body — missing required fields causes a 4xx error","Network timeout — agent receives no receipt and must retry idempotently with caution"],"whenToPreferThis":"Choose this endpoint when you need a receipted, payment-settled AI inference call with verifiable outcome proof — especially in agentic pipelines where accountability and micropayment settlement (via x402) matter. Prefer it over raw LLM APIs when you need a combined execution + payment receipt in one response, or when building agent workflows that require auditable per-call billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T21:27:57.230Z","isFirstParty":false}