Soenneker.Sentry.HttpClients 11.0.174

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

Provides a cached HttpClient for Sentry organizations, projects, teams, issues, events, releases, alerts, integrations, and account resources.

Installation

dotnet add package Soenneker.Sentry.HttpClients

Configuration

{
  "Sentry": {
    "ApiKey": "your-sentry-auth-token"
  }
}

Usage

using Soenneker.Sentry.HttpClients.Abstract;
using Soenneker.Sentry.HttpClients.Registrars;

services.AddSentryOpenApiHttpClientAsSingleton();

public sealed class SentryOrganizationReader
{
    private readonly ISentryOpenApiHttpClient _sentry;

    public SentryOrganizationReader(ISentryOpenApiHttpClient sentry)
    {
        _sentry = sentry;
    }

    public async Task<string> GetOrganizations(CancellationToken cancellationToken)
    {
        HttpClient client = await _sentry.Get(cancellationToken);
        return await client.GetStringAsync("api/0/organizations/", cancellationToken);
    }
}

The provider sends Authorization: Bearer <token> and targets https://sentry.io/. For self-hosted Sentry, set Sentry:ClientBaseUrl to the installation origin, without appending /api/0. Header name and value formatting can be overridden with Sentry:AuthHeaderName and Sentry:AuthHeaderValueTemplate.

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.HttpClients:

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.174 91 11/19/2026
11.0.172 87 11/18/2026
11.0.171 68 11/18/2026
11.0.170 75 11/18/2026
11.0.169 84 11/18/2026
11.0.168 125 11/15/2026
11.0.167 108 11/15/2026
11.0.165 165 11/11/2026
11.0.164 113 11/11/2026
11.0.163 102 11/11/2026
11.0.162 96 11/11/2026
11.0.161 171 11/3/2026
11.0.160 110 11/3/2026
11.0.159 103 11/3/2026
11.0.158 107 11/3/2026
11.0.157 102 11/3/2026
11.0.156 247 10/27/2026
11.0.155 131 10/27/2026
11.0.154 129 10/26/2026
11.0.153 124 10/26/2026
Loading failed

Updated Multiple NuGet packages