DashboardsLink insights
Dashboards

Link insights

Replace the set of insights linked to a dashboard. Pass an ordered array of insight IDs. This also controls display order.

curl -X PUT "https://api.mythic-analytics.com/api/v1/dashboards/example_string/insights" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "insight_ids": [
    "ins_8kN2mPqR",
    "ins_3xL7nBcD"
  ]
}'
{
  "success": true,
  "data": "null"
}
PUT
/dashboards/{id}/insights
PUT
Security Scheme
Bearer Tokenstring
Required

Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY

Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY
path
idstring
Required

Dashboard identifier.

Content-Typestring
Required

The media type of the request body

Options: application/json
insight_idsarray
Required

Ordered array of insight IDs to link to the dashboard.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY

Path Parameters

idstring
Required

Dashboard identifier.

Body

application/json
insight_idsarray
Required

Ordered array of insight IDs to link to the dashboard.

Responses

successboolean
datastring