{"uid":"cap_s-Y5eqkv3yldFvBoZTbqk","slug":"pagos-andreax-dev-natural-language-to-structured-contract-translator-c1b5e915","name":"pagos.andreax.dev Natural Language to Structured Contract Translator","description":"Traduce una instrucción en lenguaje natural a una estructura/contrato densa y accionable. input=texto.","url":"https://pagos.andreax.dev/api/taller/peaje/traducir","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"instrucción en lenguaje natural"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UN22vYcRCjvRz58RcZZHE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Translates a natural language instruction into a dense, actionable structured contract or data structure","exampleAgentPrompt":"Take this instruction — 'Schedule a weekly report every Monday at 9am and send it to the finance team' — and translate it into a dense, structured actionable contract I can use in my automation pipeline.","exampleUseCases":[{"title":"Automating workflow from plain English","prompt":"I have this instruction from a user: 'every time a new customer signs up, create a support ticket and send them a welcome email within 5 minutes' — can you translate that into a structured actionable contract my automation system can execute?"},{"title":"Parsing agent task instructions","prompt":"My user said: 'generate a PDF invoice for the order placed by Acme Corp on June 1st for $4,200 and send it to billing@acme.com' — translate that into a dense structured format so my agent knows exactly what fields and actions are needed."},{"title":"Structuring payment or checkout flow","prompt":"Turn this plain instruction into a structured contract: 'charge the customer $49.99 for the Pro plan subscription, apply a 10% discount if they have a coupon, and send a receipt to their email.'"}],"resultDescription":"Returns a dense, structured and actionable object (contract) derived from the provided natural language instruction, with typed fields, inferred actions, and parsed parameters ready for downstream automation or agent execution.","failureModes":["Missing 'input' query parameter returns a validation error","Ambiguous or too-short natural language input may yield a poorly structured or incomplete contract","Very long inputs may be truncated or result in incomplete parsing","Network timeout if the underlying LLM inference takes too long","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need to convert free-form natural language instructions into a machine-readable, actionable structured format — particularly useful in agentic pipelines where user intent must be formalized before execution. Prefer this over generic LLM inference when you need a consistently structured, dense contract output rather than a free-form text response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:42.422Z","isFirstParty":false}