Skip to main content

Analytics: Boards

Analytics in the left navigation opens Boards (/dashboards/boards). A board is a document that you author as YAML or Markdown source. The Analytics service compiles it, evaluates its data and renders it to SVG, PNG, PDF, HTML or JSON. This page describes what Boards does today and where it stops.

To build and share a board step by step, see Build, share and export a board.


Two views, one menu entry​

Boards at /dashboards/boards versus the legacy workspace canvas

ViewWhereStatus
BoardsAnalytics → Boards, /dashboards/boardsThe current view. Source-authored boards, saved revisions, assistant.
Workspace canvas/dashboard/:workspaceId or /studio/dashboards/:workspaceIdOlder streaming view. Reachable by URL only; it has no menu entry. See Legacy workspace canvas.

The routes /dashboards and /studio/boards redirect to /dashboards/boards. If no organization is selected, the page shows "Select an organization to open boards."


What a board is​

A board is source text plus its data definitions. The smallest useful board has queries (data), charts (how to draw it) and rows (where to place it):

title: Service activity (synthetic)
queries:
activity:
rows:
- {month: Jul, visits: 120}
- {month: Aug, visits: 145}
- {month: Sep, visits: 138}
charts:
visits:
type: line
title: Monthly visits
query: activity
x: month
y: visits
rows:
- visits

The library accepts two source formats, shown in its Source format field: YAML and Markdown. A Markdown board keeps prose and places charts with {{ chart name }} markers.

How a board is produced

The same compiler and renderers serve the platform, the saved-board API and the hydra-charts command line tool. Rendering happens in Go; there is no Python service and no browser rendering step.


The library​

Analytics → Boards opens the board library ("Your analytical dashboards and medical reports, in one place."). Each board is a preview card with its last update and a Draft or Published label.

ControlWhat it does
Search boards, Required tags (comma separated)Filters the list. Clear search resets it.
Create boardOpens the creation panel. See the how-to.
Open boardOpens the board with the editor hidden.
Delete boardDeletes the board, all its revisions and its stored exports. The confirmation text says this cannot be undone.

Boards belong to the organization you have selected. Changing organization reloads the page, so a board from the previous organization is never shown under the new one.


The editor​

Select Show editor on an open board; Hide editor returns to the full preview and keeps unsaved edits. Tabs in the editor:

TabUse it to
Arrange chartsReorder, resize and group charts.
ChartsList charts by title and type and edit the selected one in an inspector.
Add chartInsert a starter chart by category: Compare, Trends, Proportions, Summary, Maps, Medical.
DatasetsPreview and reuse data. See Data.
Board settingsBoard title, width and title alignment, size and colour.
Source & dataEdit the full YAML or Markdown and the variables.

Changes made in the controls and in the source are synchronized and the preview refreshes after a short pause (450 ms in the frontend). If an edit makes the source invalid, the preview keeps the last valid rendering and shows the error; fix it before you save.

The standard starters are sixteen chart types plus eight medical presets. The map chart types render embedded boundaries in Go, without map tiles.

Save, Publish, history​

ActionResult
SaveStores the current draft and any pending control edits as a new revision. If someone saved a newer revision first, you get a revision conflict; keep your source, reload and reconcile.
PublishValidates and renders the draft, then marks that immutable revision as Published. Later saves create drafts and leave the published revision unchanged. Publishing does not create a public link or change who can see the board.
Revision historyLists older versions read-only. Restoring one creates a new current revision.

Data​

A chart reads a named query. A query can be:

  • Inline rows written in the board, as in the example above. Starters and the creation templates use clearly marked synthetic data.
  • The service catalogue. Datasets → Service catalogue lists server-owned datasets for your organization, for example pipeline and agent activity streams. Run preview shows the returned rows without changing the board, and Use dataset adds a named query and table to the draft. The query is evaluated again whenever the board is rendered; it is not a saved snapshot.
  • A saved connection. Datasets → Connected data sources lists SQL and FHIR R4 connections from the Data Layer connectors of the same organization. Credentials stay in the connector; the board stores only a reference. SQL must be read-only. For FHIR you choose a resource and filters in the editor. Previews are capped at 200 rows and 20 seconds, and a connected query returns at most 1,000 rows. A board cannot combine connections from different organizations, and cross-source joins are not supported.
  • Configured read-only SQL sources, bound to an organization by the operator in the Analytics host configuration.

Manage connections opens the Connectors page in a new tab so your draft is preserved; return and use Refresh connections.

