How-to guides

Where to find the Knowledge API documentation

The endpoint reference, the integration guide and a full worked example are published at /docs, along with a single-file version you can hand to a model.

The Knowledge API has its own documentation, separate from these guides, at gp-tree.com/docs.

Which one you want

These articles cover using GPTree as a product: the account, the workflows, what each feature is for. The developer documentation covers calling GPTree from your own code.

If you are writing a script, wiring up a sync, or pointing an assistant at your documents, you want the developer documentation.

What is there

The Knowledge API reference is the complete surface: every endpoint, the fields each one takes, the shape of what comes back, status codes, rate limits, and which plans include what. It also covers the two scope vocabularies, which is the thing that most often trips people up when they set up MCP.

The integration guide is the shape of a working sync rather than a list of endpoints. It covers the four things a sync has to get right: sending a delivery key on every write, deleting explicitly rather than by omission, handling the queue for large documents, and reading the judgment on an answer instead of only the answer.

The worked example is a full transcript with real requests and real responses, including a refusal. It is generated from the live API and re-checked whenever the tests run, so it cannot drift away from what the endpoints actually return.

Reference clients are working code: a sync client and an MCP session script, both standard library only.

Reading it with a model

Every page has a plain markdown version at the same address with .md on the end, and there is a single file containing all of it at gp-tree.com/docs/all.md.

That last one exists because the common case is feeding the documentation to an assistant rather than reading it. One file, no navigation, the reference clients included.

Before you start

You need a token, which you create in Account on the Developer tab. How to create one covers the permissions and how long to make it last.

Related reading