Search Knowledge Base
Searches the project's published public and internal articles the way the support agent does, and returns the best matches first. Each match has the article id, title, type, collection, and a short snippet. Drafts are not included. matches is empty when nothing published matched, or the project has no help center.
Authorization
Authorization In: header
Path Parameters
ID of the project whose help center to search.
Query Parameters
How many matches to return, from 1 to 10. Omit for 5.
The customer's question, or the words to match. This is the search the support agent runs.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/projects/string/knowledge/search?query=string"{ "matches": [ { "collection": "string", "id": "string", "snippet": "string", "title": "string", "type": "public" } ]}Search Articles
Full search across a help center's published articles, returning complete articles ranked by relevance plus a `totalCount`. Set `highlight` to also receive the matched fragments of each title and summary, ready to render as emphasised text. This endpoint is public, so it always restricts to published articles no matter what `state` is sent.
Instant Search Articles
Type-ahead search for a help-center search box. Returns at most 5 published public articles as lightweight hits (title, slug, collection name, and a short snippet) with `totalCount` reporting how many matched overall so you can offer "see all results". Falls back to fuzzy matching when the phrase is too short or malformed for full-text search, so partial words and typos still return something. Use Search Articles for the full result page.