Generate Engagement Insights (v0)
Create a 'generate-engagement-insights' job
Changed onDeprecated: use POST /robots/v1/jobs/generate-engagement-insights instead. Creates a new job that uses AI to analyze viewer engagement patterns and generate insights for a Mux Video asset.
post/robots/v0/jobs/generate-engagement-insights
Request
- Base URLhttps://api.mux.com
- Auth
- HTTP basic
- or HTTP bearer
Request body
Example request
{
"parameters": {
"asset_id": "mux_asset_123abc"
}
}Response
Engagement insights job queued
Example response
{
"data": {
"parameters": {
"asset_id": "mux_asset_123abc"
},
"resources": {
"assets": [
{
"id": "abc123asset",
"meta": {
"title": "My Video",
"creator_id": "user123",
"external_id": "ext456"
},
"_links": {
"self": {
"href": "/video/v1/assets/abc123asset"
}
}
}
]
},
"outputs": {
"moment_insights": [
{
"start_ms": 30000,
"end_ms": 60000,
"engagement_score": 0.89,
"insight": "Viewers are highly engaged during the product demo, with minimal drop-off."
}
],
"overall_insight": {
"summary": "Engagement peaks during hands-on demonstrations and drops during introductory segments.",
"trends": [
"Product demos drive the highest retention",
"Viewers skip past the first 15 seconds of intro"
]
}
}
}
}Changes
- info
endpoint deprecated
- info
- info
api operation id
create-generate-engagement-insights-jobremoved and replaced withcreate-generate-engagement-insights-job-v0 - info
api tag
Generate Engagement Insights (v0)added - info
api tag
Generate Engagement Insightsremoved
- info