Think Store overview
The application database of OpenThink Cloud: one SQLite database per project.
Think Store gives every project its own SQLite database, running on a Cloudflare Durable Object. Each Database you create in a project is a real SQL table in that store, with typed columns, indexes, required and unique constraints, default values and relations to other Databases.
You read and write it from everywhere a project runs: the REST API, SQL from HTML pages, Think Service routes and MCP. The table keeps its row policies next to its data and Store enforces them on every read, write and SQL query, whoever calls it, so the same table policy applies to all of them. Think Authz only decides who can open the table.
Tables and Databases
| Table | Database | |
|---|---|---|
| Where rows live | JSON rows in OpenThink's shared database | A real SQL table in the project's Think Store |
| Indexes and constraints | No | Yes |
| Relations to other tables | No | Yes, between Databases of the same project |
| Default access | Follows the item's sharing | Closed: only the owner and editors, until a policy allows more |
| API | Same REST, SQL and MCP API | Same REST, SQL and MCP API |
Create a Database in a project with New → Database.
Ways to read and write
| From | How |
|---|---|
| Any program | The Data API at store.openthink.app/v1/projects/{project}/… with an API key |
| An HTML page | await think.executeSql(sql, params) |
| Think Service | store.get, list, insert, update, delete, sql, query |
| AI agents | MCP tools get_table, add_rows, update_row, delete_rows, query_tables |