corvix.web.snapshot

Build the typed dashboard snapshot payload.

Shared by the GET /api/v1/snapshot route handler and the SSE event generator so both produce an identical SnapshotResponse.

Functions

_snapshot_impl(→ corvix.web.schemas.SnapshotResponse)

Compute and return the typed snapshot payload.

Module Contents

corvix.web.snapshot._snapshot_impl(dashboard: str | None = None) corvix.web.schemas.SnapshotResponse[source][source]

Compute and return the typed snapshot payload.