POST
/
{clientId}
/
datasource
/
{datasourceId}
/
recommendation
curl --request POST \
  --url https://api.thesearchx.com/{clientId}/datasource/{datasourceId}/recommendation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "uid": "<any>",
  "threshold": 123,
  "limit": 123
}'
{
  "success": true,
  "results": [
    {
      "_score": 123,
      "ttmId": "<string>",
      "...other properties...": "<any>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Here, Bearer Token is your Client API Key You can find at your Client Page

Path Parameters

clientId
string
required

You can find Client ID at your Dashboard

datasourceId
string
required

You can find Datasource ID at your Dashboard

Body

application/json

Response

200 - application/json

Recommendations response

The response is of type object.