POST
/
v1
/
apps
/
{app_id}
/
users
/
{user_id}
/
collections
/
{collection_id}
/
documents
/
query

Authorizations

Authorization
string
headerrequired

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

Path Parameters

app_id
string
required
user_id
string
required
collection_id
string
required

Body

application/json
query
string
required
Required string length: 1 - 1000
filter
object | null
top_k
integer
default: 5
Required range: 1 < x < 50

Response

200 - application/json
id
string
required
content
string
required
metadata
object
required
created_at
string
required
collection_id
string
required