Yash.Orchestrator 25.8.8

dotnet add package Yash.Orchestrator --version 25.8.8
                    
NuGet\Install-Package Yash.Orchestrator -Version 25.8.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Yash.Orchestrator" Version="25.8.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Yash.Orchestrator" Version="25.8.8" />
                    
Directory.Packages.props
<PackageReference Include="Yash.Orchestrator" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Yash.Orchestrator --version 25.8.8
                    
#r "nuget: Yash.Orchestrator, 25.8.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Yash.Orchestrator@25.8.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Yash.Orchestrator&version=25.8.8
                    
Install as a Cake Addin
#tool nuget:?package=Yash.Orchestrator&version=25.8.8
                    
Install as a Cake Tool

Yash.Orchestrator

A utility library for interacting with UiPath Cloud Orchestrator APIs. Provides a reusable OrchestratorService class that simplifies access to folders, assets, storage buckets, and files — with support for both direct credential and Studio-integrated token authentication.


🚀 Getting Started

  1. Add the Yash.Orchestrator NuGet package as a dependency in your UiPath plugin or library project.
  2. Create an instance of OrchestratorService using either client credentials or an IAccessProvider.
  3. Call InitializeAsync() to populate folders, assets, buckets, and bucket files.
  4. Use the service to read, inspect, or download resources in a structured and token-aware manner.

🛠️ Core Class: OrchestratorService

The OrchestratorService class is the main entry point. It provides high-level, folder-aware access to UiPath Cloud resources with built-in refresh and download methods.

var service = new OrchestratorService("https://cloud.uipath.com/org/account", "clientId", "secret", log);
await service.InitializeAsync();

foreach (var (folder, assets) in service.Assets)
{
    Console.WriteLine($"{folder.DisplayName} has {assets.Count} assets");
}

🧙‍♂️ Features

  • 🔐 Token authentication via:

    • Client credentials (client ID + secret)
    • IAccessProvider (from Studio integration context)
  • 🗂️ Folder-aware access to:

    • Assets
    • Buckets
    • Bucket Files
  • 🔁 Refresh methods to update all collections dynamically

  • 🪝 Logs events using TraceEventType and customizable log actions

  • 📦 File downloads via signed URI


⚙️ Public Properties

Property Type Description
BaseURL string? Base URL for Orchestrator API
Token string OAuth2 access token
Folders ObservableCollection<Folder> List of accessible folders
Assets ObservableCollection<KeyValuePair<Folder, ObservableCollection<Asset>>> Map of folder → assets
Buckets ObservableCollection<KeyValuePair<Folder, ObservableCollection<Bucket>>> Map of folder → buckets
BucketFiles ObservableCollection<KeyValuePair<Bucket, ObservableCollection<BucketFile>>> Map of bucket → files

🔁 Methods

Method Description
InitializeAsync() Initializes and refreshes all data
UpdateTokenAsync(force) Updates the token using either credentials or provider
RefreshFoldersAsync() Fetches all available folders
RefreshAssetsAsync() Fetches assets scoped to each folder
RefreshBucketsAsync() Fetches storage buckets per folder
RefreshBucketFilesAsync() Fetches files in each bucket
DownloadBucketFile() Downloads a file from storage buckets using a signed URI

📦 Downloading Files

await service.DownloadBucketFile(bucket, bucketFile, "C:\\Downloads\\MyFile.csv");

This method:

  • Fetches a signed download URI from the Orchestrator API
  • Downloads the file using a GET request
  • Saves the file to the given path, creating directories if necessary

🧠 Authentication

Supports two authentication modes:

Mode Details
Client Credentials Provide BaseURL, ClientId, and ClientSecret
IAccessProvider Provide an implementation via UiPath Studio plugin context

📚 Dependencies


📖 License

This project is licensed under the MIT License.



Built and maintained by Yash Brahmbhatt

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Yash.Orchestrator:

Package Downloads
Yash.Config

Configuration management and wizard utilities for UiPath.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
25.8.8 96 8/9/2025
25.8.7 100 8/9/2025
25.8.6 189 8/5/2025
25.7.2 98 7/31/2025
25.7.1 95 7/30/2025

Initial release with support for folders, assets, buckets, and file download.