API Reference
Manage dashboards, visuals, security policies, and multi-tenancy programmatically
The Semaphor API lets you manage your embedded analytics platform programmatically. Create dashboards, configure security policies, set up multi-tenancy, and define semantic models — all through a REST API.
Authentication
All endpoints require a Bearer token in the Authorization header. Generate one using the Token API.
Authorization: Bearer YOUR_ACCESS_TOKENAPI Sections
Tokens
Generate access tokens for embedding and API authentication.
Discovery
Explore connections, databases, schemas, tables, and semantic datasets.
Query
Execute SQL queries against your connected data sources.
Dashboards
Create, share, validate, and migrate dashboards.
Visuals
Manage reusable saved visuals and their sharing.
Semantic Domains
Define business-friendly models on top of your database tables.
Domain Templates
Read and update the full definition of a semantic domain.
Security Definitions
Create column-level, row-level, and table-level security policies.
Security Assignments
Assign security policies to users, tenants, and groups.
Tenants
Manage tenant organizations for multi-tenancy.
Tenant Users
Create and manage end users within tenants.
Groups
Organize users into groups for bulk sharing and permissions.