{"uid":"cap_FBD4nNq_9tcw-CKn7j6-H","slug":"translation-vendor-selection-and-quality-acceptance-decision-procedure-f4366449","name":"Translation Vendor Selection and Quality Acceptance Decision Procedure","description":"Machine-executable decision procedure for agents that must translate text and decide which translation rail to pay for. Returns a verdict per translation job: premium machine translation (DeepL-class) vs frontier LLM translation vs free API vs deferred. Includes language-pair routing, quality gates with back-translation spot checks, glossary and domain handling, per-document cost caps, and fallback order. Inputs: source text, target language, domain, glossary terms, decision value, budget cap,","url":"https://k2so-8080.on.ascii.dev/api/services/agent-facing-translation-procurement-decision-pr?utm_source=zero.xyz","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","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Translation vendor selection and quality acceptance procedure for agents paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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_OIdsMNF7lCkbfj939vOXg","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":"Returns a machine-executable decision procedure telling an agent which translation rail to use (premium MT, frontier LLM, free API, or deferred) for a given translation job, including quality gates and cost controls.","exampleAgentPrompt":"I need to translate a legal contract from English to Japanese — can you run the translation vendor decision procedure to tell me whether to use premium MT like DeepL, a frontier LLM, or the free API, given my $0.50 per-document budget cap and the legal domain glossary terms I have?","exampleUseCases":[{"title":"Legal document translation routing","prompt":"I have a 5,000-word legal contract that needs to go from English to German. My budget cap is $1.00 per document and I have a list of firm-specific glossary terms. Run the translation vendor decision procedure and tell me whether to use premium MT, an LLM, or the free tier."},{"title":"High-volume marketing localization cost control","prompt":"We're localizing 200 marketing emails from English into Spanish, French, and Portuguese. The decision value is low since these are promotional, and the budget cap per document is $0.05. Which translation rail should my agent use, and what quality gates apply?"},{"title":"Medical domain translation with strict terminology","prompt":"I need to translate a patient-facing medical brochure from English to Mandarin. The domain is medical, I have a glossary of clinical terms that must be preserved exactly, and quality is critical — run the vendor selection procedure to tell me whether to pay for frontier LLM translation or if premium MT passes the back-translation quality gate."}],"resultDescription":"A decision procedure document (prose and structured data) specifying: the recommended translation vendor rail (premium MT, frontier LLM, free API, or deferred), language-pair routing rationale, quality gate criteria including back-translation spot check instructions, glossary and domain handling guidance, per-document cost cap enforcement rules, and a prioritized fallback order for the given translation job.","failureModes":["Invalid or unsupported language pair returns no viable vendor recommendation","Budget cap too low for any available rail triggers deferred verdict","Missing required payment (x402) returns 402 Payment Required before delivering procedure","LLM generation failure returns generationSource error with no procedure content","Unknown domain or glossary format may produce generic rather than domain-specific routing"],"whenToPreferThis":"Use this endpoint when your agent needs a policy-driven, auditable decision on which translation vendor to invoke — especially when cost caps, domain-specific glossaries, quality gates, and fallback ordering all need to be respected in a single call. Prefer this over hard-coding vendor logic when you need back-translation spot-check guidance, language-pair-aware routing, or multi-rail fallback behavior baked into one executable procedure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:47:36.538Z","isFirstParty":false,"canonicalSlug":"translation-vendor-selection-and-quality-acceptance-decision-procedure-f4366449"}