{"uid":"cap_BXhorTBvyWbUgPvgIq2KL","slug":"pqs-batch-prompt-quality-score-8028185d","name":"PQS Batch Prompt Quality Score","description":"Batch PQS scoring. Score up to 10 prompts in a single call.","url":"https://api.relai.fi/relay/1779373065272/api/score/batch","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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_L8P48iVm0VP8oxR2YbAEv","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":"Scores up to 10 prompts in a single call for quality, returning a quality score for each prompt with optional vertical context.","exampleAgentPrompt":"Can you score the quality of these three prompts for me and tell me which is best — I want to use the 'software' vertical: 'Write a Python function to sort a list', 'Sort a list in Python', and 'Please write an efficient, well-commented Python function that sorts a list of integers in ascending order using a custom comparator'?","exampleUseCases":null,"resultDescription":"Returns a quality score for each submitted prompt, indicating how well-formed, clear, and effective each prompt is likely to be for its intended vertical.","failureModes":["More than 10 prompts submitted — returns validation error","Empty prompt string — minLength:1 violation","Invalid vertical enum value — schema validation error","Payment not provided or insufficient — 402 Payment Required","Network timeout on large prompt batch"],"whenToPreferThis":"Use this endpoint when you need to evaluate or compare the quality of multiple prompts (up to 10) in one call, especially when working with domain-specific verticals like software, content, business, or research. Prefer this over single-prompt scoring when batch efficiency matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:42:53.137Z","isFirstParty":false}