Finetune & Inference endpoints
Classify
Finetune & Inference endpoints
Classify
POST
/
v2
/
classify
/
{project_id}
curl --request POST \
--url https://api.metatext.ai/v2/classify/{project_id} \
--header 'Content-Type: application/json' \
--data '{
"text": "<string>",
"model": "<string>",
"options": {
"threshold": 123,
"top_labels": 123,
"refresh": false,
"version": "<string>"
}
}'
{
"predictions": []
}
Path Parameters
Body
application/json
curl --request POST \
--url https://api.metatext.ai/v2/classify/{project_id} \
--header 'Content-Type: application/json' \
--data '{
"text": "<string>",
"model": "<string>",
"options": {
"threshold": 123,
"top_labels": 123,
"refresh": false,
"version": "<string>"
}
}'
{
"predictions": []
}