Response Headers

Every response from the Prysm proxy includes headers that expose security scan results and rate limit information.

Security Scan Headers

HeaderExampleDescription
X-Prysm-Threat-Score0.12Input threat score (0.0-1.0). Higher = more suspicious.
X-Prysm-Threat-LevelcleanHuman-readable threat classification.
X-Prysm-Scan-ResultNo threats detectedSummary of the input scan.
X-Prysm-Scan-TierstandardWhich scanning tier was applied.
X-Prysm-Off-TopicfalseWhether the input was flagged as off-topic.
X-Prysm-Output-Threat-Score0.05Output threat score.
X-Prysm-Output-FlagsnoneComma-separated output scan flags.
X-Prysm-Output-Scan-ResultcleanSummary of the output scan.
X-Prysm-Entities-DetectedPERSON:2,ORG:1NER entities found in the output.
X-Prysm-ML-Toxicity-FlagsnoneML toxicity dimensions that exceeded threshold.
X-Prysm-Policy-ViolationsnoneOutput policy rules that were violated.

Rate Limit Headers

HeaderExampleDescription
X-RateLimit-Limit60Maximum requests allowed in the current window.
X-RateLimit-Remaining47Requests remaining in the current window.
X-RateLimit-Reset1709654400Unix timestamp when the rate limit window resets.
Retry-After30Seconds to wait before retrying (only on 429 responses).

Tip: Use X-RateLimit-Remaining to implement proactive throttling. When it drops below 10, start adding delays between requests.