POST
/
api
/
ai
/
train-data
curl --request POST \
  --url https://api.worqhat.com/api/ai/train-data \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'files=/path/to/Pitch Deck July 2024.pdf' \
  --form type=search \
  --form modelType=v3 \
  --form 'name=Some name' \
  --form 'modelId=sample id'
{
  "processing_time": 888,
  "processing_id": "4b139bfe-1f71-4345-b539-fa6c1700f166",
  "processing_count": 3,
  "data": "The AI model training process has been successfully initiated."
}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data

Response

200
application/json
Successful response

The response is of type object.