API Endpoints
Complete reference for all Trace API endpoints.
Interactive Documentation AvailableFor the most up-to-date endpoint reference with request/response schemas and try-it-out functionality, visit the Swagger UI or ReDoc.
Authentication
| Method | Endpoint | Description |
|---|
| POST | /auth/login | Email/password login |
| POST | /auth/signup | Create new account |
| GET | /auth/verify | Verify token validity |
| GET | /auth/user | Get current user info |
| POST | /auth/refresh | Refresh access token |
| POST | /auth/logout | Invalidate session |
| GET | /auth/google/login | Google OAuth flow |
| GET | /auth/github/login | GitHub OAuth flow |
| POST | /auth/change-password | Change password |
| POST | /auth/forgot-password | Request password reset |
| POST | /auth/reset-password | Reset password with token |
Chat & AI
| Method | Endpoint | Description |
|---|
| POST | /chat/stream | Stream AI responses for circuit design |
| POST | /tools/result | Submit tool execution results |
| GET | /task/{task_id}/status | Check async task status |
Schematic
| Method | Endpoint | Description |
|---|
| POST | /schematic/version | Save schematic version |
| POST | /schematic/versions | List all versions |
| GET | /schematic/version/{version_id} | Get specific version |
| POST | /schematic/restore/{version_id} | Restore to version |
PCB
| Method | Endpoint | Description |
|---|
| POST | /pcb/autoroute | Auto-route PCB traces |
Downloads
| Method | Endpoint | Description |
|---|
| GET | /downloads/public | Get public download links |
| GET | /downloads/versions | List available versions |
| GET | /downloads/channels | Get release channels |
| GET | /downloads/stats | Download statistics |
Payments
| Method | Endpoint | Description |
|---|
| GET | /payments/plans | List subscription plans |
| POST | /payments/create-checkout-session | Create Stripe checkout |
| POST | /payments/create-portal-session | Create billing portal |
| GET | /payments/verify-session | Verify checkout session |
| POST | /payments/cancel-subscription | Cancel subscription |
| GET | /payments/history | Payment history |
User
| Method | Endpoint | Description |
|---|
| GET | /user/stats | User statistics |
| GET | /user/activity | Recent activity |