Skip to Content

Embedding API

Workspace content APIs

Find the dashboards and metrics of a workspace, so you can embed them.

These endpoints read what a workspace holds. Use the ids they return to create an embed or to update workspace dashboards.

TaskEndpointReturns
Fetch dashboards by workspacePOST /api/v2/workspace/dashboardsexternalDashboardId of each dashboard
Fetch metrics by workspacePOST /api/v2/workspace/metricsmetricId of each metric
Fetch metrics by dashboardPOST /api/v2/workspace/dashboard/metricsmetricId of each metric on one dashboard

Before you start

You have a service token. See Authentication.

Workspaces are named by workspaceName everywhere. The lists include dashboards and metrics that your customers made in their embeds.

Next, fetch dashboards by workspace.

On this page