Skip to content

API Reference

The Mako API is a RESTful API built with Hono. All endpoints are prefixed with /api.

MethodEndpointDescription
POST/api/auth/loginLogin with email/password
POST/api/auth/registerCreate a new account
GET/api/auth/meGet current user session
POST/api/auth/logoutEnd session
MethodEndpointDescription
GET/api/workspacesList user workspaces
POST/api/workspacesCreate a workspace
GET/api/workspaces/:idGet workspace details
MethodEndpointDescription
GET/api/workspaces/:wid/connectorsList configured data sources
POST/api/workspaces/:wid/connectorsAdd a new data source
POST/api/workspaces/:wid/sync-jobsTrigger a sync job
GET/api/workspaces/:wid/sync-jobs/:jidGet sync job status
MethodEndpointDescription
POST/api/executeExecute a SQL/NoSQL query
POST/api/agentAsk the AI agent a question
MethodEndpointDescription
POST/api/inngestInngest webhook handler