Table of Contents

Class HonuaSpecArtifact

Namespace
Honua.Sdk.Spec.Models
Assembly
Honua.Sdk.Spec.dll

A cached spec artifact retrieved by content hash from GET /v1/spec/artifact/{hash}. This is the closest analog the server exposes today to generated-artifact retrieval. The body is read fully into memory; spec artifacts are content-hash-addressed cache entries (node outputs), so their size is bounded by the producing node.

public sealed record HonuaSpecArtifact : IEquatable<HonuaSpecArtifact>
Inheritance
HonuaSpecArtifact
Implements
Inherited Members

Properties

Content

Raw artifact bytes.

public required ReadOnlyMemory<byte> Content { get; init; }

Property Value

ReadOnlyMemory<byte>

ContentHash

Content hash echoed by the server in the X-Spec-Content-Hash header (the cache key). Falls back to the requested hash when the header is absent.

public required string ContentHash { get; init; }

Property Value

string

ContentType

Response content type, e.g. application/x-arrow. Defaults to application/octet-stream when the server does not specify one.

public required string ContentType { get; init; }

Property Value

string