Documents
Search all documents
This methods allows you to search your teams documents with keywords. Note that search results will be restricted to those accessible by the current access token.
post/documents.search
Request body
Example request
{
"limit": 25,
"query": "hiring",
"statusFilter": "published",
"dateFilter": "month"
}Response
OK
Example response
{
"data": [
{
"context": "At Acme Inc our hiring practices are inclusive",
"ranking": 1.1844109,
"document": {
"title": "🎉 Welcome to Acme Inc",
"emoji": "🎉",
"text": "…",
"urlId": "hDYep1TPAM",
"collaborators": [
{
"name": "Jane Doe"
}
],
"createdBy": {
"name": "Jane Doe"
},
"updatedBy": {
"name": "Jane Doe"
}
}
}
],
"pagination": {
"limit": 25
}
}