Check the remaining prototype credits balance for your API key.
Authorization header.
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the request succeeded |
creditsRemaining | number | Number of prototype credits remaining for this API key |
| Endpoint | Cost | When Charged |
|---|---|---|
| Fast Spec | 10 credits | Immediately when request starts |
| Deep Spec | 50 credits | Immediately when request starts |
| Code | Meaning | Action |
|---|---|---|
| 200 | Success | Process the response |
| 400 | Bad Request | Check request parameters |
| 401 | Unauthorized | Verify API key is valid and active |
| 500 | Server Error | Contact support |
API key for authentication. Get your API key from https://pre.dev/projects/playground (Solo) or https://pre.dev/enterprise/dashboard?page=api (Enterprise). Use format: Bearer YOUR_API_KEY