Quick Start Guide

Get started with Proventra's prompt injection detection API in minutes

Get up and running with Proventra's prompt injection detection in just a few steps.

1. Get your API key

Create an API key in the dashboard after signing up.

2. Make a request

Send a POST request to our endpoint with your text to analyze.

curl -X POST https://api.proventra.com/api/v1/analyze \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "text": "Your text here",
    "sanitize": true
  }'

3. Handle the response

The API returns a JSON object with the analysis results.

{
  "unsafe": false,
  "sanitized": "Sanitized version of the input text"
}

Next Steps