Skip to content
LogoLogo

Search Workspace content

Search Workspace content

GET/api/v1/workspaces/{workspace_id}/search

Returns a bounded, cursor-paginated page of authorized Project, Task, Document, Comment, or active Person matches from exactly one Workspace. Exact identifiers and titles take precedence, followed by title prefixes, weighted lexical relevance, typo tolerance, and recency. The opaque cursor preserves that deterministic ordering. Plain-text snippets are bounded and stripped of control characters; results never expose a raw engine score or exact total. Archived resources are excluded unless explicitly included; trashed, purged, and deleted resources remain excluded. Work is rate-limited and query-time bounded; overload returns a retryable 503 search_unavailable with Retry-After. Native bearer access is limited to title and identifier matches for an explicit resource_type of project or task, excludes archived resources, and returns empty snippets. Other types and omitted/duplicate type filters return 400 for native callers. Browser search retains its full corpus.

Path Parameters

workspace_idRequired
string <uuid>
Example0198ac5e-f9b7-7000-8000-000000000001

Query Parameters

qRequired
string·min 2·max 200

Terms or quoted phrases. Leading and trailing whitespace is ignored.

project_id
string <uuid>

Restrict matches to this Project. An inaccessible Project produces no results rather than confirming it exists.

Example0198ac5e-f9b7-7000-8000-000000000001
resource_type
string

Restrict matches to one indexed resource type.

Values
projecttaskdocumentcommentperson
include_archived
boolean·default false

Include archived resources. Resolved Tasks are included regardless because resolution is not archival.

cursor
string·min 1·max 2048

Opaque continuation cursor returned by the preceding page.

limit
integer·min 1·max 50·default 20

Responses