validate checks syntax and schema only. A board can pass validation and still fail to evaluate because a dataset is unavailable, so always check the preview.

Medical components​

Add chart → Medical inserts one of eight versioned presets: medical.patient_summary, medical.vitals_overview, medical.lab_results, medical.medications_allergies, medical.conditions_procedures, medical.clinical_timeline, medical.clinical_report and medical.evidence_summary. They present the records you supply; they do not interpret them clinically. Check units, dates, reference ranges and missing values in the preview. Use synthetic records while testing.


Dashboard assistant​

On a board that is open for editing, Dashboard assistant opens a side panel. The assistant calls the workflow engine at /copilot/board-assistant, which uses the same configured model as the workflow Copilot. It proposes new board source; Analytics validates the proposal with the board compiler.

  1. Describe the dashboard or the change in Your request (up to 4,000 characters).
  2. A Validated proposal appears. Expand Review proposed source to read it.
  3. Apply to draft puts it in the editor and preview. Nothing is stored until you choose Save (or Create in the library).

Things to know:

  • Connected data only (a checkbox, on by default) rejects proposals that keep static query data. Turn it off only when you want a mixed or sample board.
  • The assistant receives connection metadata (tables, FHIR search parameters), not query results. It does not verify the data a connected query returns.
  • If you edited the draft while the assistant worked, the proposal is marked stale: "The draft has changed. Send a new request to update the proposal."
  • Drafts larger than 128 KB cannot be sent to the assistant ("This draft exceeds the assistant's 128 KB limit"). Historical revisions are read-only and cannot take proposals.
  • Errors you may see: "The assistant's model is unavailable" (an operator must check the workflow engine's model configuration) and "The assistant could not produce a valid configuration. Your board has not changed."
  • The command line tool's editor does not include the assistant.

Export and share​

Export downloads the current board, including unsaved edits, as SVG, PNG, PDF, HTML or JSON (evaluated data). The platform names the file board.<format>.

Stored exports keeps immutable copies of a saved board revision. Each row shows Format, Revision and Expires (UTC) with Download, Delete export and Copy organization link. Limits documented by the service: seven-day default retention, 8 MiB per export and 64 MiB or 128 exports per organization. The running service reports its own limits at /capabilities.

The share link has the form https://<platform host>/dashboards/boards?artifact=<export id>. It is an organization link: the platform says "Organization link copied. Recipients must sign in to the same organization." Deleting the export revokes the link.


Real time​

Boards are not a live stream. A board re-evaluates its queries each time it is previewed or rendered. Live delivery exists only in the legacy canvas below.

The Analytics service also ingests events from NATS and can deliver to browsers over WebSocket. A missing NATS connection leaves the service running with ingestion unavailable, so a healthy /health does not prove streaming works.


Legacy workspace canvas​

Legacy view

This is the older streaming dashboard. It is not linked from the menu and it is separate from Boards: a workspace layout is not a saved board.

Open /dashboard/:workspaceId (or /studio/dashboards/:workspaceId) with a workspace id. The page shows a title, a Copilot button and a drag-and-resize grid. An empty canvas says "Your canvas is empty. Open the copilot and ask it to add a chart."

Modules. Each module has a chart type: kpi, line, bar, table, pie, scatter, gauge, heatmap, alert, funnel, markdown, statlist, radar. No default modules are created; a workspace starts empty.

Data. A module is bound to a stream subject. The page subscribes to it over a WebSocket (/api/v1/dashboard/ws/<workspaceId>) and also fetches a snapshot every 30 seconds as a fallback when NATS is not streaming. There is no "Live" toggle.

Dashboard Copilot. The Copilot panel sends your message to the Analytics service and applies the actions it returns:

ActionEffect in the client
add_moduleAdds a module to the grid.
update_moduleChanges a module's chart type or config.
remove_moduleRemoves a module.
run_queryAdds a one-time table module carrying the SQL; the module is not itself the result.
extract_dataDownloads a file from the download_url the server returns, named export.<format> (csv if none).
answerText reply only.

The client type also lists create_workspace, but the client has no handler for it, so it does nothing.


Not available​

  • Scheduled delivery, email delivery of boards, and a Reports section.
  • Parquet export. The formats are the five above.
  • Sharing with named users or roles. Links are organization links only, and publishing a board does not change permissions.
  • A drag-and-drop free canvas for Boards. The editor is a source and property editor with a chart arrangement tab.
  • Automatic conversion of any dataset into any chart, and editing an imported parent file from the editor.

Something unclear? Send documentation feedback by email.