Api Endpoint

PQS - A Quality Gate For Prompts

A Quality Gate For Prompts. Before they break production. Score any AI prompt against 8 dimensions, see what's weak, and get the fixed version in seconds.

Open interactive test console

Offering

Provider
promptqualityscore.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Security
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://promptqualityscore.com/api/fix-injection
MIME type
Not provided
First seen
2026-10-16T02:00:03.055Z
Last seen
Tags
AI, Utility

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.025 USDC
Atomic price: 25000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.025 USDC
Atomic price: 25000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "25000",
    "payTo": "0xb40a687ca5483ebc02f870348f6e08971cae1308"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "25000",
    "payTo": "0xB40a687ca5483Ebc02F870348f6e08971Cae1308"
  }
]

Observed health

Status
Healthy
Latest latency
93 ms
Average latency
268 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "http",
  "method": "POST",
  "bodyType": "json",
  "bodyFields": {
    "prompt": {
      "type": "string",
      "description": "Prompt to scan for injection"
    }
  },
  "discoverable": true
}

Output schema

{
  "type": "object",
  "required": [
    "pqs_version",
    "injection_detected",
    "injection_confidence",
    "sanitized_prompt"
  ],
  "properties": {
    "detector": {
      "enum": [
        "heuristic",
        "llm",
        "heuristic+llm"
      ],
      "type": "string",
      "description": "Which detection path produced the verdict"
    },
    "powered_by": {
      "type": "string"
    },
    "pqs_version": {
      "enum": [
        "2.0"
      ],
      "type": "string"
    },
    "matched_signals": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Short labels for the heuristics or LLM signals that fired"
    },
    "sanitized_prompt": {
      "type": "string",
      "description": "Prompt with injection-like fragments removed; equals original when nothing was detected"
    },
    "injection_pattern": {
      "enum": [
        "instruction_override",
        "role_hijack",
        "data_exfiltration",
        "delimiter_attack",
        "encoding_evasion",
        "jailbreak",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "injection_detected": {
      "type": "boolean"
    },
    "injection_confidence": {
      "type": "number",
      "maximum": 1,
      "minimum": 0
    }
  }
}