get_jobs_across_folders
Retrieve job details from multiple UiPath Orchestrator folders in one query. Filter by state, time range, release, or source to monitor jobs across your tenant.
Instructions
Query jobs across multiple folders in a single call — the preferred tool for tenant-wide or multi-folder job queries.
Use list_jobs instead only when you already know the single folder and need advanced OData filtering or job_priority filtering.
Returns a trimmed set of fields per job (same as list_jobs). Results from all folders are merged and optionally sorted by StartTime.
Args: state: Filter by execution state — 'Faulted', 'Successful', 'Pending', 'Running', 'Stopped', 'Stopping'. folder_names: Folders to check. If omitted, checks all non-workspace folders. hours_back: Return jobs started within the last N hours. Takes priority over days_back. days_back: Return jobs started within the last N days. release_name: Filter jobs by release name. source: Filter by how the job was triggered — 'Manual', 'Schedule', 'Agent', 'Queue'. most_recent_first: If True, return most recently started jobs first per folder, then sort combined results. Use with batch_size to efficiently find the last N jobs across folders. batch_size: Max jobs to return per folder (default 50).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | ||
| source | No | ||
| days_back | No | ||
| batch_size | No | ||
| hours_back | No | ||
| folder_names | No | ||
| release_name | No | ||
| most_recent_first | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |