Docs

API Endpoints

Complete reference for all Trace API endpoints.

Interactive Documentation Available

For the most up-to-date endpoint reference with request/response schemas and try-it-out functionality, visit the Swagger UI or ReDoc.

Authentication

MethodEndpointDescription
POST/auth/loginEmail/password login
POST/auth/signupCreate new account
GET/auth/verifyVerify token validity
GET/auth/userGet current user info
POST/auth/refreshRefresh access token
POST/auth/logoutInvalidate session
GET/auth/google/loginGoogle OAuth flow
GET/auth/github/loginGitHub OAuth flow
POST/auth/change-passwordChange password
POST/auth/forgot-passwordRequest password reset
POST/auth/reset-passwordReset password with token

Chat & AI

MethodEndpointDescription
POST/chat/streamStream AI responses for circuit design
POST/tools/resultSubmit tool execution results
GET/task/{task_id}/statusCheck async task status

Schematic

MethodEndpointDescription
POST/schematic/versionSave schematic version
POST/schematic/versionsList all versions
GET/schematic/version/{version_id}Get specific version
POST/schematic/restore/{version_id}Restore to version

PCB

MethodEndpointDescription
POST/pcb/autorouteAuto-route PCB traces

Downloads

MethodEndpointDescription
GET/downloads/publicGet public download links
GET/downloads/versionsList available versions
GET/downloads/channelsGet release channels
GET/downloads/statsDownload statistics

Payments

MethodEndpointDescription
GET/payments/plansList subscription plans
POST/payments/create-checkout-sessionCreate Stripe checkout
POST/payments/create-portal-sessionCreate billing portal
GET/payments/verify-sessionVerify checkout session
POST/payments/cancel-subscriptionCancel subscription
GET/payments/historyPayment history

User

MethodEndpointDescription
GET/user/statsUser statistics
GET/user/activityRecent activity