Skip to main content
POST
/
knowledge
/
search
{
  "data": [
    {
      "id": "doc_123",
      "content": "Jordan Mitchell - Software Engineer with skills in JavaScript, React, Python",
      "name": "cv_1",
      "meta_data": {
        "page": 1,
        "chunk": 1
      },
      "usage": {
        "total_tokens": 14
      },
      "reranking_score": 0.95,
      "content_id": "content_456"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 20,
    "total_pages": 2,
    "total_count": 35
  }
}

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

db_id
string | null

The content database id

vector_db_ids
string[] | null

List of vector database ids to search in

search_type
string | null

The type of search to perform

max_results
integer | null

The maximum number of results to return

filters
object | null

The filters to apply to the search

meta
object | null

Pagination metadata. Limit and page number to return a subset of results. Inline metadata schema for pagination.

Response

Search results retrieved successfully

data
VectorSearchResult · object[]
required
meta
object
required
I