Welcome to the Aurigin API
The Aurigin API provides powerful audio analysis capabilities for deepfake detection. Our REST API is designed for ease of use while providing enterprise-grade performance and reliability.Base URL
All API requests are made to:Authentication
All endpoints require authentication via API key in theX-Api-Key header:
Get your API key from the Aurigin Dashboard
Endpoints Overview
Prediction Endpoints
| Endpoint | File Size | Processing | Use Case |
|---|---|---|---|
/predict | < 5 MB | Synchronous | Quick analysis |
/predict/large-file | 5-100 MB | Synchronous | Medium files |
/file | 100 MB+ | Asynchronous | Large files |
Response Format
All successful API responses return JSON with a consistent structure:Key Fields
Unique identifier for tracking this prediction
Overall prediction with confidence score and classification result
Per-segment analysis for timeline-based insights
Model version used for the prediction
Error Handling
All errors return a consistent error response:Common Error Codes
| Code | Description |
|---|---|
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Resource doesn’t exist |
| 413 | Payload Too Large - File exceeds size limit |
| 422 | Unprocessable Entity - Invalid file format |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error - Server-side issue |
| 503 | Service Unavailable - Temporary unavailability |
Versioning
The API uses URL versioning. The current stable version isv1:
API versions are maintained for 6 months after deprecation. You’ll receive advance notice of any breaking changes.
Next Steps
1
Get API Key
Create an API key in the dashboard
2
Make First Request
Try the Quickstart guide to analyze your first audio file
3
Explore Endpoints
Browse the Prediction API documentation