Docs
Docs / API reference

REST, and nothing else.36 endpoints across 8 groups.

Base URL https://api.foundry.mindaeon.com. Every response is JSON.

Authentication

Endpoints marked AUTH require a JWT access token. Send it as a bearer token:

Authorization: Bearer <access_token>

Authentication

/api/auth
MethodPathDescriptionAuth
POST/api/auth/registerCreate account
POST/api/auth/loginEmail/password login
POST/api/auth/refreshRefresh JWT tokens
GET/api/auth/meCurrent user profileYes
PUT/api/auth/profileUpdate profileYes
POST/api/auth/forgot-passwordSend reset email
POST/api/auth/reset-passwordReset with token
POST/api/auth/change-passwordChange passwordYes

OAuth

/api/auth
MethodPathDescriptionAuth
GET/api/auth/googleStart Google OAuth flow
GET/api/auth/google/callbackGoogle OAuth callback
GET/api/auth/githubStart GitHub OAuth flow
GET/api/auth/github/callbackGitHub OAuth callback

Projects

/api/projects
MethodPathDescriptionAuth
GET/api/projects/List all projectsYes
POST/api/projects/Create projectYes
GET/api/projects/:idGet projectYes
PUT/api/projects/:idUpdate projectYes
DELETE/api/projects/:idSoft-delete projectYes
GET/api/projects/:id/phases/:phaseGet phase dataYes
PUT/api/projects/:id/phases/:phaseSave phase dataYes

Pipeline

/api/pipeline
MethodPathDescriptionAuth
POST/api/pipeline/runRun a planning phaseYes
GET/api/pipeline/:projectId/:phaseGet phase resultsYes

Export

/api/export
MethodPathDescriptionAuth
POST/api/export/:projectId/htmlExport plan as HTMLYes
POST/api/export/:projectId/reactExport plan as React componentsYes

Files

/api/files
MethodPathDescriptionAuth
GET/api/files/:projectIdList filesYes
GET/api/files/:projectId/*Get file contentYes
PUT/api/files/:projectId/*Upload or write fileYes
DELETE/api/files/:projectId/*Delete fileYes
GET/api/files/:projectId/exportExport all as text bundleYes

Team

/api/team
MethodPathDescriptionAuth
GET/api/team/List membersYes
POST/api/team/inviteInvite member (admin)Yes
PUT/api/team/:memberId/roleChange role (admin)Yes
DELETE/api/team/:memberIdRemove member (admin)Yes

Billing

/api/stripe
MethodPathDescriptionAuth
GET/api/stripe/statusSubscription statusYes
POST/api/stripe/checkoutCreate checkout sessionYes
POST/api/stripe/portalOpen customer portalYes
GET/api/stripe/usageUsage metricsYes
Rate limits
Login
20 / min
Register
10 / min
Everything else
120 / min