{"uid":"cap_9-lPCfvepb9Z1Z-Y5UPmF","slug":"david-agent-services-text-summarization-07701e40","name":"David Agent Services – Text Summarization","description":"Pay-per-call summarization, cited research briefs, and code review for AI agents. x402 v2, USDC on Base. No account or API key.","url":"https://david-agent-services.david-works.workers.dev/summarize?utm_source=zero.xyz","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":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":20000,"minLength":50,"description":"Text to summarize"},"maxWords":{"type":"integer","default":120,"maximum":400,"minimum":30}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"engine":"workers-ai","summary":"…","keyPoints":["…","…","…"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zSnb8UmuSrIwZzPnetgcJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Summarizes a block of text into a concise summary with key bullet points, paid per-call via x402/USDC with no API key required.","exampleAgentPrompt":"Can you summarize the following article for me in about 120 words and pull out the key points? Here's the text: [paste article text]","exampleUseCases":[{"title":"Digest long research paper","prompt":"Summarize this 15-page research paper excerpt into about 150 words and list the key findings — here's the text: [paper text]"},{"title":"Condense customer feedback report","prompt":"I have a big block of customer feedback text — can you boil it down to a 100-word summary with the main takeaways? Here it is: [feedback text]"},{"title":"Meeting notes quick overview","prompt":"Turn these raw meeting notes into a concise 80-word summary with the key decisions highlighted: [meeting notes text]"}],"resultDescription":"Returns a JSON object containing a 'summary' string (prose condensation of the input), a 'keyPoints' array of bullet-point strings highlighting the main ideas, and an 'engine' field indicating the underlying AI model used (e.g. workers-ai).","failureModes":["Input text shorter than 50 characters returns a validation error","Input text exceeding 20,000 characters is rejected","maxWords outside 30–400 range is rejected","Payment not fulfilled via x402 results in 402 Payment Required response","Service unavailable returns 5xx error from Cloudflare Workers"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call text summarization with no account setup or API key, particularly in agent pipelines that already handle x402/USDC payments on Base. Ideal for one-off or low-volume summarization tasks where subscription overhead is undesirable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:32:59.017Z","isFirstParty":false,"canonicalSlug":"david-agent-services-text-summarization-07701e40"}