POST
/
api
/
in
/
v0
/
documents
/
embeddings-search
curl --request POST \
  --url https://stockinsights-ai-main-95a26a0.zuplo.app/api/in/v0/documents/embeddings-search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>",
  "top_k": 10,
  "filters": {
    "types": [
      "earnings-transcript"
    ],
    "tickers": [
      "NSE:OLECTRA"
    ],
    "sectors": [
      "<string>"
    ],
    "industries": [
      "<string>"
    ],
    "years": [
      "<string>"
    ],
    "quarters": [
      "Q1"
    ]
  }
}'
{
  "status": "<string>",
  "data": [
    {
      "text": "<string>",
      "metadata": {
        "chunk_num": "<string>"
      },
      "document": {
        "type": "<string>",
        "published_date": "2023-11-07T05:31:56Z",
        "year": "<string>",
        "quarter": "Q1",
        "link": "<string>"
      },
      "company": {
        "id": "<string>",
        "company_name": "<string>",
        "ticker": "<string>",
        "exchange_tickers": [
          {
            "exchange": "BSE",
            "ticker": "<string>",
            "id": "<string>",
            "url": "<string>"
          }
        ]
      },
      "similarity_score": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json
Successful response. Contains the list of chunks for given query vector

The response is of type object.