post https://api.thehive.ai/api/v1/task/callback
Hitting this endpoint will send a callback from our servers to the callback url if the task is completed.
{
"id": "dd52c0d0-9ec7-11ea-98a3-4b92424b8366",
"project_id": 18416,
"metadata": null,
"status": [
{
"status": {
"code": "0",
"message": "SUCCESS"
},
"response": {
"input": {
"hash": "a71690e72e5cabafc73dc2717818fc6d",
"inference_client_version": "4.0.8",
"model": "textmod_svs_2langs_release_test2",
"model_type": "TEXT_CLASSIFICATION",
"model_version": 1,
"text": "test data",
"id": "2846b170-a079-11ea-b023-6bfe10549ae0",
"created_on": "2020-05-28T00:21:21.543Z",
"user_id": 6994,
"project_id": 18416,
"charge": "0.00100",
"media": {
"mimetype": null
},
"config_version": 1,
"config_tag": "default"
},
"output": [
{
"time": 0,
"classes": [
{
"class": "suggestive",
"score": 0.0010710965501463823
},
{
"class": "sexual",
"score": 0.0027024835147116755
},
{
"class": "no_sexual",
"score": 0.9962264199351419
},
{
"class": "self_harm",
"score": 0.0002235677990901144
},
{
"class": "violence",
"score": 0.0007041907670250179
},
{
"class": "no_violence",
"score": 0.999072241433885
},
{
"class": "yes_spam",
"score": 0.000881996410983426
},
{
"class": "no_spam",
"score": 0.9991180035890167
}
],
"start_char_index": 0,
"end_char_index": 16
}
]
}
}
],
"resent_on": "2020-05-28T00:28:02.718Z",
"resent_by": "api",
"from_cache": false
}