Post messagessearchsemantic
Authorizations
JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer
Body
Semantic search parameters
Natural language search query
1 - 1000Filter results to a specific agent
^[cC][^\s-]{8,}$Filter to one inbox — messages delivered to it (inbound) or sent from it (outbound). The precise way to read a single mailbox when an agent owns several.
^[cC][^\s-]{8,}$Filter by sender address, matched exactly (case-sensitive). On inbound mail this is the counterparty; on outbound it is the agent identity the mail was sent from.
Filter by recipient address, matched exactly (case-sensitive). Note that outbound messages store every recipient in one comma-joined value, so an exact filter matches a multi-recipient send only when given that same joined string — prefer inboxId to scope outbound mail to a mailbox.
Maximum number of results to return
1 <= x <= 50Minimum similarity score threshold (0-1)
0 <= x <= 1Response
OK
Semantic search results
List of messages ranked by semantic similarity
