{"mode":"preview","message":"This endpoint is POST-only with payment. The example_response below shows what a successful POST returns.","example_response":{"pqs_version":"2.0","original_prompt":"Explain PQS scoring in one sentence to an AI agent operator.","vertical":"general","baseline_score":{"total":46,"out_of":80,"grade":"C","percentile":58,"dimensions":{"clarity":7,"specificity":6,"context":6,"constraints":5,"output_format":7,"role_definition":5,"examples":4,"cot_structure":6,"total":46}},"variants":[{"prompt":"You are an AI-agent product manager. In one sentence (max 25 words), explain PQS scoring to a technical buyer who evaluates x402 APIs. Focus on: what it measures, when it runs (pre-inference), and why the buyer should care.","style":"role-framed","score":{"total":68,"out_of":80,"grade":"A","percentile":85,"dimensions":{"clarity":9,"specificity":9,"context":8,"constraints":9,"output_format":9,"role_definition":8,"examples":8,"cot_structure":8,"total":68}},"delta_vs_baseline":22},{"prompt":"Write a one-sentence pitch of PQS scoring for an AI agent operator. Format: 'PQS scores [what] on [N] dimensions so [agent] can [action] before [event].'","style":"structured","score":{"total":62,"out_of":80,"grade":"B","percentile":75,"dimensions":{"clarity":9,"specificity":8,"context":7,"constraints":8,"output_format":9,"role_definition":6,"examples":8,"cot_structure":7,"total":62}},"delta_vs_baseline":16},{"prompt":"Example output: 'PQS scores any LLM prompt on 8 dimensions pre-inference so AI-agent buyers can reject low-quality inputs before paying for a run.' Now write a similar one-sentence pitch for an agent operator.","style":"example-led","score":{"total":58,"out_of":80,"grade":"B","percentile":70,"dimensions":{"clarity":8,"specificity":7,"context":7,"constraints":6,"output_format":7,"role_definition":5,"examples":10,"cot_structure":8,"total":58}},"delta_vs_baseline":12}],"best_variant_index":0,"powered_by":"PQS - promptqualityscore.com"},"upgrade":"POST /api/variants with x402 payment ($0.10 USDC on Base) and body { prompt, vertical?, count? } to receive N ranked prompt variants (1-5) scored on the 8-dimension rubric. Or use Authorization: Bearer PQS_... with an API key from promptqualityscore.com/api-key.","try_free":"POST /api/score/free with body { prompt, vertical } for unauthenticated 5/min real scoring.","powered_by":"PQS - promptqualityscore.com"}