Soenneker.Sentry.OpenApiClient 11.0.156

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

Generated request builders and models for Sentry organizations, projects, teams, issues, events, releases, alerts, integrations, and account resources.

Installation

dotnet add package Soenneker.Sentry.OpenApiClient

Usage

using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Sentry.OpenApiClient;

using var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization =
    new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", authToken);

var adapter = new HttpClientRequestAdapter(
    new AnonymousAuthenticationProvider(),
    httpClient: httpClient)
{
    BaseUrl = "https://sentry.io"
};

var client = new SentryOpenApiClient(adapter);
var organizations = await client.Api.Zero.Organizations.GetAsync(
    cancellationToken: cancellationToken);

Set BaseUrl explicitly because the generated schema default contains an unresolved {region} placeholder. For self-hosted Sentry, use the installation origin without appending /api/0; the generated builders include that route prefix.

Sentry auth tokens use the bearer scheme. The anonymous Kiota authentication provider is intentional because the supplied HttpClient already carries the Authorization header.

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.Sentry.OpenApiClient:

Package Downloads
Soenneker.Sentry.OpenApiClientUtil

Provides a lazily initialized, authenticated Sentry API client.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.156 57 11/20/2026
11.0.155 87 11/18/2026
11.0.154 94 11/18/2026
11.0.153 95 11/17/2026
11.0.152 125 11/14/2026
11.0.151 103 11/13/2026
11.0.150 101 11/12/2026
11.0.149 104 11/11/2026
11.0.148 115 11/11/2026
11.0.147 139 11/3/2026
11.0.146 107 11/3/2026
11.0.145 155 11/3/2026
11.0.144 108 11/2/2026
11.0.143 109 11/2/2026
11.0.142 115 11/2/2026
11.0.141 126 10/31/2026
11.0.140 115 10/31/2026
11.0.139 101 10/30/2026
11.0.138 116 10/30/2026
11.0.137 120 10/29/2026
Loading failed

Update Soenneker.Sentry.OpenApiClient