OverviewIntroduction
Overview

Builder API

Build insights, dashboards, and visual canvases with the Mythic Analytics Builder API.

Overview

The Builder API powers the Mythic Analytics visual workspace. Use it to create insights with saved queries, assemble dashboards with configurable layouts, and build canvas-based analytics flows with tracked nodes and edges.

Base URL

All endpoints share the same base URL and version prefix.

https://api.mythic-analytics.com/api/v1

Response envelope

All endpoints return a JSON envelope.

successboolean
Required

Whether the request succeeded.

dataobject|array|null

Resource payload. Shape depends on the endpoint.

countinteger

Total number of matching resources. Present on list endpoints.

errorstring|null

Error message on failed requests.

Key concepts

ConceptDescription
InsightA saved analytics query with visualization settings
DashboardA configurable grid of insights with layout control
CanvasA visual node-and-edge workspace for mapping analytics flows
NodeA canvas element representing a page, event, or conversion point
EdgeA connection between two canvas nodes showing user flow
Data ConnectionAn external data source available for queries

Versioning

Canvases support full version history. Each publish creates an immutable version snapshot. You can list versions and rollback to any previous version.

Error handling

StatusMeaning
400Invalid JSON, missing required fields, or validation error
401Admin key missing or invalid
404Resource not found
500Internal server error
502Upstream integration error (e.g., GHL API)

Check both the HTTP status code and the error field in the response body for programmatic error handling.