Retrieves results for search query without respect for permissions. This is available only to privileged users.
Admin search request
OK
Invalid request
Not Authorized
Forbidden
Invalid Query
Too Many Requests
{- "trackingToken": "trackingToken",
- "query": "vacation policy",
- "pageSize": 10,
- "requestOptions": {
- "facetFilters": [
- {
- "fieldName": "type",
- "values": [
- {
- "value": "article",
- "relationType": "EQUALS"
}, - {
- "value": "document",
- "relationType": "EQUALS"
}
]
}, - {
- "fieldName": "department",
- "values": [
- {
- "value": "engineering",
- "relationType": "EQUALS"
}
]
}
]
}
}
{- "trackingToken": "trackingToken",
- "suggestedSpellCorrectedQuery": "suggestedSpellCorrectedQuery",
- "hasMoreResults": true,
- "errorInfo": {
- "errorMessages": [
- {
- "source": "gmail",
- "errorMessage": "invalid token"
}, - {
- "source": "slack",
- "errorMessage": "expired token"
}
]
}, - "requestID": "5e345ae500ff0befa2b9d1a3ba0001737e7363696f312d323535323137000171756572792d656e64706f696e743a323032303031333074313830343032000100",
- "results": [
- {
- "snippets": [
- {
- "snippet": "snippet",
- "mimeType": "mimeType"
}
], - "metadata": {
- "container": "container",
- "createTime": "2000-01-23T04:56:07.000Z",
- "datasource": "datasource",
- "author": {
- "name": "name"
}, - "documentId": "documentId",
- "updateTime": "2000-01-23T04:56:07.000Z",
- "mimeType": "mimeType",
- "objectType": "objectType"
}, - "title": "title",
}, - {
- "snippets": [
- {
- "snippet": "snippet",
- "mimeType": "mimeType"
}
], - "metadata": {
- "container": "container",
- "createTime": "2000-01-23T04:56:07.000Z",
- "datasource": "datasource",
- "author": {
- "name": "name"
}, - "documentId": "documentId",
- "updateTime": "2000-01-23T04:56:07.000Z",
- "mimeType": "mimeType",
- "objectType": "objectType"
}, - "title": "title",
}
], - "facetResults": [
- {
- "buckets": [
- {
- "percentage": 5,
- "count": 1,
- "value": {
- "stringValue": "stringValue",
- "integerValue": 5
}
}, - {
- "percentage": 5,
- "count": 1,
- "value": {
- "stringValue": "stringValue",
- "integerValue": 5
}
}
], - "sourceName": "sourceName",
- "operatorName": "operatorName",
- "objectType": "objectType"
}, - {
- "buckets": [
- {
- "percentage": 5,
- "count": 1,
- "value": {
- "stringValue": "stringValue",
- "integerValue": 5
}
}, - {
- "percentage": 5,
- "count": 1,
- "value": {
- "stringValue": "stringValue",
- "integerValue": 5
}
}
], - "sourceName": "sourceName",
- "operatorName": "operatorName",
- "objectType": "objectType"
}
], - "rewrittenQuery": "rewrittenQuery",
- "rewrittenFacetFilters": [
- {
- "fieldName": "fieldName",
- "values": [
- "fieldValues",
- "fieldValues"
]
}, - {
- "fieldName": "fieldName",
- "values": [
- "fieldValues",
- "fieldValues"
]
}
]
}