Soenneker.Composio.OpenApiClientUtil
11.0.319
Prefix Reserved
dotnet add package Soenneker.Composio.OpenApiClientUtil --version 11.0.319
NuGet\Install-Package Soenneker.Composio.OpenApiClientUtil -Version 11.0.319
<PackageReference Include="Soenneker.Composio.OpenApiClientUtil" Version="11.0.319" />
<PackageVersion Include="Soenneker.Composio.OpenApiClientUtil" Version="11.0.319" />
<PackageReference Include="Soenneker.Composio.OpenApiClientUtil" />
paket add Soenneker.Composio.OpenApiClientUtil --version 11.0.319
#r "nuget: Soenneker.Composio.OpenApiClientUtil, 11.0.319"
#:package Soenneker.Composio.OpenApiClientUtil@11.0.319
#addin nuget:?package=Soenneker.Composio.OpenApiClientUtil&version=11.0.319
#tool nuget:?package=Soenneker.Composio.OpenApiClientUtil&version=11.0.319
Soenneker.Composio.OpenApiClientUtil
Provides a lazily created, cached Composio OpenAPI client backed by Soenneker.Composio.HttpClients.
Installation
dotnet add package Soenneker.Composio.OpenApiClientUtil
Configuration
{
"Composio": {
"ApiKey": "your-project-api-key"
}
}
The underlying HTTP provider sends the key in x-api-key and targets https://backend.composio.dev. See Soenneker.Composio.HttpClients for the optional header-template and base-address overrides.
Registration
using Soenneker.Composio.OpenApiClientUtil.Registrars;
services.AddComposioOpenApiClientUtilAsScoped();
Use AddComposioOpenApiClientUtilAsSingleton() when one cached generated client should be shared by the application.
Usage
using Soenneker.Composio.OpenApiClient;
using Soenneker.Composio.OpenApiClientUtil.Abstract;
public sealed class ToolkitService
{
private readonly IComposioOpenApiClientUtil _clients;
public ToolkitService(IComposioOpenApiClientUtil clients)
{
_clients = clients;
}
public async Task List(CancellationToken cancellationToken)
{
ComposioOpenApiClient client = await _clients.Get(cancellationToken);
var result = await client.Api.V3.Toolkits.GetAsync(request =>
{
request.QueryParameters.Limit = 50;
}, cancellationToken);
}
}
Each utility instance caches one generated client. Both registrations use a singleton HTTP provider; a scoped utility can therefore be discarded without disposing the shared HttpClient. The HTTP provider remains responsible for that client's lifetime and disposes it when the application container shuts down.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Composio.HttpClients (>= 11.0.179)
- Soenneker.Composio.OpenApiClient (>= 11.0.182)
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 |
|---|---|---|
| 11.0.319 | 49 | 11/21/2026 |
| 11.0.318 | 56 | 11/20/2026 |
| 11.0.317 | 88 | 11/19/2026 |
| 11.0.316 | 78 | 11/19/2026 |
| 11.0.315 | 79 | 11/19/2026 |
| 11.0.314 | 73 | 11/18/2026 |
| 11.0.313 | 80 | 11/18/2026 |
| 11.0.312 | 81 | 11/18/2026 |
| 11.0.311 | 81 | 11/18/2026 |
| 11.0.310 | 79 | 11/17/2026 |
| 11.0.309 | 76 | 11/17/2026 |
| 11.0.308 | 94 | 11/15/2026 |
| 11.0.307 | 94 | 11/15/2026 |
| 11.0.306 | 93 | 11/15/2026 |
| 11.0.305 | 97 | 11/14/2026 |
| 11.0.304 | 98 | 11/12/2026 |
| 11.0.303 | 97 | 11/11/2026 |
| 11.0.302 | 94 | 11/11/2026 |
| 11.0.301 | 94 | 11/11/2026 |
| 11.0.300 | 89 | 11/11/2026 |
Update dependency Soenneker.Composio.OpenApiClient to 11.0.182 (#437)