Quickstart

Get your first security verdict in under 5 minutes.

1. Create an account

Sign up with Google or magic link. Complete the short onboarding to receive your development API key.

2. Make your first request

Send a POST request to the Prompt Injection Shield endpoint:

cURL

curl -X POST "https://www.identicapi.com/api/v1/security/prompt-injection" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Hello, analyze this prompt for injection attempts."
}'

JavaScript

const response = await fetch("https://www.identicapi.com/api/v1/security/prompt-injection", {
  method: "POST",
  headers: {
    "Authorization": "Bearer process.env.IDENTICAPI_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "text": "Hello, analyze this prompt for injection attempts."
  })
});

const data = await response.json();
console.log(data);

3. Understand the response

{
  "request_id": "req_abc123",
  "api": "prompt-injection-shield",
  "verdict": "safe",
  "risk": "low",
  "confidence": 0.9,
  "findings": [],
  "reasons": ["No injection patterns detected"],
  "usage_units": 1,
  "processing_time_ms": 12,
  "detector_version": "1.0.0"
}

Next steps