Soenneker.N8n.OpenApiClientUtil 11.0.241

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.N8n.OpenApiClientUtil --version 11.0.241
                    
NuGet\Install-Package Soenneker.N8n.OpenApiClientUtil -Version 11.0.241
                    
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="Soenneker.N8n.OpenApiClientUtil" Version="11.0.241" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.N8n.OpenApiClientUtil" Version="11.0.241" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.N8n.OpenApiClientUtil" />
                    
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 Soenneker.N8n.OpenApiClientUtil --version 11.0.241
                    
#r "nuget: Soenneker.N8n.OpenApiClientUtil, 11.0.241"
                    
#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 Soenneker.N8n.OpenApiClientUtil@11.0.241
                    
#: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=Soenneker.N8n.OpenApiClientUtil&version=11.0.241
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.N8n.OpenApiClientUtil&version=11.0.241
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.N8n.OpenApiClientUtil

Creates and caches authenticated n8n API clients for one or more n8n servers.

Installation

dotnet add package Soenneker.N8n.OpenApiClientUtil

Configuration

{
  "N8n": {
    "ApiKey": "your-api-key",
    "ClientBaseUrl": "https://n8n.example.com/api/v1"
  }
}

Usage

using Soenneker.N8n.OpenApiClientUtil.Abstract;
using Soenneker.N8n.OpenApiClientUtil.Registrars;

services.AddN8nOpenApiClientUtilAsSingleton();

IN8nOpenApiClientUtil n8n = serviceProvider
    .GetRequiredService<IN8nOpenApiClientUtil>();

var client = await n8n.Get(cancellationToken);
var workflows = await client.Workflows.GetAsync(cancellationToken: cancellationToken);

Use Get(apiKey, baseUrl) for another n8n server. Equivalent connection settings reuse the same generated client within the utility's lifetime.

Scoped registration creates a generated-client cache per application scope while retaining the shared HTTP provider. Disposing the scoped utility does not remove that shared provider or its clients.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.256 43 11/28/2026
11.0.255 56 11/27/2026
11.0.254 84 11/26/2026
11.0.253 92 11/25/2026
11.0.252 110 11/24/2026
11.0.251 131 11/21/2026
11.0.250 109 11/20/2026
11.0.249 157 11/19/2026
11.0.248 106 11/19/2026
11.0.245 127 11/18/2026
11.0.244 123 11/17/2026
11.0.243 126 11/15/2026
11.0.242 119 11/15/2026
11.0.241 127 11/15/2026
11.0.240 133 11/14/2026
11.0.239 175 11/11/2026
11.0.238 111 11/11/2026
11.0.237 96 11/11/2026
11.0.236 104 11/11/2026
11.0.235 109 11/11/2026
Loading failed

Update dependency Soenneker.N8n.OpenApiClient to 11.0.98 (#367)