To retrieve all jobs across all folders in UiPath Orchestrator using the Orchestrator Job Search API, you need to utilize the /odata/Jobs endpoint and filter the jobs based on your requirements.
Here’s an example of how you can make the API request to retrieve all jobs:
GET /odata/Jobs HTTP/1.1
Host: your_orchestrator_url
Authorization: Bearer your_access_token
Make sure to handle pagination if there are more jobs than what’s returned in the initial response. You can do this by using the $skip and $top parameters in subsequent requests.