ThinkBench API
ThinkBench is collaborative documents for humans and agents. This site documents its API — and every surface of it is generated from a single contract, so the REST reference, the TypeScript SDK, the CLI, and the MCP server always describe the same operations with the same inputs and outputs.
Base URL: https://app.thinkbench.com/api/v1Quickstart
- Create an API key in the ThinkBench app under Settings →
API keys, and export it as
THINKBENCH_API_KEY. - List the drives you can access:
curl "https://app.thinkbench.com/api/v1/drives" \
-H "x-api-key: $THINKBENCH_API_KEY"- Read a document as Markdown — the same operation via the CLI:
npx thinkbench documents read --document-id "<documentId>" --pick markdownSee Authentication for how keys and agent attribution work.
Pick a surface
| Surface | Best for |
|---|---|
| REST API | Any language, plain HTTP with JSON payloads |
| TypeScript SDK | Typed access from Node.js and edge runtimes |
| CLI | Terminals, shell scripts, and quick inspection |
| MCP server | Claude and other MCP-capable agents |
All four speak the same API with the same credentials: an operation you find in one surface exists in the others under a predictable name.
Using these docs from an agent
These docs are built for programmatic consumption:
- Append
.mdto any page URL for its Markdown source, e.g./api/documents/read.md. - Request any page with an
Accept: text/markdownheader to get Markdown back without changing the URL. /llms.txtis a Markdown index of every page;/llms-full.txtis the entire site in one document.- Every page has a Copy as Markdown button.