{"uid":"cap_nk-CMfq-riUSKgkivkgUc","slug":"pqs-prompt-quality-score-batch-scoring-a68b8df3","name":"PQS: Prompt Quality Score – Batch Scoring","description":"Batch PQS scoring (Solana x402)","url":"https://api.relai.fi/relay/1779373065272/api/score/batch/sol","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"prompts":{"type":"array","items":{"oneOf":[{"type":"string","maxLength":10000,"minLength":1},{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","maxLength":10000,"minLength":1},"vertical":{"enum":["software","content","business","education","science","crypto","general","research"],"type":"string"}}}]},"maxItems":10,"minItems":1,"description":"Array of 1-10 prompts. Each item is a string or {prompt, vertical} object."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iOoWRo7Bckv-w8T-8_Yvr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Score a batch of 1–10 prompts for quality using the PQS (Prompt Quality Score) API, optionally tagged by vertical, via Solana x402 payment.","exampleAgentPrompt":"Can you score the quality of these three prompts for me — 'Summarize this article in bullet points', 'Write me a poem', and 'Explain quantum entanglement to a 10-year-old' — treating them as general vertical prompts?","exampleUseCases":null,"resultDescription":"Returns PQS (Prompt Quality Score) ratings for each submitted prompt, indicating how well-formed and effective each prompt is likely to be for its intended purpose.","failureModes":["Empty prompts array or array exceeding 10 items returns validation error","Prompt text exceeding 10,000 characters rejected","Invalid vertical enum value causes schema validation failure","Payment failure on Solana x402 returns 402 Payment Required","Malformed request body returns 400 Bad Request","Service unavailable returns 500 or timeout"],"whenToPreferThis":"Use this endpoint when you need to evaluate and rank prompt quality for multiple prompts at once (up to 10), especially when you want domain-specific scoring by vertical (software, content, business, education, science, crypto, general, research). Prefer over single-prompt evaluation when processing batches to minimize cost and latency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:38:13.735Z","isFirstParty":false}