workspaces

Search Workspace

Changed on

Search messages in a Workspace using optional filters. Use limit to control the number of results returned.

Pass scope to restrict the search to a scope's member sessions. A scope with no member sessions returns no results (fail-closed).

post/v3/workspaces/{workspace_id}/search

Request

  • Base URL
    https://api.honcho.dev
  • Auth
    HTTP bearer

Path parameters

workspace_idstring required

Request body

querystring required

Search query

filtersobject nullable

Filters to scope the search

limitinteger

Number of results to return

scopestring nullable

Optional (unprefixed) scope name restricting search to the scope's member sessions. A scope with no member sessions returns no results. Mutually exclusive with a 'session_id' key in filters.

Response

Successful Response

idstring required
contentstring required
peer_idstring required
session_idstring required
metadataobject
created_atstring date-time required
workspace_idstring required
token_countinteger required

Changes

    • info

      added the new optional request property

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status