userId is forwarded to the search backend, so filters can be added without a change here.size (message size in bytes) which the threads feed does not include.GET /onebox/search?userId=K5PF9Y068AMDGENV5BTCNJJZK55F&account=andrew.lawyer@aurumlawyer.com&query=securitycurl --location 'https://customers.coldmailreseller.com/api/v1/integration/onebox/search?userId=K5PF9Y068AMDGENV5BTCNJJZK55F&query=security&account=andrew.lawyer%40aurumlawyer.com' \
--header 'cmr-x-api-key: <api-key>'{
"status": 200,
"message": "Search results",
"data": [
{
"account": "andrew.lawyer@aurumlawyer.com",
"threadId": "1877937258181177440",
"messageId": "<Gq3K93hRllxHkWlnjYO1wg@notifications.google.com>",
"subject": "Security alert",
"snippet": "App password created to sign in to your account",
"date": "2026-10-02T11:34:03.000Z",
"size": 12350,
"labels": [
"UNREAD",
"CATEGORY_UPDATES",
"INBOX"
],
"from": [
{
"name": "Google",
"address": "no-reply@accounts.google.com"
}
],
"to": [
{
"name": "string",
"address": "andrew.lawyer@aurumlawyer.com"
}
],
"hasAttachments": false,
"isRead": false,
"isStarred": false,
"folderPath": "inbox"
}
]
}