Skip to main content

Authentication

MethodPathDescription
POST/auth/loginLogin with email and password
POST/auth/signupCreate a new account
GET/auth/verifyVerify token validity
GET/auth/meGet current user
POST/auth/refreshRefresh access token
POST/auth/logoutLogout and invalidate token
GET/auth/googleInitiate Google OAuth
GET/auth/githubInitiate GitHub OAuth
POST/auth/exchange-codeExchange OAuth code for token
POST/auth/forgot-passwordRequest password reset
POST/auth/reset-passwordReset password with token

Chat & AI

MethodPathDescription
POST/chat/streamStream AI chat responses (SSE)
POST/tools/resultSubmit tool execution result
GET/task/{task_id}/statusGet async task status

Schematic

MethodPathDescription
POST/schematic/versionSave a schematic version
GET/schematic/versionsList schematic versions
GET/schematic/version/{id}Get a specific version
POST/schematic/restoreRestore a version

PCB

MethodPathDescription
POST/pcb/autorouteAutoroute PCB via Freerouting (SSE)

Downloads

MethodPathDescription
GET/downloads/publicGet signed download URL
GET/downloads/versionsList available versions
GET/downloads/channelsList release channels
GET/downloads/check-updateCheck for updates

Payments

MethodPathDescription
POST/payments/checkoutCreate Stripe checkout session
GET/payments/billing-portalGet billing portal URL
GET/payments/subscriptionGet subscription details
POST/payments/cancelCancel subscription
POST/payments/reactivateReactivate subscription
POST/payments/webhookStripe webhook handler

User

MethodPathDescription
GET/user/profileGet user profile
PUT/user/profileUpdate user profile