{"uid":"cap_ZYZ-2dR-1s2TLO4S_kU11","slug":"pqs-prompt-quality-score-f0c82486","name":"PQS: Prompt Quality Score","description":"Basic PQS prompt score (Solana x402)","url":"https://api.relai.fi/relay/1779373065272/api/score/sol?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{"type":"string","maxLength":10000,"minLength":1,"description":"Prompt to score"},"vertical":{"enum":["software","content","business","education","science","crypto","general","research"],"type":"string","default":"general"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7KDbguuygXv0_N0bnBtLR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scores a text prompt for quality across various verticals, returning a numeric quality assessment","exampleAgentPrompt":"Can you give me a PQS prompt quality score for this prompt: 'Write a detailed technical specification for a REST API authentication system with OAuth2' — use the software vertical?","exampleUseCases":null,"resultDescription":"A numeric quality score (Prompt Quality Score / PQS) evaluating the submitted prompt, indicating how well-formed and effective the prompt is for the specified vertical domain.","failureModes":["Empty or missing prompt returns validation error","Prompt exceeds 10,000 character limit returns error","Invalid vertical enum value returns bad request","Payment failure via Solana x402 returns 402 Payment Required","Network timeout if Solana payment settlement is slow"],"whenToPreferThis":"Use this endpoint when you need to programmatically evaluate and score the quality of AI prompts before using them, especially when working in a specific domain like software, content, crypto, or research. Ideal for prompt engineering workflows where quality gating is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T06:53:07.513Z","isFirstParty":false,"canonicalSlug":"pqs-prompt-quality-score-f0c82486"}