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
<PackageReference Include="Soenneker.Grafana.OpenApiClient" Version="11.0.95" />
<PackageVersion Include="Soenneker.Grafana.OpenApiClient" Version="11.0.95" />
<PackageReference Include="Soenneker.Grafana.OpenApiClient" />
paket add Soenneker.Grafana.OpenApiClient --version 11.0.95
#r "nuget: Soenneker.Grafana.OpenApiClient, 11.0.95"
#:package Soenneker.Grafana.OpenApiClient@11.0.95
#addin nuget:?package=Soenneker.Grafana.OpenApiClient&version=11.0.95
#tool nuget:?package=Soenneker.Grafana.OpenApiClient&version=11.0.95
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.2.0)
- Microsoft.Kiota.Serialization.Form (>= 2.2.0)
- Microsoft.Kiota.Serialization.Json (>= 2.2.0)
- Microsoft.Kiota.Serialization.Multipart (>= 2.2.0)
- Microsoft.Kiota.Serialization.Text (>= 2.2.0)
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 |
Update soenneker/nuget-resilient-publish action to v5 (#266)
Automatically merged