{"service_id":"foundry_outcome_router","job":"I need outcome X under constraints Y. Foundry quotes immediately onto an already-live x402 rail at that rail's unchanged price. Pay that rail, then retry with the quoted body.","select_when":"Use this when you do not already know which zFinia utility to call. A quote for a live owned capability sends you to that existing x402 resource at its unchanged price. Batches are sequential pays on those same live rails.","do_not_use_when":"You already know you only need the US$0.001 contrast calculator, or you need Foundry to fetch a live URL.","unpaid_quote":{"method":"POST","path":"/v1/router/quote","payment":false},"accepted_aliases":{"objective":["goal","task","outcome","query"],"inputs":"Well-known capability fields sent at the top level (foreground/background, source_fields/target_fields, html/source_url, cursor/since, and related keys) are folded into inputs. Canonical payloads still use objective plus inputs."},"paid_execute":{"method":"POST","path":"quoted execute_route on an already-live resource","unpaid":402,"price_atomic":"quoted from the live resource; existing prices unchanged","network":"eip155:8453","asset":"USDC","scheme":"exact","pay_to":"0x25e8245f07d5e4873987293dad666afbe56a9608","use_when":"Always pay the quoted live rail. The optional composite SKU at /x402/v1/outcome-router is not live unless FOUNDRY_ROUTER_COMPOSITE_SKU=true."},"reuse_existing_rails":{"rule":"POST /v1/router/quote prefers an already-live owned x402 resource at that resource's unchanged price and native body. It does not change existing product prices or payTo.","existing_live_resources":[{"capability":"accessibility_contrast_calculator","route":"/x402/v1/accessibility-contrast-calculator","price_atomic":"1000","when":"one caller-supplied colour pair"},{"capability":"data_compatibility_checker","route":"/x402/v1/data-compatibility-checker","price_atomic":"3000","when":"one field-contract pair"},{"capability":"public_catalog_offer_evidence","route":"/x402/v1/catalog-offer-evidence-extractor","price_atomic":"100000","when":"caller-supplied Product JSON-LD HTML"},{"capability":"machine_economy_changes_since","route":"/v1/intelligence/changes-since","price_atomic":"10000","when":"one cursor/since request"}]},"input_schema":{"type":"object","additionalProperties":false,"required":["objective"],"properties":{"objective":{"type":"string","minLength":1,"maxLength":2000,"description":"Outcome the buyer needs. Foundry chooses the execution plan; do not describe supplier topology. goal, task, outcome, and query are accepted aliases. Well-known capability fields sent at the top level are folded into inputs. #RRGGBB pairs in the objective are used as contrast inputs when inputs.foreground/background are omitted."},"inputs":{"type":"object","additionalProperties":true,"description":"Caller-supplied facts required to produce the outcome. Do not send secrets or ask Foundry to fetch URLs."},"required_output":{"type":"object","additionalProperties":true,"description":"Optional desired output shape or fields."},"freshness":{"type":"string","enum":["any","cached_ok","current_public"]},"latency":{"type":"string","enum":["any","interactive","batch"]},"evidence":{"type":"string","enum":["any","deterministic","sourced"]},"max_price":{"type":"string","pattern":"^[1-9][0-9]{0,11}$","description":"Optional maximum USDC atomic units the buyer will pay."},"preferred_protocol":{"type":"string","enum":["any","x402","http-402","mcp"]},"buyer_metadata":{"type":"object","additionalProperties":true,"description":"Optional non-secret buyer hints. Secret-like keys are stripped and never persisted."}}},"output_schema":{"type":"object","additionalProperties":true,"required":["status","execution_id","outcome","result","evidence","economics","limitations"],"properties":{"status":{"type":"string"},"execution_id":{"type":"string"},"request_fingerprint":{"type":"string"},"outcome":{"type":"string"},"plan":{"type":"object"},"value_add":{"type":"object"},"result":{"type":"object"},"evidence":{"type":"object"},"economics":{"type":"object"},"latency_ms":{"type":"number"},"limitations":{"type":"array"}}},"example_input":{"objective":"Calculate WCAG 2.x sRGB contrast for this colour pair and return aa/aaa evidence.","inputs":{"foreground":"#000000","background":"#ffffff","large_text":false},"freshness":"any","latency":"interactive","evidence":"deterministic","preferred_protocol":"x402"},"example_output":{"status":"DELIVERED","execution_id":"00000000-0000-4000-8000-000000000001","request_fingerprint":"example-fingerprint","outcome":"Calculate WCAG 2.x sRGB contrast for this colour pair and return aa/aaa evidence.","plan":{"suppliers":["accessibility_contrast_calculator"],"expected_cogs_atomic":"0","expected_latency_ms":25,"expected_reliability":0.99},"value_add":{"operations":["intent_matching","schema_normalization","evidence_packaging"],"not_a_pure_proxy":true},"result":{"results":[{"capability_id":"accessibility_contrast_calculator","output":{"contrast_ratio":21,"wcag_aa":true,"wcag_aaa":true,"large_text":false,"limitations":["Calculation uses WCAG 2.x sRGB contrast; it does not assess full interface accessibility."]}}],"batch_size":1,"composed":false},"evidence":{"level":"deterministic_formula","provenance":"owned_deterministic_handlers","network_fetches":0,"model_calls":0,"supplier_payments":0,"output_sha256":"example-sha256","contradictions":[],"generated_at":"2026-09-10T00:00:00.000Z"},"economics":{"buyer_price_atomic":"50000","cogs_atomic":"0","contribution_atomic":"50000","margin":1,"supplier_spend_atomic":"0"},"latency_ms":1,"limitations":["Owned deterministic capabilities only in this router version.","No outbound URL fetch.","No seller-key refund rail; invalid requests are rejected before settlement.","Independent revenue is classified by the durable ledger, not by this handler."]},"supported_outcomes":["WCAG 2.x sRGB contrast for one or many caller-supplied colour pairs","structural field-contract compatibility, including small batches","caller-supplied Product JSON-LD offer evidence","NFT metadata URI syntactic normalization","machine-economy changes-since from a cursor","composed combinations of the above when inputs are present"],"not_supported":["outbound URL fetch, WHOIS, browsing, screenshots","wallet signing, seller-key refunds, MCP-as-payer","unallowlisted supplier payments","negative-contribution jobs"],"latency":"Quote is synchronous. Paid execution is owned-handler latency, typically well under one second excluding facilitator settlement.","reliability":"Fail closed on invalid or unsupported requests before settlement.","provenance":"Owned deterministic handlers. network_fetches=0.","how_to_pay":{"unpaid_post":402,"mcp_is_not_a_wallet":true,"unresolved_challenge_is_not_revenue":true},"endpoints":{"contract":"https://api.zfinia.com/v1/router","quote":"https://api.zfinia.com/v1/router/quote","execute":"https://api.zfinia.com/v1/router/quote then the quoted live execute_route"}}