Skip to main content

Search documents

GET 

/api/search

Searches the titles and body text of every document the caller can access (created by them, shared with them, or in one of their workspaces) and returns up to 50 matches, best first. Each whitespace-separated word in q matches as a word prefix, and all words must match. Each hit is the document plus the caller's accessLevel, the name and type of its workspace, and a context snippet of the body with the matched text marked by the control characters U+0001 and U+0002. Body text is indexed when the editor saves, so very recent edits may not be found yet. Any signed-in user may search; guests cannot.

Request​

Responses​

Up to 50 matches.