Soenneker.N8n.OpenApiClientUtil 4.0.142

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 4.0.142
                    
NuGet\Install-Package Soenneker.N8n.OpenApiClientUtil -Version 4.0.142
                    
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="4.0.142" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.N8n.OpenApiClientUtil" Version="4.0.142" />
                    
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 4.0.142
                    
#r "nuget: Soenneker.N8n.OpenApiClientUtil, 4.0.142"
                    
#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@4.0.142
                    
#: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=4.0.142
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.N8n.OpenApiClientUtil&version=4.0.142
                    
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 net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos 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

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
4.0.162 42 9/10/2026
4.0.161 62 9/9/2026
4.0.160 62 9/8/2026
4.0.159 47 9/8/2026
4.0.158 56 9/8/2026
4.0.157 58 9/8/2026
4.0.156 56 9/8/2026
4.0.155 54 9/8/2026
4.0.154 67 9/7/2026
4.0.153 65 9/7/2026
4.0.152 83 9/6/2026
4.0.151 59 9/5/2026
4.0.150 59 9/4/2026
4.0.149 61 9/4/2026
4.0.148 56 9/4/2026
4.0.147 60 9/4/2026
4.0.146 60 9/4/2026
4.0.145 58 9/4/2026
4.0.144 73 9/4/2026
4.0.142 61 9/3/2026
Loading failed