Notification of trigger jobs

how can i get notification for jobs that are pending or running state for 2 minutes or more in orchestrator

Hi welcome to the community!
I guess you would have to develop something that would call orchestrator API and check all jobs in those states for how long they are there…

how can i create orchestrator API?
i am not getting any idea