POST Webhook robots.job.moderate.cancelled
Payload
Example payload
{
"created_at": "2022-01-01T00:00:00.000000Z",
"attempts": [
{
"created_at": "2022-01-01T00:00:00.000000Z"
}
],
"data": {
"parameters": {
"asset_id": "mux_asset_123abc",
"thresholds": {
"sexual": 0.7,
"violence": 0.8
},
"output_steering": {
"scope": {
"start_time": 30,
"end_time": 180
}
},
"on_flagged": {
"action": "delete_playback_ids"
}
},
"resources": {
"assets": [
{
"id": "abc123asset",
"meta": {
"title": "My Video",
"creator_id": "user123",
"external_id": "ext456"
},
"_links": {
"self": {
"href": "/video/v1/assets/abc123asset"
}
}
}
]
},
"outputs": {
"thumbnail_scores": [
{
"time": 0,
"sexual": 0.01,
"violence": 0.02
},
{
"time": 30,
"sexual": 0.03,
"violence": 0.15
},
{
"time": 60,
"sexual": 0.02,
"violence": 0.05
}
],
"max_scores": {
"sexual": 0.03,
"violence": 0.15
},
"exceeds_threshold": false
}
}
}Response
Return a 200 to indicate that the data was received successfully
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.