Submit a file for deepfake and AI-generation detection
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your API key |
Content-Type | Yes | multipart/form-data |
| Parameter | Type | Required | Description |
|---|---|---|---|
file | file | Yes | The file to analyze. Max size: 50MB |
file_type | string | No | Override auto-detection. Values: document, image, audio, video |
callback_url | string | No | HTTPS URL for webhook delivery of results when analysis completes |
external_id | string | No | Your internal reference ID for this analysis |
| Field | Type | Description |
|---|---|---|
id | string | Unique analysis identifier |
status | string | Always processing on creation |
file_name | string | Original filename |
file_type | string | Detected or specified file type |
external_id | string | Your external ID (if provided) |
created_at | string | ISO 8601 timestamp |
estimated_completion_seconds | number | Estimated processing time in seconds |
| Status | Description |
|---|---|
400 Bad Request | Missing file or invalid parameters |
401 Unauthorized | Missing or invalid API key |
413 Payload Too Large | File exceeds 50MB limit |
415 Unsupported Media Type | File type not supported |
429 Too Many Requests | Rate limit exceeded |