Base URL
Authentication
All authenticated endpoints require a JWT Bearer token in the Authorization header:API Sections
Authentication
Login, signup, OAuth, and token management.
Chat & AI
Stream AI responses for circuit design assistance.
User
Profile, statistics, quota, and activity.
Schematic
Version control for schematic files.
PCB
PCB layout operations and autorouting.
Downloads
Download Trace application releases.
Quick Example
Rate Limiting
API responses include rate limit headers:| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests per window |
X-RateLimit-Remaining | Remaining requests in window |
X-RateLimit-Reset | Seconds until window resets |
Plan Restrictions
| Plan | Chat Modes | API Access |
|---|---|---|
| Free | Ask only | Read-only |
| Trial | Ask, Agent, Plan | Full |
| Pro | Ask, Agent, Plan | Full |
| Ultra | Ask, Agent, Plan | Full |
Error Responses
All errors follow a standard format:| Status Code | Description |
|---|---|
| 400 | Bad request |
| 401 | Unauthorized |
| 402 | Quota exceeded |
| 403 | Forbidden (plan limit) |
| 404 | Not found |
| 429 | Rate limit exceeded |
| 500 | Internal server error |

