Skip to content
Navigation
View as Markdown

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/v1

Quickstart

  1. Create an API key in the ThinkBench app under Settings → API keys, and export it as THINKBENCH_API_KEY.
  2. List the drives you can access:
curl "https://app.thinkbench.com/api/v1/drives" \
  -H "x-api-key: $THINKBENCH_API_KEY"
  1. Read a document as Markdown — the same operation via the CLI:
npx thinkbench documents read --document-id "<documentId>" --pick markdown

See 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 .md to any page URL for its Markdown source, e.g. /api/documents/read.md.
  • Request any page with an Accept: text/markdown header to get Markdown back without changing the URL.
  • /llms.txt is a Markdown index of every page; /llms-full.txt is the entire site in one document.
  • Every page has a Copy as Markdown button.