GET
/
{clientId}
/
datasource
/
{datasourceId}
/
search
curl --request GET \
  --url https://api.thesearchx.com/{clientId}/datasource/{datasourceId}/search \
  --header 'Authorization: Bearer <token>'
{
  "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

Query Parameters

query
string

Search Keyword

threshold
number

Threshold score of results

limit
integer

Number of results

Response

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