Think Service overview
Run your application's business logic on the server, next to your project's data.
Think Service is the server-side layer of an application built on OpenThink Cloud. Each project has one service with its own base URL, https://openthink.app/api/svc/<project>/. You write it as a small HTTP microservice in the style of Hono; the data it works with is the tables of the project.
HTML pages, mobile apps, bots, external systems and AI agents all call the same API, so business rules live on the server and a client cannot bypass them.
What you can build
- HTTP routes with path parameters, middleware and per-route access levels: project members, any signed-in user, or the public.
- Schedules that run on a cron expression in the time zone you choose.
- Table-change handlers that run after rows are added, updated or deleted, whoever wrote them.
- Owned tables that can only be written through your service's routes.
How it works
- You write one JavaScript module that exports a
Service. There is nothing to install: thethinkmodule is built in. - Each deploy creates an immutable version. If the code fails to build, nothing is deployed and the running version keeps serving.
- You can deploy a version as a preview, call it with real data, then promote it. Rolling back points the service at an earlier version without rebuilding.
- Every call is logged with a request ID, and metrics (calls, error rate, latency and CPU percentiles) are available per route and version.
Where to manage it
- Over MCP, with the
buildtool: deploy, preview, promote, roll back, call a route and read logs. - In OpenThink: Space ⋯ → Integrations → Service.
- Over REST:
PUT /api/spaces/<project>/servicedeploys,POST …/service/rollbackrolls back,POST …/service/callcalls a route by name. - In console.openthink.app: a read-only view of the service and its call log per project.