Soenneker.Grafana.OpenApiClient 11.0.95

Prefix Reserved
dotnet add package Soenneker.Grafana.OpenApiClient --version 11.0.95
                    
NuGet\Install-Package Soenneker.Grafana.OpenApiClient -Version 11.0.95
                    
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.Grafana.OpenApiClient" Version="11.0.95" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Grafana.OpenApiClient" Version="11.0.95" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Grafana.OpenApiClient" />
                    
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.Grafana.OpenApiClient --version 11.0.95
                    
#r "nuget: Soenneker.Grafana.OpenApiClient, 11.0.95"
                    
#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.Grafana.OpenApiClient@11.0.95
                    
#: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.Grafana.OpenApiClient&version=11.0.95
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Grafana.OpenApiClient&version=11.0.95
                    
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.Grafana.OpenApiClient

Call Grafana's HTTP API through strongly typed request builders and models generated by Kiota from Grafana's OpenAPI description.

Installation

dotnet add package Soenneker.Grafana.OpenApiClient

Create a client

using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Grafana.OpenApiClient;
using System.Net.Http.Headers;

var httpClient = new HttpClient
{
    BaseAddress = new Uri("https://grafana.example.com/api")
};
httpClient.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", serviceAccountToken);

var adapter = new HttpClientRequestAdapter(
    new AnonymousAuthenticationProvider(),
    httpClient: httpClient);

var client = new GrafanaOpenApiClient(adapter);

The base URL must be the absolute Grafana API root, including /api. Generated request builders append endpoint paths such as /folders and /dashboards.

Using the generated surface

The client follows Grafana's API hierarchy. For example, folder operations are available beneath client.Folders; endpoint methods accept request configuration and cancellation tokens.

Generated method names and models follow Grafana's source description and can change with it. Keep application-specific abstractions outside the generated namespace. Use Soenneker.Grafana.OpenApiClientUtil when you want application registration and managed client reuse.

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 (1)

Showing the top 1 NuGet packages that depend on Soenneker.Grafana.OpenApiClient:

Package Downloads
Soenneker.Grafana.OpenApiClientUtil

Provides a cached Grafana OpenAPI client backed by an authenticated HTTP provider

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.95 194 11/30/2026
11.0.94 167 11/27/2026
11.0.93 114 11/24/2026
11.0.92 110 11/20/2026
11.0.91 131 11/18/2026
11.0.90 102 11/18/2026
11.0.89 120 11/17/2026
11.0.88 139 11/14/2026
11.0.87 132 11/11/2026
11.0.86 144 11/4/2026
11.0.85 120 11/3/2026
11.0.84 112 11/3/2026
11.0.83 165 11/3/2026
11.0.82 114 11/2/2026
11.0.81 125 11/2/2026
11.0.80 117 10/31/2026
11.0.79 121 10/30/2026
11.0.78 106 10/30/2026
11.0.77 122 10/27/2026
11.0.75 179 10/26/2026
Loading failed

Update soenneker/nuget-resilient-publish action to v5 (#266)

Automatically merged