Performs a full-text search across workspace entities.
This endpoint enables powerful full-text search capabilities across multiple types. It returns a ranked list of matching entities based on relevance and respects user permissions.
The search functionality includes:
- Cross-entity search across various entity types in the workspace
- Relevance-based scoring and ranking of results
- Respecting user access permissions for all returned results
- Customizable result filtering by entity type and status
Required Permissions
Any authenticated user.Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
searchTerm
The term to search for. Max. 50 characters. Required.
searchTypes
Comma-separated list of types to search for, or ‘all’. Default: all types.
top
Count of top results. Default: 20.
includeClosedAndStuck
If true, the result will include entities where the status is closed, stuck and done.
Response
OK
totalCount
The overall number of hits.
maxScore
The highest overall search score.
top
The best search matches accross all types ordered descending by their score.
commentHits
companyHits
dashboardNotesHits
projectHits
taskHits
timeEntriesHits
timeReportsHits
userHits
taskListHits
fileHits
documentHits