Skip to main content
GET
Search Knowledge Base Content

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Query Parameters

query
string
required

The search query text

page_size
integer
default:30

How many documents to return at maximum. Can not exceed 100, defaults to 30.

Required range: 1 <= x <= 100
types
enum<string>[] | null

If present, the endpoint will return only documents of the given types.

Available options:
file,
url,
text,
folder
cursor
string | null

Used for fetching next page. Cursor is returned in the response.

Response

Successful Response

results
KnowledgeBaseContentSearchResult · object[]
required
next_cursor
string | null