Search Scopes
Workspace Search
Search across all content in your workspace - sessions, peers, and messages:Session Search
Search within a specific session’s conversation history:Peer Search
Search across all content associated with a specific peer:Filters and Limits
Get a specific number of results
You can specify the number of results you want to return by passing thelimit
parameter to the search method. The default is 10 results, with a maximum of 100.
Get messages from a Peer in a specific Session
Combine Peer-level search with asession_id
filter to get messages from a Peer in a specific Session.
items
array of message objects:
Filter results by time range
Filter results by metadata
Best Practices
Handle Empty Results Gracefully
Conclusion
Honcho’s search functionality provides powerful discovery capabilities across your conversational data. By understanding how to:- Choose the appropriate search scope (workspace, session, or peer)
- Handle paginated results effectively
- Combine search with context building