Inspect a user prompt before it reaches the LLM.
Documentation Index
Fetch the complete documentation index at: https://docs.protectorplus.cloudsine.tech/llms.txt
Use this file to discover all available pages before exploring further.
input-check evaluates a user prompt before it is sent to an LLM. Returns a verdict and per-guardrail scores.
X-API-Key: <YOUR_API_KEY> — see Authentication.
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | The user input to inspect. |
| Field | Description |
|---|---|
injection_detected | true if any active guardrail flagged the input. |
execution_time | Total processing time in seconds. |
checks.<guardrail>.enabled | Whether this guardrail is active for the security profile. |
checks.llm.score | LLM-classifier confidence score 0–1 (≥ threshold = injection). Threshold is configured per security profile. |
checks.keyword.matched | List of matched keywords. |
checks.regex.matched | List of matched regex patterns. |
checks.pii.entities | List of detected PII entity types. |
checks.vector.score | Cosine similarity to known injection embeddings. |