Skip to main content
Version: Latest

Summary by Companies

tip

This query offers a keyword search summary within a specific time range, arranging the results into company-based groups.

Operation

query ($filter: SearchFilter!, $groupBy: DocumentCountGroupBy!, $limit: Int, $offset: Int) {
documentCountsInSearchResults (
filter: $filter,
groupBy: $groupBy,
limit: $limit,
offset: $offset
) {
__typename
items {
groupKeys {
... on Company {
companyName: name
}
}
value
}
}
}

Variables

{
"filter": {
"keyword": {
"query": "AI Drug Discovery"
},
"date": {
"preset": "LAST_12_MONTHS"
},
"limit": 10
},
"groupBy": "COMPANIES"
}