namespace StellaOps.Provcache.Api;
///
/// Response model for GET /v1/provcache/{veriKey}.
///
public sealed class ProvcacheGetResponse
{
///
/// The VeriKey that was looked up.
///
public required string VeriKey { get; init; }
///
/// The cache entry if found.
///
public ProvcacheEntry? Entry { get; init; }
///
/// The source of the cache hit (valkey, postgres, etc.).
///
public string? Source { get; init; }
///
/// Time taken for the lookup in milliseconds.
///
public double ElapsedMs { get; init; }
///
/// Status: "hit", "miss", "bypassed", "expired".
///
public required string Status { get; init; }
}