{"version":"1.0","name":"API Acre workflow catalog","description":"Copyable client-side recipes built from API Acre x402 services. Each step requires separate buyer authorization; a lower-cost one-call alternative is identified when API Acre provides the complete outcome.","network":"eip155:8453","networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"asset":"USDC","paymentProtocol":"x402 v2 exact","buyerGuideUrl":"https://apiacre.com/buyers","count":15,"workflows":[{"id":"business-identity-screen","title":"Resolve a company, then screen its domain","description":"Select a public GLEIF legal-entity candidate before combining it with website, DNS, TLS, RDAP, and site-quality evidence for a broader business review.","documentationUrl":"https://apiacre.com/workflows/business-identity-screen","machineReadableUrl":"https://apiacre.com/workflows/business-identity-screen.json","totalPrice":"$0.11","totalAtomicUsdc":110000,"stepCount":2,"steps":[{"order":1,"service":"research.lei-entity-search","title":"GLEIF legal entity search","purpose":"Find and rank official public legal-entity records.","method":"POST","url":"https://apiacre.com/v1/research/lei-entity-search","price":"$0.01","documentationUrl":"https://apiacre.com/services/research.lei-entity-search","checkoutUrl":"https://apiacre.com/try/research.lei-entity-search","workflowStartUrl":"https://apiacre.com/workflows/business-identity-screen/start/1","sampleUrl":"https://apiacre.com/samples/research.lei-entity-search","inputTemplate":{"legal_name":"$registeredCompanyName","country_code":"$optionalCountryCode","max_results":3},"useOutput":"Select the intended candidate; a name match alone does not establish identity."},{"order":2,"service":"web.business-due-diligence","title":"Website and domain technical due diligence","purpose":"Combine the selected name with independent public domain evidence.","method":"POST","url":"https://apiacre.com/v1/web/business-due-diligence","price":"$0.1","documentationUrl":"https://apiacre.com/services/web.business-due-diligence","checkoutUrl":"https://apiacre.com/try/web.business-due-diligence","workflowStartUrl":"https://apiacre.com/workflows/business-identity-screen/start/2","sampleUrl":"https://apiacre.com/samples/web.business-due-diligence","inputTemplate":{"url":"$publicCompanyDomain","legal_name":"$step1.result.data.matches[0].legalName","country_code":"$step1.result.data.matches[0].legalAddress.country"},"useOutput":"Review technical flags and legal-entity limitations; the result does not prove domain ownership, identity, creditworthiness, or compliance."}],"singleCallAlternative":null},{"id":"business-sanctions-evidence","title":"Resolve a company, then check OFAC candidates","description":"Select an official GLEIF legal-entity candidate, then compare that legal name with current OFAC Entity records and aliases. The result is evidence for manual review, not a legal allow or block decision.","documentationUrl":"https://apiacre.com/workflows/business-sanctions-evidence","machineReadableUrl":"https://apiacre.com/workflows/business-sanctions-evidence.json","totalPrice":"$0.03","totalAtomicUsdc":30000,"stepCount":2,"steps":[{"order":1,"service":"research.lei-entity-search","title":"GLEIF legal entity search","purpose":"Find and rank official public legal-entity records.","method":"POST","url":"https://apiacre.com/v1/research/lei-entity-search","price":"$0.01","documentationUrl":"https://apiacre.com/services/research.lei-entity-search","checkoutUrl":"https://apiacre.com/try/research.lei-entity-search","workflowStartUrl":"https://apiacre.com/workflows/business-sanctions-evidence/start/1","sampleUrl":"https://apiacre.com/samples/research.lei-entity-search","inputTemplate":{"legal_name":"$registeredCompanyName","country_code":"$optionalCountryCode","max_results":3},"useOutput":"Select the intended candidate; a name match alone does not establish identity."},{"order":2,"service":"research.ofac-entity-search","title":"OFAC entity candidate evidence","purpose":"Compare the selected legal name with official OFAC Entity records.","method":"POST","url":"https://apiacre.com/v1/research/ofac-entity-search","price":"$0.02","documentationUrl":"https://apiacre.com/services/research.ofac-entity-search","checkoutUrl":"https://apiacre.com/try/research.ofac-entity-search","workflowStartUrl":"https://apiacre.com/workflows/business-sanctions-evidence/start/2","sampleUrl":"https://apiacre.com/samples/research.ofac-entity-search","inputTemplate":{"entity_name":"$step1.result.data.matches[0].legalName","minimum_score":85,"max_results":5,"include_weak_aliases":false},"useOutput":"Review every candidate against the current official record, program, and legal authority. Do not treat no candidate as compliance clearance."}],"singleCallAlternative":null},{"id":"csv-pii-contract","title":"Redact and contract a supplied CSV","description":"For CSV text up to 500,000 characters, decode a caller-supplied file, remove seven common personal-data pattern classes, profile only the redacted records, and infer a Draft 2020-12 JSON Schema. Pattern redaction supports review but is not a compliance guarantee.","documentationUrl":"https://apiacre.com/workflows/csv-pii-contract","machineReadableUrl":"https://apiacre.com/workflows/csv-pii-contract.json","totalPrice":"$0.07","totalAtomicUsdc":70000,"stepCount":4,"steps":[{"order":1,"service":"document.extract","title":"Document extraction","purpose":"Decode the CSV and retain source-size and SHA-256 evidence.","method":"POST","url":"https://apiacre.com/v1/document/extract","price":"$0.01","documentationUrl":"https://apiacre.com/services/document.extract","checkoutUrl":"https://apiacre.com/try/document.extract","workflowStartUrl":"https://apiacre.com/workflows/csv-pii-contract/start/1","sampleUrl":"https://apiacre.com/samples/document.extract","inputTemplate":{"filename":"$csvFilename","content_base64":"$contentBase64"},"useOutput":"Verify result.data.metadata.sha256, then pass result.data.text to the redaction step."},{"order":2,"service":"document.redact","title":"PII and personal-data redaction","purpose":"Replace common email, phone, validated IP, payment-card, IBAN, and US SSN patterns.","method":"POST","url":"https://apiacre.com/v1/document/redact","price":"$0.01","documentationUrl":"https://apiacre.com/services/document.redact","checkoutUrl":"https://apiacre.com/try/document.redact","workflowStartUrl":"https://apiacre.com/workflows/csv-pii-contract/start/2","sampleUrl":"https://apiacre.com/samples/document.redact","inputTemplate":{"text":"$step1.result.data.text","types":["email","phone","ipv4","ipv6","credit_card","ssn","iban"]},"useOutput":"Verify the input and output hashes, inspect result.data.counts and findings, then review result.data.text for false positives or missed sensitive values."},{"order":3,"service":"data.profile","title":"Dataset profile","purpose":"Profile fields, nulls, uniqueness, and observed types after redaction.","method":"POST","url":"https://apiacre.com/v1/data/profile","price":"$0.025","documentationUrl":"https://apiacre.com/services/data.profile","checkoutUrl":"https://apiacre.com/try/data.profile","workflowStartUrl":"https://apiacre.com/workflows/csv-pii-contract/start/3","sampleUrl":"https://apiacre.com/samples/data.profile","inputTemplate":{"content":"$step2.result.data.text","format":"csv"},"useOutput":"Use result.data.profile to assess the sanitized records."},{"order":4,"service":"data.schema","title":"JSON Schema generator","purpose":"Infer a reusable JSON Schema from the same redacted CSV records.","method":"POST","url":"https://apiacre.com/v1/data/schema","price":"$0.025","documentationUrl":"https://apiacre.com/services/data.schema","checkoutUrl":"https://apiacre.com/try/data.schema","workflowStartUrl":"https://apiacre.com/workflows/csv-pii-contract/start/4","sampleUrl":"https://apiacre.com/samples/data.schema","inputTemplate":{"content":"$step2.result.data.text","format":"csv","root_mode":"records"},"useOutput":"Persist result.data.schema as an observed contract; validate policy-required constraints separately."}],"singleCallAlternative":null},{"id":"portable-data-contract","title":"Convert structured data and enforce its contract","description":"Convert caller-supplied CSV, TSV, JSON, JSON Lines, or YAML into deterministic JSON, infer a Draft 2020-12 schema from the converted records, then validate a caller-supplied future JSON value against that contract.","documentationUrl":"https://apiacre.com/workflows/portable-data-contract","machineReadableUrl":"https://apiacre.com/workflows/portable-data-contract.json","totalPrice":"$0.04","totalAtomicUsdc":40000,"stepCount":3,"steps":[{"order":1,"service":"data.convert","title":"Data conversion","purpose":"Normalize the supplied structured data into deterministic JSON.","method":"POST","url":"https://apiacre.com/v1/data/convert","price":"$0.005","documentationUrl":"https://apiacre.com/services/data.convert","checkoutUrl":"https://apiacre.com/try/data.convert","workflowStartUrl":"https://apiacre.com/workflows/portable-data-contract/start/1","sampleUrl":"https://apiacre.com/samples/data.convert","inputTemplate":{"content":"$structuredData","format":"$sourceFormat","target_format":"json","root_mode":"records"},"useOutput":"Verify result.data.inputSha256 and outputSha256, then pass result.data.content to schema inference."},{"order":2,"service":"data.schema","title":"JSON Schema generator","purpose":"Infer a reusable contract from the converted JSON records.","method":"POST","url":"https://apiacre.com/v1/data/schema","price":"$0.025","documentationUrl":"https://apiacre.com/services/data.schema","checkoutUrl":"https://apiacre.com/try/data.schema","workflowStartUrl":"https://apiacre.com/workflows/portable-data-contract/start/2","sampleUrl":"https://apiacre.com/samples/data.schema","inputTemplate":{"content":"$step1.result.data.content","format":"json","root_mode":"records"},"useOutput":"Pass result.data.schema to the validation step."},{"order":3,"service":"data.schema-validate","title":"JSON Schema validation","purpose":"Validate a future caller-supplied JSON value against the inferred contract.","method":"POST","url":"https://apiacre.com/v1/data/schema-validate","price":"$0.01","documentationUrl":"https://apiacre.com/services/data.schema-validate","checkoutUrl":"https://apiacre.com/try/data.schema-validate","workflowStartUrl":"https://apiacre.com/workflows/portable-data-contract/start/3","sampleUrl":"https://apiacre.com/samples/data.schema-validate","inputTemplate":{"schema":"$step2.result.data.schema","instance":"$futureJsonValue","max_errors":25,"check_formats":true},"useOutput":"Require result.data.valid and inspect bounded JSON Pointer errors before accepting the future value."}],"singleCallAlternative":{"service":"data.contract","title":"Structured data contract","purpose":"Run the same deterministic normalization, Draft 2020-12 schema inference, and future-value validation in one request.","method":"POST","url":"https://apiacre.com/v1/data/contract","price":"$0.035","atomicUsdc":35000,"documentationUrl":"https://apiacre.com/services/data.contract","checkoutUrl":"https://apiacre.com/try/data.contract?from=workflowAlternative","sampleUrl":"https://apiacre.com/samples/data.contract","inputTemplate":{"content":"$structuredData","format":"$sourceFormat","root_mode":"records","instance":"$futureJsonValue","max_errors":25,"check_formats":true},"useOutput":"Verify the normalized input and output hashes, retain contract.schema, and require validation.valid before accepting the future value.","replacesStepCount":3,"authorizationCount":1,"authorizationsSaved":2,"savings":"$0.005","savingsAtomicUsdc":5000,"discountPercent":12.5}},{"id":"repair-json-contract","title":"Repair malformed JSON and enforce its contract","description":"Apply only explicit deterministic syntax repairs to caller-supplied JSON, infer a Draft 2020-12 schema from the valid result, then validate a future JSON value.","documentationUrl":"https://apiacre.com/workflows/repair-json-contract","machineReadableUrl":"https://apiacre.com/workflows/repair-json-contract.json","totalPrice":"$0.04","totalAtomicUsdc":40000,"stepCount":3,"steps":[{"order":1,"service":"data.json-repair","title":"Deterministic JSON repair","purpose":"Repair common syntax defects and retain transformation hashes.","method":"POST","url":"https://apiacre.com/v1/data/json-repair","price":"$0.005","documentationUrl":"https://apiacre.com/services/data.json-repair","checkoutUrl":"https://apiacre.com/try/data.json-repair","workflowStartUrl":"https://apiacre.com/workflows/repair-json-contract/start/1","sampleUrl":"https://apiacre.com/samples/data.json-repair","inputTemplate":{"content":"$malformedJson","repairs":["markdown_fence","comments","single_quoted_strings","unquoted_keys","python_literals","trailing_commas"]},"useOutput":"Continue only if result.data.valid is true; inspect appliedRepairs and retain the input and output hashes."},{"order":2,"service":"data.schema","title":"JSON Schema generator","purpose":"Infer a reusable contract from the repaired JSON value.","method":"POST","url":"https://apiacre.com/v1/data/schema","price":"$0.025","documentationUrl":"https://apiacre.com/services/data.schema","checkoutUrl":"https://apiacre.com/try/data.schema","workflowStartUrl":"https://apiacre.com/workflows/repair-json-contract/start/2","sampleUrl":"https://apiacre.com/samples/data.schema","inputTemplate":{"content":"$step1.result.data.content","format":"json","root_mode":"preserve"},"useOutput":"Pass result.data.schema to the validation step."},{"order":3,"service":"data.schema-validate","title":"JSON Schema validation","purpose":"Validate a future caller-supplied value against the inferred contract.","method":"POST","url":"https://apiacre.com/v1/data/schema-validate","price":"$0.01","documentationUrl":"https://apiacre.com/services/data.schema-validate","checkoutUrl":"https://apiacre.com/try/data.schema-validate","workflowStartUrl":"https://apiacre.com/workflows/repair-json-contract/start/3","sampleUrl":"https://apiacre.com/samples/data.schema-validate","inputTemplate":{"schema":"$step2.result.data.schema","instance":"$futureJsonValue","max_errors":25,"check_formats":true},"useOutput":"Require result.data.valid and inspect bounded JSON Pointer errors before accepting the future value."}],"singleCallAlternative":null},{"id":"evm-address-preflight","title":"Validate an EVM address before use","description":"Normalize a caller-supplied wallet or contract address, verify its checksum, and identify the zero address before another system stores or uses it.","documentationUrl":"https://apiacre.com/workflows/evm-address-preflight","machineReadableUrl":"https://apiacre.com/workflows/evm-address-preflight.json","totalPrice":"$0.002","totalAtomicUsdc":2000,"stepCount":1,"steps":[{"order":1,"service":"crypto.address-inspect","title":"EVM address inspection","purpose":"Validate and normalize the address.","method":"POST","url":"https://apiacre.com/v1/crypto/address-inspect","price":"$0.002","documentationUrl":"https://apiacre.com/services/crypto.address-inspect","checkoutUrl":"https://apiacre.com/try/crypto.address-inspect","workflowStartUrl":"https://apiacre.com/workflows/evm-address-preflight/start/1","sampleUrl":"https://apiacre.com/samples/crypto.address-inspect","inputTemplate":{"address":"$walletAddress"},"useOutput":"Require result.data.valid and reject result.data.isZero when appropriate."}],"singleCallAlternative":null},{"id":"base-address-evidence","title":"Build a Base address evidence pack","description":"Validate an EVM address, read its point-in-time Base account state, then retrieve recent official Circle USDC transfers over a bounded block range. The results are public-chain evidence, not proof of identity, ownership, authorization, solvency, or compliance.","documentationUrl":"https://apiacre.com/workflows/base-address-evidence","machineReadableUrl":"https://apiacre.com/workflows/base-address-evidence.json","totalPrice":"$0.01","totalAtomicUsdc":10000,"stepCount":3,"steps":[{"order":1,"service":"crypto.address-inspect","title":"EVM address inspection","purpose":"Validate, normalize, and checksum the supplied EVM address offline.","method":"POST","url":"https://apiacre.com/v1/crypto/address-inspect","price":"$0.002","documentationUrl":"https://apiacre.com/services/crypto.address-inspect","checkoutUrl":"https://apiacre.com/try/crypto.address-inspect","workflowStartUrl":"https://apiacre.com/workflows/base-address-evidence/start/1","sampleUrl":"https://apiacre.com/samples/crypto.address-inspect","inputTemplate":{"address":"$walletAddress"},"useOutput":"Stop unless result.data.valid is true, and reject result.data.isZero when the zero address is not explicitly intended."},{"order":2,"service":"crypto.base-account-status","title":"Base account status","purpose":"Read ETH balance, nonce, and contract-code evidence at one safe Base block.","method":"POST","url":"https://apiacre.com/v1/crypto/base-account-status","price":"$0.003","documentationUrl":"https://apiacre.com/services/crypto.base-account-status","checkoutUrl":"https://apiacre.com/try/crypto.base-account-status","workflowStartUrl":"https://apiacre.com/workflows/base-address-evidence/start/2","sampleUrl":"https://apiacre.com/samples/crypto.base-account-status","inputTemplate":{"address":"$step1.result.data.checksumAddress","block_tag":"safe"},"useOutput":"Review the resolved block and account fields as a point-in-time status; empty bytecode does not establish control or permanent account type."},{"order":3,"service":"crypto.base-usdc-transfers","title":"Base USDC transfer history","purpose":"Retrieve newest-first official Base USDC events over a bounded range.","method":"POST","url":"https://apiacre.com/v1/crypto/base-usdc-transfers","price":"$0.005","documentationUrl":"https://apiacre.com/services/crypto.base-usdc-transfers","checkoutUrl":"https://apiacre.com/try/crypto.base-usdc-transfers","workflowStartUrl":"https://apiacre.com/workflows/base-address-evidence/start/3","sampleUrl":"https://apiacre.com/samples/crypto.base-usdc-transfers","inputTemplate":{"address":"$step1.result.data.checksumAddress","lookback_blocks":2000,"direction":"any","limit":25,"block_tag":"safe"},"useOutput":"Treat result.data.transfers as bounded public event evidence only; the result is not complete history or proof of transfer purpose or authority."}],"singleCallAlternative":null},{"id":"web-metadata-contract","title":"Turn website metadata into a reusable schema","description":"Extract a public page's metadata, then infer a JSON Schema for the normalized result so downstream agents can validate future records.","documentationUrl":"https://apiacre.com/workflows/web-metadata-contract","machineReadableUrl":"https://apiacre.com/workflows/web-metadata-contract.json","totalPrice":"$0.027","totalAtomicUsdc":27000,"stepCount":2,"steps":[{"order":1,"service":"web.metadata","title":"Webpage metadata extraction","purpose":"Extract normalized title, description, canonical, and social metadata.","method":"POST","url":"https://apiacre.com/v1/web/metadata","price":"$0.002","documentationUrl":"https://apiacre.com/services/web.metadata","checkoutUrl":"https://apiacre.com/try/web.metadata","workflowStartUrl":"https://apiacre.com/workflows/web-metadata-contract/start/1","sampleUrl":"https://apiacre.com/samples/web.metadata","inputTemplate":{"url":"$publicUrl"},"useOutput":"Pass result.data to the next step as JSON text."},{"order":2,"service":"data.schema","title":"JSON Schema generator","purpose":"Infer a JSON Schema from the normalized metadata object.","method":"POST","url":"https://apiacre.com/v1/data/schema","price":"$0.025","documentationUrl":"https://apiacre.com/services/data.schema","checkoutUrl":"https://apiacre.com/try/data.schema","workflowStartUrl":"https://apiacre.com/workflows/web-metadata-contract/start/2","sampleUrl":"https://apiacre.com/samples/data.schema","inputTemplate":{"content":"$json(step1.result.data)","format":"json"},"useOutput":"Persist result.data.schema as the validation contract."}],"singleCallAlternative":null},{"id":"web-content-ingestion","title":"Extract clean webpage content with metadata","description":"Convert one public URL into clean Markdown and collect canonical, social, hreflang, feed, heading, and JSON-LD metadata for RAG ingestion, research, or content indexing. The two results come from separate bounded fetches and each call requires its own buyer authorization.","documentationUrl":"https://apiacre.com/workflows/web-content-ingestion","machineReadableUrl":"https://apiacre.com/workflows/web-content-ingestion.json","totalPrice":"$0.012","totalAtomicUsdc":12000,"stepCount":2,"steps":[{"order":1,"service":"web.extract","title":"Web content extraction","purpose":"Convert the public page into clean Markdown with bounded links, page signals, and fetch-specific provenance.","method":"POST","url":"https://apiacre.com/v1/web/extract","price":"$0.01","documentationUrl":"https://apiacre.com/services/web.extract","checkoutUrl":"https://apiacre.com/try/web.extract","workflowStartUrl":"https://apiacre.com/workflows/web-content-ingestion/start/1","sampleUrl":"https://apiacre.com/samples/web.extract","inputTemplate":{"url":"$publicUrl","output":"markdown"},"useOutput":"Store result.data.content with its requested and resolved URLs, response evidence, and content hashes as one bounded non-JavaScript fetch."},{"order":2,"service":"web.metadata","title":"Webpage metadata extraction","purpose":"Collect structured publisher metadata for the same public URL.","method":"POST","url":"https://apiacre.com/v1/web/metadata","price":"$0.002","documentationUrl":"https://apiacre.com/services/web.metadata","checkoutUrl":"https://apiacre.com/try/web.metadata","workflowStartUrl":"https://apiacre.com/workflows/web-content-ingestion/start/2","sampleUrl":"https://apiacre.com/samples/web.metadata","inputTemplate":{"url":"$publicUrl"},"useOutput":"Join canonical, social, heading, feed, and JSON-LD signals to the content only after comparing the independently fetched resolved URLs and response hashes. Publisher assertions do not verify identity or ownership."}],"singleCallAlternative":null},{"id":"website-domain-evidence","title":"Build a public website and domain evidence pack","description":"Collect publisher-asserted page metadata, then combine public DNS, TLS, RDAP, and focused mail-authentication records for the same site. Results are time-specific configuration evidence, not an identity, ownership, delivery, or safety verdict.","documentationUrl":"https://apiacre.com/workflows/website-domain-evidence","machineReadableUrl":"https://apiacre.com/workflows/website-domain-evidence.json","totalPrice":"$0.027","totalAtomicUsdc":27000,"stepCount":3,"steps":[{"order":1,"service":"web.metadata","title":"Webpage metadata extraction","purpose":"Extract canonical, social, heading, feed, and privacy-safe publisher-asserted Organization metadata.","method":"POST","url":"https://apiacre.com/v1/web/metadata","price":"$0.002","documentationUrl":"https://apiacre.com/services/web.metadata","checkoutUrl":"https://apiacre.com/try/web.metadata","workflowStartUrl":"https://apiacre.com/workflows/website-domain-evidence/start/1","sampleUrl":"https://apiacre.com/samples/web.metadata","inputTemplate":{"url":"$publicWebsiteUrl"},"useOutput":"Review redirect and content-hash provenance. Treat Organization fields as publisher assertions rather than verified identity evidence."},{"order":2,"service":"web.domain-intelligence","title":"Domain intelligence","purpose":"Collect bounded DNS, verified TLS, RDAP, DNSSEC, SPF, and DMARC evidence.","method":"POST","url":"https://apiacre.com/v1/web/domain-intelligence","price":"$0.02","documentationUrl":"https://apiacre.com/services/web.domain-intelligence","checkoutUrl":"https://apiacre.com/try/web.domain-intelligence","workflowStartUrl":"https://apiacre.com/workflows/website-domain-evidence/start/2","sampleUrl":"https://apiacre.com/samples/web.domain-intelligence","inputTemplate":{"url":"$publicWebsiteUrl"},"useOutput":"Use result.data.domain for the mail-policy step and review signals as time-specific technical evidence, not proof of ownership or safety."},{"order":3,"service":"web.email-auth","title":"Email authentication posture","purpose":"Inspect MX, SPF, DMARC, MTA-STS, TLS-RPT, BIMI, and any buyer-known DKIM selectors.","method":"POST","url":"https://apiacre.com/v1/web/email-auth","price":"$0.005","documentationUrl":"https://apiacre.com/services/web.email-auth","checkoutUrl":"https://apiacre.com/try/web.email-auth","workflowStartUrl":"https://apiacre.com/workflows/website-domain-evidence/start/3","sampleUrl":"https://apiacre.com/samples/web.email-auth","inputTemplate":{"domain":"$step2.result.data.domain","dkim_selectors":[]},"useOutput":"Review findings and record hashes as DNS configuration evidence. An empty DKIM list means no selectors were tested; the result does not prove delivery, sender identity, or message authenticity."}],"singleCallAlternative":null},{"id":"schema-quality-gate","title":"Infer and enforce a JSON data contract","description":"Infer a Draft 2020-12 contract from representative records, then validate a future JSON value with bounded, machine-readable error pointers.","documentationUrl":"https://apiacre.com/workflows/schema-quality-gate","machineReadableUrl":"https://apiacre.com/workflows/schema-quality-gate.json","totalPrice":"$0.035","totalAtomicUsdc":35000,"stepCount":2,"steps":[{"order":1,"service":"data.schema","title":"JSON Schema generator","purpose":"Infer a reusable schema from representative structured records.","method":"POST","url":"https://apiacre.com/v1/data/schema","price":"$0.025","documentationUrl":"https://apiacre.com/services/data.schema","checkoutUrl":"https://apiacre.com/try/data.schema","workflowStartUrl":"https://apiacre.com/workflows/schema-quality-gate/start/1","sampleUrl":"https://apiacre.com/samples/data.schema","inputTemplate":{"content":"$json($representativeRecords)","format":"json","root_mode":"records"},"useOutput":"Pass result.data.schema to the validation step."},{"order":2,"service":"data.schema-validate","title":"JSON Schema validation","purpose":"Validate a future JSON value against the inferred contract.","method":"POST","url":"https://apiacre.com/v1/data/schema-validate","price":"$0.01","documentationUrl":"https://apiacre.com/services/data.schema-validate","checkoutUrl":"https://apiacre.com/try/data.schema-validate","workflowStartUrl":"https://apiacre.com/workflows/schema-quality-gate/start/2","sampleUrl":"https://apiacre.com/samples/data.schema-validate","inputTemplate":{"schema":"$step1.result.data.schema","instance":"$futureJsonValue","max_errors":25,"check_formats":true},"useOutput":"Require result.data.valid and inspect result.data.errors when false."}],"singleCallAlternative":null},{"id":"code-metrics-contract","title":"Create a schema for code-quality telemetry","description":"Calculate deterministic code metrics, then infer a JSON Schema that consumers can use for build reports, dashboards, or regression history.","documentationUrl":"https://apiacre.com/workflows/code-metrics-contract","machineReadableUrl":"https://apiacre.com/workflows/code-metrics-contract.json","totalPrice":"$0.05","totalAtomicUsdc":50000,"stepCount":2,"steps":[{"order":1,"service":"developer.code-metrics","title":"Code metrics","purpose":"Measure lines, complexity, functions, and maintainability signals.","method":"POST","url":"https://apiacre.com/v1/developer/code-metrics","price":"$0.025","documentationUrl":"https://apiacre.com/services/developer.code-metrics","checkoutUrl":"https://apiacre.com/try/developer.code-metrics","workflowStartUrl":"https://apiacre.com/workflows/code-metrics-contract/start/1","sampleUrl":"https://apiacre.com/samples/developer.code-metrics","inputTemplate":{"code":"$sourceCode","language":"$language"},"useOutput":"Wrap result.data in an array and serialize it for the next step."},{"order":2,"service":"data.schema","title":"JSON Schema generator","purpose":"Infer a reusable schema for one or more metric records.","method":"POST","url":"https://apiacre.com/v1/data/schema","price":"$0.025","documentationUrl":"https://apiacre.com/services/data.schema","checkoutUrl":"https://apiacre.com/try/data.schema","workflowStartUrl":"https://apiacre.com/workflows/code-metrics-contract/start/2","sampleUrl":"https://apiacre.com/samples/data.schema","inputTemplate":{"content":"$json([step1.result.data])","format":"json"},"useOutput":"Use result.data.schema to validate future metric snapshots."}],"singleCallAlternative":null},{"id":"code-change-evidence","title":"Review a code change with structural and line evidence","description":"Review two caller-supplied source snapshots with deterministic static signals, then optionally inspect exact line additions, removals, and a bounded unified diff. For the complete recipe, each snapshot must be no more than 500,000 characters. Neither step executes code or accesses the network, and each step requires a separate buyer authorization.","documentationUrl":"https://apiacre.com/workflows/code-change-evidence","machineReadableUrl":"https://apiacre.com/workflows/code-change-evidence.json","totalPrice":"$0.06","totalAtomicUsdc":60000,"stepCount":2,"steps":[{"order":1,"service":"developer.code-change-review","title":"Code change review","purpose":"Compare syntax, complexity, function, and maintainability signals without executing either source snapshot.","method":"POST","url":"https://apiacre.com/v1/developer/code-change-review","price":"$0.05","documentationUrl":"https://apiacre.com/services/developer.code-change-review","checkoutUrl":"https://apiacre.com/try/developer.code-change-review","workflowStartUrl":"https://apiacre.com/workflows/code-change-evidence/start/1","sampleUrl":"https://apiacre.com/samples/developer.code-change-review","inputTemplate":{"before":"$beforeSource","after":"$afterSource","language":"$language","filename":"$filename"},"useOutput":"Inspect result.data.reviewDecision, findings, and functionChanges; continue only when exact line-level evidence is useful."},{"order":2,"service":"document.diff","title":"Document diff","purpose":"Calculate exact line additions, removals, and a bounded unified diff.","method":"POST","url":"https://apiacre.com/v1/document/diff","price":"$0.01","documentationUrl":"https://apiacre.com/services/document.diff","checkoutUrl":"https://apiacre.com/try/document.diff","workflowStartUrl":"https://apiacre.com/workflows/code-change-evidence/start/2","sampleUrl":"https://apiacre.com/samples/document.diff","inputTemplate":{"before":"$beforeSource","after":"$afterSource","context_lines":3},"useOutput":"Verify result.data.changed and the added/removed counts, then inspect result.data.diff as static caller-supplied evidence; it does not prove runtime correctness or safety."}],"singleCallAlternative":null},{"id":"openapi-test-quality-gate","title":"Generate and statically review OpenAPI tests","description":"Generate deterministic pytest smoke tests from a caller-supplied OpenAPI 3 document, then measure the generated Python source before retaining or running it. The workflow validates syntax and static quality signals; it does not execute tests or contact the target API.","documentationUrl":"https://apiacre.com/workflows/openapi-test-quality-gate","machineReadableUrl":"https://apiacre.com/workflows/openapi-test-quality-gate.json","totalPrice":"$0.125","totalAtomicUsdc":125000,"stepCount":2,"steps":[{"order":1,"service":"developer.openapi-test-generate","title":"OpenAPI pytest generator","purpose":"Generate bounded, mutation-guarded pytest and requests smoke tests.","method":"POST","url":"https://apiacre.com/v1/developer/openapi-test-generate","price":"$0.1","documentationUrl":"https://apiacre.com/services/developer.openapi-test-generate","checkoutUrl":"https://apiacre.com/try/developer.openapi-test-generate","workflowStartUrl":"https://apiacre.com/workflows/openapi-test-quality-gate/start/1","sampleUrl":"https://apiacre.com/samples/developer.openapi-test-generate","inputTemplate":{"document":"$openApiDocument","format":"$format","max_operations":50,"include_optional":false,"timeout_seconds":20},"useOutput":"Review result.data.operations, warnings, and source; generated mutating tests remain disabled unless the eventual runner explicitly enables them."},{"order":2,"service":"developer.code-metrics","title":"Code metrics","purpose":"Measure the generated Python module without executing or forwarding it.","method":"POST","url":"https://apiacre.com/v1/developer/code-metrics","price":"$0.025","documentationUrl":"https://apiacre.com/services/developer.code-metrics","checkoutUrl":"https://apiacre.com/try/developer.code-metrics","workflowStartUrl":"https://apiacre.com/workflows/openapi-test-quality-gate/start/2","sampleUrl":"https://apiacre.com/samples/developer.code-metrics","inputTemplate":{"code":"$step1.result.data.source","language":"python"},"useOutput":"Require result.data.source.sha256 to equal step 1's sourceSha256, require valid syntax, and inspect reviewSignals before retaining the module."}],"singleCallAlternative":null},{"id":"news-intelligence-contract","title":"Aggregate news into a reusable data contract","description":"Merge and deduplicate public RSS or Atom sources, then infer a JSON Schema that downstream agents can use to validate future news snapshots.","documentationUrl":"https://apiacre.com/workflows/news-intelligence-contract","machineReadableUrl":"https://apiacre.com/workflows/news-intelligence-contract.json","totalPrice":"$0.075","totalAtomicUsdc":75000,"stepCount":2,"steps":[{"order":1,"service":"research.news-aggregate","title":"Multi-feed news aggregation","purpose":"Fetch, filter, deduplicate, and time-order public feed entries.","method":"POST","url":"https://apiacre.com/v1/research/news-aggregate","price":"$0.05","documentationUrl":"https://apiacre.com/services/research.news-aggregate","checkoutUrl":"https://apiacre.com/try/research.news-aggregate","workflowStartUrl":"https://apiacre.com/workflows/news-intelligence-contract/start/1","sampleUrl":"https://apiacre.com/samples/research.news-aggregate","inputTemplate":{"feeds":["$publicFeedUrl1","$publicFeedUrl2"],"keywords":["$optionalKeyword"],"limit":50},"useOutput":"Pass result.data.entries to the next step as JSON text."},{"order":2,"service":"data.schema","title":"JSON Schema generator","purpose":"Infer a reusable schema for the normalized news records.","method":"POST","url":"https://apiacre.com/v1/data/schema","price":"$0.025","documentationUrl":"https://apiacre.com/services/data.schema","checkoutUrl":"https://apiacre.com/try/data.schema","workflowStartUrl":"https://apiacre.com/workflows/news-intelligence-contract/start/2","sampleUrl":"https://apiacre.com/samples/data.schema","inputTemplate":{"content":"$json(step1.result.data.entries)","format":"json"},"useOutput":"Use result.data.schema to validate future aggregation snapshots."}],"singleCallAlternative":null}]}