Detects whether the input text contains prompt injection.
POST /prompt-injection-dectector/
Base URL: https://rai-prod.studio.lyzr.ai
Detects whether the input text contains a prompt injection attack.
API Key (x-api-key
) in the header.
Field | Type | Description |
---|---|---|
input_text | string | Text input to analyze |
agent_id | string | Unique agent identifier |
session_id | string | Unique session identifier |
run_id | string | Optional run identifier |
Successful Response
The response is of type object
.
Detects whether the input text contains prompt injection.
POST /prompt-injection-dectector/
Base URL: https://rai-prod.studio.lyzr.ai
Detects whether the input text contains a prompt injection attack.
API Key (x-api-key
) in the header.
Field | Type | Description |
---|---|---|
input_text | string | Text input to analyze |
agent_id | string | Unique agent identifier |
session_id | string | Unique session identifier |
run_id | string | Optional run identifier |
Successful Response
The response is of type object
.