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
uid
any

Value of datasource's identifier

threshold
number

Threshold score of results

limit
integer

Limit of results

Response

200 - application/json
Recommendations response
success
boolean
results
object[]