User Document Search API
Platform-linkedPlatform-linked: the key’s login needs an API plan and a website plan with Files; ApiKey only. How this works.
Search PDFs, Office files, and other uploads in your account or organization library. Requires sign-in.
curl -X GET "https://example.com/v2/user/documents?size=2"{ "size": 2, "results": [], "count": 0}Query Parameters
Keyword search over uploaded file text. Omit to list recent uploads. Excerpts are returned only when this is set.
1 <= length <= 2000Inclusive start calendar date as YYYY-MM-DD or yyyyMMdd on upload day. See filed_at.
^[0-9]{8}$|^[0-9]{4}-[0-9]{2}-[0-9]{2}$Inclusive end calendar date as YYYY-MM-DD or yyyyMMdd on upload day. See filed_at.
^[0-9]{8}$|^[0-9]{4}-[0-9]{2}-[0-9]{2}$Uploaded file types (pdf, docx). Comma-separated on GET. Optional.
1 <= items <= 20Folder ids to search. Comma-separated on GET. Optional. Pass main for files in the root folder (no parent).
1 <= items <= 50score or date. Default score. Ignored when query is omitted (browse is always by date).
"score"Value in
- "score"
- "date"
asc or desc. Default desc.
"desc"Value in
- "asc"
- "desc"
Page size. Default 15. Maximum 30.
1 <= value <= 3015Excerpts per file when query is set. Default 5. Maximum 20.
1 <= value <= 205Cursor from the previous page. Omit on the first page.
1 <= length <= 4000Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json