Production-grade API for AI security scanning at scale
Click "Scan Prompt" to test the API
/api/v1/scan Scan a single prompt for security vulnerabilities
curl -X POST /cyberseal6x/api/v1/scan \
-H "Content-Type: application/json" \
-H "X-API-Key: your_api_key" \
-d '{
"prompt": "Your prompt text here",
"metadata": {
"userId": "user123",
"sessionId": "session456"
}
}' {
"scanId": "scan_abc123",
"timestamp": "2026-02-20T12:00:00Z",
"riskScore": 85,
"riskLevel": "HIGH",
"threats": [
{
"type": "PROMPT_INJECTION",
"severity": "HIGH",
"confidence": 0.95,
"description": "Detected instruction override attempt"
}
],
"recommendation": "Block this prompt"
} /api/v1/scan/batch Submit multiple prompts for batch scanning
curl -X POST /cyberseal6x/api/v1/scan/batch \
-H "Content-Type: application/json" \
-H "X-API-Key: your_api_key" \
-d '{
"prompts": [
{
"id": "prompt1",
"text": "First prompt to scan"
},
{
"id": "prompt2",
"text": "Second prompt to scan"
}
]
}' {
"batchId": "batch_xyz789",
"status": "PROCESSING",
"totalPrompts": 2,
"estimatedCompletionTime": "2026-02-20T12:05:00Z",
"statusUrl": "/api/v1/scan/batch/batch_xyz789/results"
} /api/v1/scan/batch/:batchId/results Retrieve results for a batch scan
curl -X GET /cyberseal6x/api/v1/scan/batch/batch_xyz789/results \
-H "X-API-Key: your_api_key" {
"batchId": "batch_xyz789",
"status": "COMPLETED",
"results": [
{
"id": "prompt1",
"scanId": "scan_abc123",
"riskScore": 25,
"riskLevel": "LOW",
"threats": []
},
{
"id": "prompt2",
"scanId": "scan_def456",
"riskScore": 85,
"riskLevel": "HIGH",
"threats": [...]
}
]
} /api/v1/health Check API health and service status
{
"status": "operational",
"timestamp": "2026-02-20T12:00:00Z",
"version": "1.0.0"
} All API requests require an API key passed in the X-API-Key header.
X-API-Key: your_api_key_here Rate limit headers are included in all responses:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1645363200