In-Video AI endpoints moved to POST and GET, PATCH deprecated
Back to Changelog
In-Video AI features now use dedicated endpoints. Trigger a feature with a POST and retrieve its result with a GET, both under /ai/{mediaId}. The previous PATCH /on-demand/{mediaId}/{feature} endpoints, which enabled a feature on a media in place, are deprecated and will be removed on October 30, 2026.
What’s changed:
-
Trigger with POST, retrieve with GET: for example,
POST /ai/{mediaId}/moderationstarts moderation andGET /ai/{mediaId}/moderationreturns the result. Every AI feature follows the same pattern. -
PATCH endpoints deprecated: the old
PATCHendpoints still work until October 30, 2026. Migrate to the POST and GET endpoints before then.
Migrate each feature to its new endpoints:
- Video summary: Generate video summary and Get video summary.
- Video chapters: Generate video chapters and Get video chapters.
- Named entities: Extract named entities from video and Get named entities.
- Content moderation: Moderate video content and detect profanity and Get video moderation results.