API Reference
All IdenticAPI v1 security endpoints accept JSON request bodies and return JSON responses. Authenticate with Authorization: Bearer YOUR_API_KEY.
Base URL
https://www.identicapi.comSecurity endpoints
| Method | Endpoint | Description | Usage units |
|---|---|---|---|
POST | /api/v1/guard | Unified Guard | 1 per check (max 4) |
POST | /api/v1/security/agent-action | Agent Action Guard | 1 |
POST | /api/v1/security/output-safety | AI Output Safety | 1 |
POST | /api/v1/security/pii-secrets | PII & Secrets Detection | 1 |
POST | /api/v1/security/prompt-injection | Prompt Injection Shield | 1 |
Common headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer token with your API key |
Content-Type | Yes | Must be application/json |
Common response fields
| Field | Description |
|---|---|
request_id | Unique identifier for the request |
api | Product identifier (e.g. prompt-injection-shield) |
verdict / decision | Assessment result — see individual endpoint docs |
risk | Severity level: low, medium, high |
findings | Array of detection results with category and reason |
usage_units | Units consumed by this request |
processing_time_ms | Server-side processing time in milliseconds |
detector_version | Detector engine version |