externalId. Unchanged content is free (hash match). Changed content replaces the document and is re-embedded.
Available on Pro and Business. Create keys in Settings → API. Only the server owner can create or revoke keys.
Authentication
Keys look likeska_ followed by hex. Thea shows the full key once, at creation. Store it in a secrets manager.
Base URL
api knowledge source. That source counts as one source against your plan limit, regardless of how many pages you push.
List pages
externalId, title, url, contentHash, chunkCount, and updatedAt for each page.
Upsert a page
The request body must be under 512 KB. Pushing the same
externalId with unchanged Markdown does not re-embed.
Thea redacts values that look like credentials before indexing a page. See Credentials in your docs.
Delete a page
externalId is URL-encoded if it contains reserved characters. Returns { "deleted": true, "externalId": "…" } or 404 if that id was never pushed.
Rate limits
Each key can make 120 reads and 30 writes per minute. Reads and writes have separate budgets, so a busy push never stops you reading your pages back.Errors
Errors return a JSON body:upgradeUrl is included only when upgrading the plan would help.
Related
- Knowledge sources
- Integrations — Notion and Zendesk, if you would rather connect a workspace than push pages