Skip to main content
POST
/
v2
/
classify
/
{project_id}
Inference V2
curl --request POST \
  --url https://api.metatext.ai/v2/classify/{project_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "model": "<string>",
  "options": {
    "refresh": false
  }
}
'
{
  "predictions": []
}

Path Parameters

Body

application/json
text
string
required
model
string
options
Options · object

Response

Successful Response

predictions
ClassificationPredictions · object[]