{"uid":"cap_nYEQ7EUmViz_VhP-0xV9x","slug":"signalharness-prompt-variable-validator-48cae78a","name":"SignalHarness Prompt Variable Validator","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_variable_validate/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_variable_validate","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_variable_validate","executionId":"example-execution","startedAtMs":0,"amountAtomic":"5000","resultSha256":"3e533a77fdc2c5ba8fb607e27963497fbbe5bccc045778e1f483b77bc33665c2","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_CkA746CCqQBoWL70mjr16","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":"Validates the variables and structure within a prompt template JSON payload, returning warnings and analysis about the supplied data","exampleAgentPrompt":"Can you validate this prompt template JSON to make sure the variables are correct before I use it in my agent pipeline? Here's the JSON: {\"template\": \"Hello {{name}}, your order {{order_id}} is ready.\", \"variables\": {\"name\": \"string\", \"order_id\": \"string\"}}","exampleUseCases":[{"title":"Pre-flight prompt template check","prompt":"Before I send this prompt template to my LLM pipeline, can you validate the variable definitions in this JSON to catch any issues: {\"template\": \"Draft an email to {{recipient}} about {{topic}} in a {{tone}} tone.\", \"variables\": {\"recipient\": \"string\", \"topic\": \"string\", \"tone\": \"formal\"}}?"},{"title":"Agent workflow prompt validation","prompt":"I'm building an agent that fills in prompt templates dynamically — can you run a validation check on this variable JSON to make sure there are no warnings or structural problems before I deploy it: {\"variables\": [{\"name\": \"company\", \"type\": \"string\"}, {\"name\": \"deadline\", \"type\": \"date\"}]}?"},{"title":"Debugging malformed prompt variables","prompt":"Something seems off with my prompt variable JSON and I'm not sure what's wrong — can you analyze and validate this to tell me what warnings or issues come up: {\"template\": \"Summarize {{content}} in {{word_count}} words.\", \"variables\": {\"content\": null, \"word_count\": \"fifty\"}}?"}],"resultDescription":"Returns a JSON object with a status field ('succeeded'), a result containing analysis_json with the validation findings, any warnings about the caller-supplied data, the service_id, and an evidence_scope indicating the data was caller-supplied. Also includes a receipt with payment details, request/execution IDs, network info, and a result SHA256 hash.","failureModes":["Malformed or non-JSON request_json input returns a validation error","Payload exceeding 65536 characters is rejected","Missing required request_json field causes a schema error","Network or payment settlement failure may result in no receipt","Ambiguous variable types may generate warnings rather than hard errors"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call validation step for prompt template variable JSON before using it in an agent pipeline. It's particularly useful in automated agent workflows where prompt templates are generated dynamically and need to be sanity-checked for structural correctness before incurring the cost of an LLM call. Prefer this over manual inspection or schema-only validators when you want structured warnings and analysis in a machine-readable format at minimal cost ($0.005 USDC per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T07:03:15.875Z","isFirstParty":false}