{"uid":"cap_Z3MTbn_AXW_qmnzcb1Inh","slug":"signalharness-llm-response-structure-score-87ab3564","name":"SignalHarness LLM Response Structure Score","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/llm_response_structure_score/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":"llm_response_structure_score","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":"llm_response_structure_score","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"58e1cd6567595c674b09df570b3cdf6d71258b0841da5023f06fc333ce1d9df5","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5y_OH6lDKUdp2DEmr_uOG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scores and analyzes the structural quality of an LLM-generated JSON response against expected schema or format criteria","exampleAgentPrompt":"Can you score the structural quality of this LLM response JSON I got back — I want to know how well it conforms to the expected format: {\"answer\": \"Paris\", \"confidence\": 0.95, \"sources\": []}","exampleUseCases":[{"title":"QA pipeline for LLM output validation","prompt":"I'm running a pipeline where GPT-4 generates structured JSON responses — can you score the structure of this response to make sure it's properly formed before I pass it downstream: {\"intent\": \"book_flight\", \"entities\": {\"destination\": \"NYC\", \"date\": null}}"},{"title":"Agent output compliance checking","prompt":"My AI agent just returned this JSON and I'm not sure if it's structurally sound — can you analyze it and give me a structure score so I know whether to trust it: {\"action\": \"send_email\", \"to\": \"user@example.com\", \"body\": \"\"}"},{"title":"Benchmark LLM response formatting","prompt":"I'm comparing two language models on how well they format their outputs — here's the response from model A, can you give me a structure score for it: {\"summary\": \"The report covers Q1 2024.\", \"metrics\": [\"revenue\", \"churn\"], \"confidence\": 0.87}"}],"resultDescription":"Returns a JSON object containing a structure score analysis, warnings about data reliability (e.g. caller-supplied data caveats), an analysis_json field with the scored breakdown, evidence_scope indicating data provenance, plus a full execution receipt with payment details, request/execution IDs, result hash, latency, and settlement reference on the Base network.","failureModes":["Invalid or malformed JSON string in request_json field causes parsing failure","Input exceeds 65536 character limit returning validation error","Empty or minimal JSON (fewer than 2 characters) rejected by minLength constraint","Ambiguous structure with no clear schema reference may result in low-confidence or generic scoring","Payment failure or insufficient USDC balance prevents execution","Network issues on Base/eip155:8453 may cause settlement delays"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call structural quality check on LLM-generated JSON responses — particularly useful in agent pipelines where downstream systems depend on well-formed outputs. Prefer it over manual validation when you want a scored, evidence-backed assessment rather than a binary pass/fail. Best suited for agentic workflows running on Base USDC micropayment infrastructure where per-call billing is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:04:51.383Z","isFirstParty":false}