Table of Contents

Public API

This page documents Orleans.Lattice.Api.Abstractions 10.5.0, in the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at api.md, and llms.txt lists every page.

Every public type of Orleans.Lattice.Api.Abstractions, grouped by namespace. The package is the transport-agnostic contract of the API facades: service interfaces, the request / response models they exchange, their typed exceptions, and one stable serialization-alias class per namespace. It has no registration extension, no options, and no implementation of its own service interfaces. The package overview explains why the contract is published separately, and Architecture describes how the facades, their gRPC bindings, the MCP server and the Explorer meet at it.

Behaviour - authorization, scoping, validation, the exceptions a call actually throws - belongs to the facade that implements an interface, so each namespace below links to its facade and binding docs for the narrative.

Contents

Namespace map

Namespace Service interfaces Implemented by Bound to gRPC by Alias class (prefix)
Orleans.Lattice.Api.Operations ILatticeOperations the backup, schema and tree-administration facades each of those facades' bindings ApiOperationTypeAliases (oio.)
Orleans.Lattice.Api.Region ILatticeRegionCatalog Orleans.Lattice.Api.Mcp - ApiRegionTypeAliases (olrg.)
Orleans.Lattice.Api.State ILatticeStateMetricsObserver, ILatticeStateObserver, ILatticeStateQuery Orleans.Lattice.Api.State Orleans.Lattice.Api.State.Grpc ApiStateTypeAliases (ola.)
Orleans.Lattice.Api.Data ILatticeDataApi Orleans.Lattice.Api.Data Orleans.Lattice.Api.Data.Grpc DataApiTypeAliases (olad.)
Orleans.Lattice.Api.Auth ILatticeAuthAdmin Orleans.Lattice.Api.Auth Orleans.Lattice.Api.Auth.Grpc ApiAuthTypeAliases (oli.)
Orleans.Lattice.Api.Backup ILatticeBackupControl, ILatticeBackupOperations Orleans.Lattice.Api.Backup Orleans.Lattice.Api.Backup.Grpc ApiBackupTypeAliases (oib.)
Orleans.Lattice.Api.Schema ILatticeSchemaComplianceOperations, ILatticeSchemaControl, ILatticeSchemaOperations Orleans.Lattice.Api.Schema Orleans.Lattice.Api.Schema.Grpc ApiSchemaTypeAliases (ois.)
Orleans.Lattice.Api.Replication ILatticeReplicationControl, ILatticeReplicationPeerAdmin, ILatticeReplicationStatus Orleans.Lattice.Api.Replication Orleans.Lattice.Api.Replication.Grpc ApiReplicationTypeAliases (oir.)
Orleans.Lattice.Api.Telemetry ILatticeTelemetry Orleans.Lattice.Api.Telemetry Orleans.Lattice.Api.Telemetry.Grpc ApiTelemetryTypeAliases (oitl.)
Orleans.Lattice.Api.TreeAdmin ILatticeStorageUsageOperations, ILatticeTreeAdmin, ILatticeTreeAdminOperations, ILatticeWalReclamation Orleans.Lattice.Api.TreeAdmin Orleans.Lattice.Api.TreeAdmin.Grpc ApiTreeAdminTypeAliases (oit.)
Orleans.Lattice.Api.TenantAdmin ILatticeTenantAccessAdmin, ILatticeTenantAdmin, ILatticeTenantDirectoryAdmin, ILatticeTenantGrantAdmin, ILatticeTenantPolicyAdmin, ILatticeTenantQuotaUsage, ILatticeTenantRegionAdmin, ILatticeTenantSelfService Orleans.Lattice.Api.TenantAdmin Orleans.Lattice.Api.TenantAdmin.Grpc ApiTenantAdminTypeAliases (oitn.)
Orleans.Lattice.Api.Apps ILatticeAppBridge, ILatticeAppCatalog, ILatticeAppRoleBindings, ILatticeAppsControl, ILatticeAppWorkspace Orleans.Lattice.Api.Apps Orleans.Lattice.Api.Apps.Grpc ApiAppsTypeAliases (oia.)

The in-process facades and the remote adapters implement the same interfaces, so a consumer written against an interface works unchanged in-process and over the wire. The remote adapters are the Orleans.Lattice.Api.Mcp server in remote mode (which implements the interfaces over the gRPC bindings; co-hosted, it resolves the facades from dependency injection instead), the Explorer's shell transports, and the public gRPC clients some bindings ship - for example LatticeReplicationStatusGrpcClient (ILatticeReplicationStatus) and the apps clients (ILatticeAppsControl, ILatticeAppRoleBindings, ILatticeAppCatalog, ILatticeAppWorkspace, ILatticeAppBridge).

