{"uid":"cap_0DoKZBaDcME2bmDpSJ3dZ","slug":"signalharness-prompt-output-contract-extractor-7003008f","name":"SignalHarness Prompt Output Contract Extractor","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/prompt_output_contract_extract/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request_json":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Verify the caller-supplied data before relying on this result."],"service_id":"prompt_output_contract_extract","analysis_json":"{\"example\":\"schema-valid caller-supplied data\"}","evidence_scope":"caller_supplied_data"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"prompt_output_contract_extract","executionId":"example-execution","startedAtMs":0,"amountAtomic":"5000","resultSha256":"7af4cc5f7368220a143b1ff501065116b4277d0af8c9535abfc00c88bf134b63","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7GLB1PKtn5Mg0rCHt0mDu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured output contracts (schemas, constraints, and response formats) from prompt/request JSON submitted by the caller","exampleAgentPrompt":"Analyze this request JSON and extract the output contract it defines — pull out any schema constraints, expected response formats, and output structure: {\"prompt\": \"Summarize this article and return a JSON with fields title, summary, and sentiment\", \"format\": \"json\"}","exampleUseCases":[{"title":"Validate LLM prompt output schema","prompt":"I have this prompt JSON that I'm sending to an LLM and I need to know exactly what output contract it's specifying — can you extract the expected response structure and any constraints from it?"},{"title":"Audit agent request contracts","prompt":"Here's a JSON request payload from one of my agents: extract what output format and schema it's expecting so I can verify it matches what the downstream tool actually returns."},{"title":"Document API prompt contracts","prompt":"I'm building documentation for my prompt library — take this request JSON and extract the output contract it defines so I can generate schema docs automatically."}],"resultDescription":"Returns an analysis_json field containing the extracted output contract (schema, constraints, expected format) derived from the submitted request_json, along with a warnings array noting that caller-supplied data should be verified, and an evidence_scope field indicating the data source was caller-supplied. Includes a full cryptographic receipt with payment details on Base network.","failureModes":["Malformed or invalid JSON in request_json returns a parsing error","request_json below 2 characters or above 65536 characters is rejected by schema validation","Ambiguous or underspecified prompts may yield low-confidence extractions with warnings","Payment failure on Base network prevents execution","No output contract detectable in the submitted JSON returns minimal or empty analysis_json"],"whenToPreferThis":"Choose this endpoint when you need to programmatically extract the implicit or explicit output contract (expected response schema, format constraints, field definitions) from a prompt or API request JSON. Best used when building agent pipelines, documentation tooling, or contract-validation layers that need to understand what structured output a given prompt demands. At $0.005 USDC per call it is cost-effective for high-volume prompt auditing workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:01:35.417Z","isFirstParty":false}