{"uid":"cap_sOS4rbwbF41BxKNZgagBD","slug":"policy-compile-b-x402-smart-contract-policy-generator-900ca49a","name":"Policy Compile B — x402 Smart-Contract Policy Generator","description":"Domain-agnostic x402 capability chassis by IntuiTek¹. 300 AI-callable data services — pay USDC on Base mainnet. No accounts or API keys required.","url":"https://the-stall.intuitek.ai/cap/policy-compile-b","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"],"type":"string"},"queryParams":{"type":"object","required":["route_class","job_description"],"properties":{"client_sig":{"type":"string","description":"Client's signature/attestation over the draft (any wallet-signature or nominal attestation string the two parties agree on off-chain). Required to receive anything beyond a preview draft."},"route_class":{"type":"string","description":"One of: ENTITY, CONTRACTOR, CODE, FINANCIAL, COMPOSITE"},"provider_sig":{"type":"string","description":"Provider's countersignature. Omit on the first call (draft-only, unsigned). Supply on a second call with the SAME route_class + job_description + client_sig to finalize the jointly-signed policy_hash."},"job_description":{"type":"string","description":"Plain-language description of the job to be delivered."}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BJySGyNQQEFBgOxaMOjT1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compiles a jointly-signed policy document for an AI-deliverable job given a route class and plain-language job description, progressing from unsigned draft to fully countersigned policy hash.","exampleAgentPrompt":"Compile a CODE route-class policy for a job described as 'build a REST API wrapper for a cryptocurrency price feed, deliverable within 5 days' — start with an unsigned draft first so I can review it before signing.","exampleUseCases":[{"title":"Draft contractor policy for AI agent","prompt":"I need a draft policy for an ENTITY route-class job — the job is 'provide customer support responses for 500 tickets per day via an AI agent'. Just give me the unsigned draft so I can review before committing."},{"title":"Finalize countersigned code-delivery policy","prompt":"I already got the unsigned draft and my client signature for the CODE route-class job 'develop a Python data pipeline for nightly ETL from Postgres to BigQuery' — now I want to finalize it with the provider countersignature to get the final policy hash."},{"title":"Create financial job policy between two parties","prompt":"Compile a FINANCIAL route-class policy for the job 'manage monthly payroll disbursements for a 20-person remote team via stablecoin transfers', include my client attestation so we can move past the preview stage."}],"resultDescription":"Returns either an unsigned preview policy draft (when no client_sig is provided) or, when client_sig is supplied, a signed policy document; on a second call with a matching provider_sig, returns the finalized jointly-signed policy_hash binding both parties to the described deliverable.","failureModes":["Missing required route_class or job_description returns a 400 validation error","Invalid or unrecognized route_class enum value causes rejection","Supplying a provider_sig on a first call (before client_sig is anchored) may produce an error or be ignored","Payment not received (x402 flow incomplete) results in a 402 Payment Required response","Mismatched route_class or job_description on the countersigning call causes hash mismatch and finalization failure"],"whenToPreferThis":"Choose this endpoint when you need a structured, on-chain-anchored policy document for an AI-deliverable job that requires mutual attestation from both client and provider — particularly when working across ENTITY, CONTRACTOR, CODE, FINANCIAL, or COMPOSITE job categories. Prefer it over generic document-generation tools when the workflow requires a two-step draft-then-countersign flow and the resulting policy_hash needs to be verifiable on Base mainnet.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:03:38.383Z","isFirstParty":false}