Conventions

  • Serialization. Most models are Orleans-serializable: they carry [GenerateSerializer] and an [Alias] drawn from their namespace's alias class in the table above. The alias string is the wire and persisted identity of the type and never changes, so the alias classes are part of the public surface. The exceptions are the state facade's in-process result wrappers (TreeSummaryResult, ShardSummariesResult, TreeStructureResult, EntryScanResult, EntryDetailResult and EntryHistoryResult), the two in-process stream-shaping option records (DataSetManyStreamOptions and TreeBulkLoadStreamOptions), a few enums that carry no attribute, and most typed exceptions (next bullet).
  • Exceptions. The typed exceptions are raised in-process by the facades, so a binding can surface each as a distinct outcome. Only AppBridgeException and LatticeReplicationEngineNotHostedException are Orleans-serializable. Every exception derives directly from System.Exception except two: LatticeReplicationEngineNotHostedException (InvalidOperationException) and TenantAccessConfinementException (ArgumentException). Each of those two ships a no-op same-silo copier beside it and implements the core library's ILatticeDomainFault marker, which tells a broad catch written for the BCL base type that the exception is a deliberate domain refusal to let propagate, not a framework failure to recover from.
  • Long-running work. Operation-tracking interfaces (ILatticeBackupOperations, ILatticeSchemaOperations, ILatticeSchemaComplianceOperations, ILatticeTreeAdminOperations, ILatticeStorageUsageOperations) extend ILatticeOperations and return a LatticeOperationHandle from each start verb. See Long-running operations.
  • Shared core types. Several models expose types from the packages this one references - the core library (for example HybridLogicalClock and LatticeMergeMode), Orleans.Lattice.Membership, Orleans.Lattice.Auth, Orleans.Lattice.Backup and Orleans.Lattice.Schema - so a contract consumer takes those packages as transitive dependencies.

Reading the declaration reference

Each namespace section lists every public type with its kind and summary, followed by the declaration reference: the declaration line and every directly declared public member and overload, in source order, with enum values. Inherited framework members and compiler-generated record members are not listed. For Orleans.Lattice.Api.TreeAdmin, Orleans.Lattice.Api.TenantAdmin and Orleans.Lattice.Api.Apps the member-level reference is maintained once, in the facade's own API page, and is linked rather than repeated here.

Totals: 338 public types across 12 namespaces.

Orleans.Lattice.Api.Region

Region discovery: the regions a server can route a call to and the facade groups each one serves. Implemented today by the MCP server (lattice_list_regions).

Type Kind Summary
ILatticeRegionCatalog interface The transport-agnostic region discovery contract: enumerates the regions the server can route API calls to (the current cluster plus any reachable, credentialed peer), each with its per-group reachability.
ApiRegionTypeAliases static class Centralised Orleans serialization alias constants for every Orleans.Lattice.Api.Region type that participates in the wire format.
LatticeRegionDescriptor sealed record A region the server can route API calls to: the current cluster the binding is co-hosted with (or primarily wired to), plus any reachable, credentialed peer.
LatticeRegionGroupReachability sealed record The reachability of a single Lattice API facade group within one region, as reported by ILatticeRegionCatalog.
LatticeRegionTenantScope sealed record One tenant's standing in one region, attached to a LatticeRegionDescriptor when the catalog answered a tenant-scoped discovery call.

ILatticeRegionCatalog

Source (line 18).

public interface ILatticeRegionCatalog

  • Task<IReadOnlyList<LatticeRegionDescriptor>> ListRegionsAsync(CancellationToken cancellationToken = default)

ApiRegionTypeAliases

Source (line 16).

public static class ApiRegionTypeAliases

  • public const string LatticeRegionGroupReachability
  • public const string LatticeRegionDescriptor
  • public const string LatticeRegionTenantScope

LatticeRegionDescriptor

Source (line 21).

public sealed record LatticeRegionDescriptor

  • public required string RegionId { get; init; }
  • public string ClusterId { get; init; }
  • public required bool IsCurrent { get; init; }
  • public IReadOnlyList<LatticeRegionGroupReachability> Groups { get; init; }
  • public LatticeRegionTenantScope? TenantScope { get; init; }

LatticeRegionGroupReachability

Source (line 21).

public sealed record LatticeRegionGroupReachability

  • public required string Group { get; init; }
  • public required bool Available { get; init; }
  • public string? Endpoint { get; init; }

LatticeRegionTenantScope

Source (line 31).

public sealed record LatticeRegionTenantScope

  • public required string TenantId { get; init; }
  • public required bool IsAllowed { get; init; }
  • public required TenantRegionLifecycleStatus Status { get; init; }
  • public required bool IsResident { get; init; }