Fetch the bot details running more than 24 Hours

Description

Hi There,
Can some one help me how we can get the list of bots that are running more than 24 hours from the orchestrator. If there is already available snippet/code kindly share the same.

Link

Date

2025-08-19

Related UiPath products

Orchestrator

@avinashy,

Use Orchestrator HTTP Request activity with this end point and filter.

https://cloud.uipath.com/yourorg/yourtenent/orchestrator_/odata/Jobs?
$filter=(
  (State eq 'Running') and 
  (StartTime le 2025-08-19T04:23:42.000Z)
)

Make sure this time is dynamic and 24 hours less from now.
2025-08-19T04:23:42.000Z

@avinashy
You can easily utilize the GetJob activity to retrieve the details of jobs that have been running for over 24 hours.
To exclude these, employ the Filter Builder.
Then apply the filter:
Start Time - Newer Than - DateTime.Now.AddDays(-1)
State - Equals - Running

Hi @avinashy

Pls check this,