Karan Desai
Karan Desai

Reputation: 3152

Determine azure function execution completion using REST api

Is it possible to know whether the azure function is currently running, or has completed execution using REST Apis?

I dug up their official documentations, forums and even googled but finding nothing related.

Upvotes: 2

Views: 631

Answers (2)

Mikhail Shilkov
Mikhail Shilkov

Reputation: 35154

Not REST API, but you can see the logs of executions in Table Storage:

enter image description here

you can get Start and End time from there.

Upvotes: 2

jeffhollan
jeffhollan

Reputation: 3227

You can do a GET on the Function or the App to retrieve the status. Good resource to explore different API calls and responses is resources.azure.com

https://learn.microsoft.com/en-us/rest/api/appservice/webapps/getfunction

Upvotes: 1

Related Questions