Base URL
All API requests should be made to:Authentication
Authenticate using an API key in theX-API-Key header:
Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/detect | Detect AI-generated content in an image |
POST | /v1/detect/url | Detect from an image URL |
GET | /v1/user/profile | Get authenticated user’s profile |
GET | /v1/models | List available models |
GET | /v1/config | Get customer configuration |
PUT | /v1/config | Update customer configuration |
Request Format
All POST requests should include:Content-Type: application/jsonheader- JSON body with required parameters
Response Format
All responses are JSON with this structure: Success (2xx)Error Codes
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_REQUEST | Malformed request body |
| 400 | INVALID_IMAGE | Image could not be processed |
| 401 | INVALID_API_KEY | Invalid or missing API key |
| 402 | INSUFFICIENT_CREDITS | Not enough credits |
| 404 | NOT_FOUND | Resource not found |
| 429 | RATE_LIMITED | Too many requests |
| 500 | INTERNAL_ERROR | Server error |
Rate Limits
| Plan | Rate | Burst |
|---|---|---|
| Free | 10/sec | 20 |
| Pro | 100/sec | 200 |
| Enterprise | Custom | Custom |
X-RateLimit-Limit- Requests allowed per secondX-RateLimit-Remaining- Requests remaining in current windowRetry-After- Seconds to wait (on 429 responses)