POST
/
api
/
in
/
v0
/
documents
/
embeddings-search

Authorizations

Authorization
string
headerrequired

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

Body

application/json
query
string
required

The user query in natural language for which similar chunks of filings text is retrieved using OpenAI embeddings.

top_k
integer
default: 10

Number of top matching chunks to return in the response. This parameter is optional and defaults to 20 if not specified. Maximum value is 50.

filters
object

Filters to narrow the search scope. For example, the search can be limited to few companies only. Without filters, search will be performed across all the filings.

Response

200 - application/json
status
string

Status code

data
object[]