Submit ground truth feedback
Provide the correct label(s) for a previous classification to improve future accuracy. Feedback only affects the specific project_id associated with this detection. New labels are automatically added to that project's label set.
Path Parameters
Response Body
application/json
application/json
curl -X POST "https://loading/ground_truth/string" \ -H "Content-Type: application/json" \ -d '{ "ground_truth": "positive" }'{
"detection_id": "det_a1b2c3d4e5f6g7h8",
"message": "Ground truth feedback recorded successfully",
"new_labels_added": [
"neutral"
],
"success": true,
"updated_content_count": 2
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Classify content items POST
Classify one or more content items (text/images) jointly into a single label with confidence scores. Use this tool when you need to categorize, tag, route, or make decisions about content based on context. All content items are analyzed together to produce one classification result. You can either: - Provide explicit labels for the classification task - Provide a description and let the system infer appropriate labels - Use an existing project_id to reuse previous labels The system learns from feedback and improves over time.
Get project statistics GET
Retrieve analytics and accuracy metrics for a classification project. View how well your classifications are performing based on ground truth feedback.