Skip to content

Oura

Modern .NET SDK for Oura generated from the provider's OpenAPI definition with AutoSDK.

Nuget package dotnet License: MIT Discord

Generated from the source spec

Built from Oura's OpenAPI definition so the SDK stays close to the upstream API surface.

Auto-updated

Designed for fast regeneration and low-friction updates when the upstream API changes without breaking compatibility.

Modern .NET

Targets current .NET practices including nullability, trimming, NativeAOT awareness, and source-generated serialization.

Docs from examples

Examples stay in sync between the README, MkDocs site, and integration tests through the AutoSDK docs pipeline.

Usage

1
2
3
using Oura;

using var client = new OuraClient(apiKey);

Generate

Basic example showing how to create a client and make a request.

1
using var client = new OuraClient(apiKey);

MEAI Tools

Example showing how to use Oura Ring data as AIFunction tools with any IChatClient.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
// Create an Oura client with your API key.
using var client = new OuraClient(apiKey);

// Get all tools using the aggregate method.
var tools = client.AsTools();

// These tools can be passed to any IChatClient for function calling:
// var chatResponse = await chatClient.GetResponseAsync(
//     "How did I sleep last night?",
//     new() { Tools = [getDailySleepTool, getSleepDataTool] });

Support

Bugs

Open an issue in tryAGI/Oura.

Ideas and questions

Use GitHub Discussions for design questions and usage help.

Community

Join the tryAGI Discord for broader discussion across SDKs.

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.