Developer documentation
Build on your own knowledge
The Knowledge API returns cited passages from your own documents and conversations, ready to paste into whatever model you already use. This is the endpoint reference and the shape of a working integration.
Looking for how to use GPTree itself? That is Learn. Common questions are on the FAQ. Tokens and MCP sessions live in Account, on the Developer tab.
Reference
Integrating
-
Integration guide
The shape of a working sync: delivery identity, explicit deletion, background jobs, and reading the judgment on an answer.
-
Worked example
A full integration transcript with real requests and responses, including a refusal.
Reference clients
-
gptree_sync.py
Reference sync client. Standard library only.
-
mcp_session.py
A real MCP session over the wire.
-
claude_desktop_config.json
Laptop client configuration.
Everything on this page as one markdown file, for feeding to a model: /docs/all.md