Callback on Analysis Completion
The MVG API has support for OpenAPI callbacks, meaning that you could create an API on your own and have MVG trigger a request to it when an analysis is completed.
The request analysis methods of the MVG object have a keyword argument for a callback_url
to an HTTP server with an {$callback_url}/analysis
endpoint. The endpoint should have a POST method with two JSON body arguments, a string request_status
and a string request_id
. The format of the endpoint you need to implement is documented in the MVG API documentation under the Callbacks tab of the POST analyses/requests
methods.