APISearch
Search threads
Search threads within one project.
Query Parameters
projectId?string
Project to search within. Auto-filled from CLI and SDK context when omitted.
Format
uuidquery*string
Length
1 <= length <= 500limit?number
Maximum number of search results to return.
Range
1 <= value <= 100Default
20page?number
One-based page number.
Range
1 <= valueDefault
1status?string
Optional thread status filter.
Value in
- "regular"
- "archived"
Response Body
application/json
curl -X GET "https://example.com/search/threads?query=string"{ "threads": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "title": "string", "status": "regular", "labels": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "highlights": [ "string" ], "score": 0 } ], "pagination": { "page": 0, "limit": 0, "totalResults": 0, "totalPages": 0 }}