Skip to main content
POST
Retrieve the most similar document fragments for a given query.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID of the datastore

Body

application/json
query
string
required
topK
number
filters
object

Response

Success

text
string
score
number
source
string
datasource_id
string
datasource_name
string