POST
/
api
/
ai
/
search
/
v3
/
{modelId}
curl --request POST \
  --url https://api.worqhat.com/api/ai/search/v3/{modelId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "question": "<string>",
  "search_count": 123
}'
{
  "data": [
    {
      "source": "string",
      "content": "string",
      "page": 0
    }
  ],
  "processingTime": 0,
  "processingId": "string"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

modelId
string
required

The Custom Trained Model ID. You can get this Model ID from your Model Training Dashboard.

Body

application/json
question
string
required

The question you want to ask.

search_count
integer

The number of respoonses you want in output

Response

200
application/json
Text Generated Successfully
data
object[]
processing_time
number
processing_id
string