Azure AI Video Indexer API Get Insight

Daniel O'Sullivan 30 Reputation points
2024-07-22T16:24:03.0266667+00:00

Hi.

I am trying to create an app that can upload videos to Azure AI Video Indexer and retrieve insight data from said video.

I have set up in Azure an Azure AI Video Indexer resource and have uploaded the videos to the portal in Azure AI Video Indexer for testing. All the videos are on the portal and have insight information in the portal reader.

I have been following the documentation and trying to get the API calls to work for several days now but it is incredibly convoluted. I want to be able to retrieve the insight data with web request API calls.

Picture1

The web page presents me with 2 options for step one. ‘Get ARM token’ and ‘Get classic token’

The ARM token option brings me to a Microsoft learn page where I am able to fill in the details and acquire a token. However with the options on this page there is no other calls to return the insight Json for a video. In the image below are the only calls available to me.

Another point of confusion is on the ARM API calls it asks me for account ID. There are 2 account ID’s the one on the Azure AI Video Indexer resource and one on the Azure AI Video Indexer portal, both are different. However the one on the resource is the one that seems to work.

 Picture2

 

The second option in step one has proven even less fruitful. This option takes me to an api-portal sight with a lot more useful API calls. However it is asking me for a subscription key and I cannot find that anywhere. The SubscriptionID for the Azure AI Video Indexer resource on azure does not work.

Picture3

 

 

Azure AI Video Indexer
Azure AI Video Indexer
An Azure video analytics service that uses AI to extract actionable insights from stored videos.
82 questions
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,166 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.