get https://api.thehive.ai/api/v1/task
Calling this synchronous endpoint with a specified task_id returns the API response object for completed tasks, or an in-progress message if the task is still in progress.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"project_id": 12345,
"status": {
"status": {
"code": 0,
"message": "SUCCESS"
},
"response": {
"input": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"charge": 0,
"model": "string",
"model_version": 0,
"model_type": "string",
"created_on": "string",
"media": {
"type": "string",
"mimetype": "string",
"duration": 0,
"width": 0,
"height": 0
},
"user_id": 0,
"project_id": 0
},
output: [
{
"time": 0,
"classes": [
{
"class": "general_nsfw",
"score": 0.9
},
"class": "general_suggestive",
"score": 0.05
},
{
"class": "general_not_nsfw_not_suggestive",
"score": 0.05
},
}
]
}
"from_cache": true,
"metadata": "string"
}