search_history
Query historical search data in ReliaQuest GreyMatter with filtering, ordering, and pagination to review past search activity.
Instructions
Query Management · query searchHistory. Variables: after, by, filter, first, order. Example variables: {"after":"T18w","by":{"incidentId":""},"filter":{"includeArchived":true},"first":10,"order":{"direction":"ASC","orderBy":"CREATED_AT"}}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"by": "<by>"
},
"name": "search_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | GraphQL: QueryBatchSearchBy! | |
| after | No | GraphQL: String | |
| first | No | GraphQL: Int | |
| order | No | GraphQL: QueryBatchOrder | |
| filter | No | GraphQL: QueryBatchFilter | |
| customer_slug | No | Override the x-reliaquest-customer (OpCo) header. |