Skip to main content
POST
Search Knowledge

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Schema for vector search request.

query
string
required

The search query text

db_id
string | null

Database ID to search in

knowledge_id
string | null

Knowledge base ID to search in

vector_db_ids
string[] | null

List of vector database IDs to search in

search_type
string | null

The type of search to perform (vector, keyword, hybrid)

max_results
integer | null

The maximum number of results to return

Required range: 1 <= x <= 1000
filters
Filters · object | null

Filters to apply to the search results

meta
Meta · object | null

Pagination metadata. Limit and page number to return a subset of results.

Response

Search results retrieved successfully

data
VectorSearchResult · object[]
required

List of items for the current page

meta
PaginationInfo · object
required

Pagination metadata