{"uid":"cap_yhodD9XsdvWKc12aM3FBR","slug":"pqs-prompt-quality-score-full-analysis-solana-x402-c8a7bc5d","name":"PQS: Prompt Quality Score – Full Analysis (Solana x402)","description":"Full PQS analysis (Solana x402)","url":"https://api.relai.fi/relay/1779373065272/api/score/full/sol","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.125","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.125/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.125","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.125","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_X-RS7Lau0Yd209_5nKXvQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.125","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes and scores a given prompt for quality across multiple dimensions, with payment via Solana x402 microtransaction","exampleAgentPrompt":"Can you run a full PQS prompt quality score on this prompt: 'Write a Python function that parses JSON and handles errors gracefully' — use the software vertical?","exampleUseCases":null,"resultDescription":"A full Prompt Quality Score (PQS) analysis object including a numeric quality score and detailed breakdown of how well the input prompt performs across quality dimensions relevant to the chosen vertical (e.g. software, content, research). The response reflects strengths and weaknesses of the prompt's structure, clarity, and specificity.","failureModes":["Empty or missing prompt returns 400 bad request","Prompt exceeding 10,000 characters rejected with validation error","Invalid vertical enum value returns schema validation error","Payment failure or insufficient Solana balance prevents access (x402 payment required)","Network or relay timeout if Solana payment confirmation is delayed","500 server error if scoring model is unavailable"],"whenToPreferThis":"Choose this endpoint when you need a structured, scored evaluation of a prompt before deploying it in production, fine-tuning workflows, or comparing prompt variants. It is particularly useful for prompt engineers, AI developers, and content creators who want objective quality metrics rather than subjective human review. The vertical parameter makes it more useful than generic readability tools when you need domain-specific scoring (e.g. software vs. education vs. crypto). Prefer this over ad hoc LLM self-evaluation when you need a consistent, repeatable score.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:34:12.518Z","isFirstParty":false}