Search Tasks and Documents in the token-scoped Workspace
Search Tasks and Documents in the token-scoped Workspace
GET/api/v1/cli/search
Searches only Task and Document projections visible to the bearer
principal. q is trimmed before validation and must contain 1–200
Unicode characters. Results use an opaque server cursor, default to
50, and never exceed 100. Resource codes are the only identifiers
returned; IDs remain internal to the API implementation.
Query Parameters
qRequired
string·min 1·max 200
project_code
string·min 1·max 64
resource_type
string
Values
taskdocument
cursor
string·min 1·max 2048
Opaque continuation cursor returned by the preceding page.
limit
integer·min 1·max 100·default 50
Maximum number of resources to return.
Responses
itemsRequired
object[]·max 100
next_cursor
string·min 1·max 2048
Opaque, endpoint-specific pagination cursor.
has_moreRequired
boolean
Cache-Control
string·const no-store
Prevents storage of error responses by clients and intermediaries.
X-Request-ID
string·min 1·max 200
Correlation identifier for the request.
X-Content-Type-Options
string·const nosniff
Prevents user agents from MIME-sniffing the response.
errorRequired
object
Cache-Control
string·const no-store
Prevents storage of error responses by clients and intermediaries.
X-Request-ID
string·min 1·max 200
Correlation identifier for the request.
X-Content-Type-Options
string·const nosniff
Prevents user agents from MIME-sniffing the response.
errorRequired
object
Retry-After
integer·min 0
Delay in seconds before retrying, when an expected maintenance end is known.
Cache-Control
string·const no-store
Prevents storage of error responses by clients and intermediaries.
X-Request-ID
string·min 1·max 200
Correlation identifier for the request.
X-Content-Type-Options
string·const nosniff
Prevents user agents from MIME-sniffing the response.