I have searched the forum and so many places say this is possible and so many say it isn’t. This is what I want to do. I want to get all jobs by Host Machine (regardless of folder). I have tried HTTP Request and Orchestrator HTTP. I get “BadRequest” both ways as it is looking for a folder. However, much of the forum says I can do this with HTTP Request if I do not include the Organization Unit in the heading. I am using Cloud Orchestrator with on premise bot host machines all connect to the same machine template. Swagger works fine including the filter for hostmachinename. I am using modern folders and Studio v. 2025.10.3.
For Http Request, I have set up an External Application (confidential) and using OAuth with access token. Application scopes include OR.Administrator, OR.Folders, OR.Jobs, OR.Robots. User scopes include OR.Folders and OR.Jobs. (I tried with and without User Scopes). I also added my application to my BotManagement group in all the folders where the jobs may be with Allow Folder Admin, Allow to be Automation Developer at the Tenant level and Automation Developer and Folder Admin at the Folder level.
Is there a way to do this??
I don’t think that you can choose to not provide the value for folder.
However, if you want to get jobs from all folders, you can get the list of folders and run the loop for all folders and get jobs from each by replacing the value of folder.
I don’t think it’s possible to achieve this using single api call.
@gregg.rubright Yes, this is possible, but only when the Jobs API is called in tenant context, not folder context. If the request includes X-UiPath-OrganizationUnitId / folder headers, Orchestrator treats it as folder-scoped and you can get BadRequest for a cross-folder query.
Since you want all jobs by HostMachineName regardless of folder, use a plain HTTP Request against the tenant-level Jobs OData endpoint, send only the bearer token, and do not include any folder header.
If Swagger works, that usually means the endpoint/filter is valid, and the issue is the request context or headers being sent from Studio rather than the API capability itself.
You have to first get a list of folders then loop through each folder and get the jobs.
I am using this for my endpoint:
“https://cloud.uipath.com/{mycompany}/{mytenant}/orchestrator_/oData/Jobs?%24filter=HostMachineName%20eq%20’DC1-CTX22U16005’”
However, I keep getting BadRequest - Folder must be included. I would love to do it this way and there are statements - as you made - that indicate it can be done. I am using a standard HTTP API request and passing nothing but the token. No headers or parameters whatsoever.
Hello @gregg.rubright,
I tried your use case and was able to get a response. I feel you are missing one parameter: atLeastOnePermissions
Simple hack: if you are able to get any endpoint working in Swagger, just copy the curl under your response:
In the HTTP Request activity, just use curl import to test:
and replace the values wherever required. Hope this resolve your issue.
Thanks,
Karthik
Tried what you said. Simplified things just to get some results.
Endpoint: “https://cloud.uipath.com/{Company}/{Tenant}/orchestrator_/odata/Jobs”
With the Bearer Token. Still get the BadRequest - Folder is required.
I dealt with this the other day! if you are using swagger or postman, you can get away with leaving the folderID (X-UiPath-OrganizationUnitId) blank and it will give you ALL of the jobs. However, if you are using any other application including UiPath desktop you are required to give a folder id value
This, I believe, is where all of the confusion comes from because it is possible but only in a super limited context.
Your best bet is to you a get all of the folder id’s through the API and then use that list of ids to get all of the jobs
As I shared earlier, in my view, it is not possible.
However, I would suggest to create a UiPath case on UiPath customer portal and raise this query.
That should help clear the question if it is indeed possible to get such results without using swagger or not.
Even I am curious now to know ![]()
@marian.platonov your inputs here would be helpful.
Hey @gregg.rubright,
Please update the variables and try this workflow:
Get List of Jobs on Hostname.xaml (13.4 KB)
Please update the values for OrganizationName, TenantName, Hostname, and BearerToken in the default settings and try again.
This worked well and was able to get the release name even with the filter that you shared.
If you are still facing issues, please post the entire error message here as it can help me understand better! I’m happy to debug if you can share your workflow.
Thanks,
Karthik
Just cannot seem to get past this. I have compared what you have to what I have (I am in c#). Here is the error:
{
“StatusCode”: “BadRequest”,
“TextContent”: “{"message":"A folder is required for this action.","errorCode":1101,"traceId":"00-3b1b4ca95ec9a5421c0fd2ad88172db6-3889454f923aca9d-00"}”,
“BinaryContent”: “”,
“File”: null,
“Headers”: [
{
“Key”: “Date”,
“Value”: “Fri, 13 Mar 2026 14:34:23 GMT”
},
{
“Key”: “Transfer-Encoding”,
“Value”: “chunked”
},
{
“Key”: “Connection”,
“Value”: “keep-alive”
},
{
“Key”: “CF-RAY”,
“Value”: “9dbbc259ffd2251b-ORD”
},
{
“Key”: “Cache-Control”,
“Value”: “no-store”
},
{
“Key”: “Pragma”,
“Value”: “no-cache”
},
{
“Key”: “request-context”,
“Value”: “appId=cid-v1:354c7cb9-ae5a-4d16-84a7-f13242bbac6d”
},
{
“Key”: “x-robots-tag”,
“Value”: “noindex,nofollow”
},
{
“Key”: “x-download-options”,
“Value”: “noopen”
},
{
“Key”: “X-XSS-Protection”,
“Value”: “1”
},
{
“Key”: “X-Content-Type-Options”,
“Value”: “nosniff”
},
{
“Key”: “X-Frame-Options”,
“Value”: “SameOrigin”
},
{
“Key”: “Strict-Transport-Security”,
“Value”: “max-age=31536000; includeSubDomains”
},
{
“Key”: “Content-Security-Policy”,
“Value”: “default-src ‘self’;script-src ‘self’ https://orch-cdn.uipath.com https://uipath-apps-prd.azureedge.net https://ecs-prd-cdn.azureedge.net https://uipath-apps-prdcom.azureedge.net http://ecs-alp-cdn.azureedge.net/ https://use.typekit.net/ https://d2c7xlmseob604.cloudfront.net https://platform-cdn.uipath.com https://.UiPath.com https://.pendo.io;style-src ‘self’ ‘unsafe-inline’ https://orch-cdn.uipath.com https://uipath-apps-prd.azureedge.net https://ecs-prd-cdn.azureedge.net https://uipath-apps-prdcom.azureedge.net http://ecs-alp-cdn.azureedge.net/ https://fonts.googleapis.com/css https://use.typekit.net https://p.typekit.net/ https://platform-cdn.uipath.com https://content.usage.uipath.com;img-src ‘self’ data: https://orch-cdn.uipath.com https://uipath-apps-prd.azureedge.net https://ecs-prd-cdn.azureedge.net https://uipath-apps-prdcom.azureedge.net http://ecs-alp-cdn.azureedge.net/ https://cdn.auth0.com https://s.gravatar.com https://secure.gravatar.com https://.wp.com https://.googleusercontent.com https://i.ytimg.com https://platform-cdn.uipath.com https://.pendo.io https://content.usage.uipath.com https://pendo-static-5668600916475904.storage.googleapis.com https://data.usage.uipath.com https://.blob.core.windows.net https://.amazonaws.com blob:;media-src ‘self’ https://.blob.core.windows.net https://.blob.core.windows.net https://.amazonaws.com;frame-src ‘self’ https://.UiPath.com https://.pendo.io;font-src ‘self’ https://orch-cdn.uipath.com https://uipath-apps-prd.azureedge.net https://ecs-prd-cdn.azureedge.net https://uipath-apps-prdcom.azureedge.net http://ecs-alp-cdn.azureedge.net/ https://use.typekit.net/ https://fonts.gstatic.com https://platform-cdn.uipath.com data:;connect-src ‘self’ wss: https://orch-cdn.uipath.com https://uipath-apps-prd.azureedge.net https://ecs-prd-cdn.azureedge.net https://uipath-apps-prdcom.azureedge.net http://ecs-alp-cdn.azureedge.net/ https://primer.typekit.net https://use.typekit.net/ https://studio-feedback.azure-api.net https://app.launchdarkly.com https://clientstream.launchdarkly.com https://events.launchdarkly.com https://api.smartling.com https://platform-cdn.uipath.com https://.service.signalr.net https://.UiPath.com https://.pendo.io https://cloud.uipath.com https://storage.googleapis.com https://.blob.core.windows.net https://*.amazonaws.com dc.services.visualstudio.com *.in.applicationinsights.azure.com https://robotube-paid-eus.uipath.com/;worker-src ‘self’ blob:”
},
{
“Key”: “x-envoy-upstream-service-time”,
“Value”: “19”
},
{
“Key”: “Vary”,
“Value”: “Accept-Encoding”
},
{
“Key”: “x-UiPath-targetservice-duration”,
“Value”: “19”
},
{
“Key”: “X-UiPath-Correlation-ID”,
“Value”: “undefined”
},
{
“Key”: “X-RateLimit-Remaining”,
“Value”: “100”
},
{
“Key”: “cf-cache-status”,
“Value”: “DYNAMIC”
},
{
“Key”: “Server”,
“Value”: “cloudflare”
}
],
“ContentHeaders”: [
{
“Key”: “Content-Type”,
“Value”: “application/json; charset=utf-8”
},
{
“Key”: “Expires”,
“Value”: “-1”
}
],
“RawRequestDebuggingInfo”: “”
}
GetJobsTesting.xaml (14.5 KB)
In the upload of my last post. The top activity is a library activity that simply is an authentication request return the bearer token. The bearer token works for my Maintenance Mode section of my workflow so I know that is working.





