Health Response Model (dotnet/Models.cs)

Agentic-AI-Pipeline · clients/dotnet/Models.cs · csharp · Apache-2.0
ai, infra, integration, lang:csharp, tag:model

Defines the structure for health check responses, including status and version.

// Source: https://github.com/hoangsonww/Agentic-AI-Pipeline | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
using System.Text.Json.Serialization;

namespace AgenticAI.Client;

// ---------------------------------------------------------------------------
// Health
// ---------------------------------------------------------------------------

/// <summary>
/// Response from GET /health.
/// </summary>
/// <param name="Status">Operational status string, e.g. "ok".</param>
/// <param name="Version">Server semantic version string, e.g. "0.4.0".</param>
public sealed record HealthResponse(
    [property: JsonPropertyName("status")]  string Status,
    [property: JsonPropertyName("ver

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key