Find Email Thread
Search the vault's connected Gmail for an existing conversation, including mail sent before this deployment started logging. Gmail search syntax, e.g. "to:ana@client.com inventory" or "subject:report newer_than:7d". Returns thread ids for send_email's replyToThreadId.
Authentication
AuthorizationBearer
Create a personal key in Alpha settings, or use an access token issued to an approved OAuth client.
Request
This endpoint expects an object.
query
Gmail search syntax
vault
Exact vault id or name from list_vaults. Required whenever the key can reach more than one vault; never guess or use one client’s vault for another.
limit
1-20, default 5
Response headers
X-Request-Id
Stable identifier for tracing this request in Alpha logs.
Response
Find Email Thread completed.
data
The result returned by the selected Alpha tool.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error