GHL & GenerationGenerate dashboard
GHL & Generation

Generate dashboard

Use AI to automatically generate a dashboard with insights based on a natural language prompt. The generated dashboard includes relevant metrics, visualizations, and layout.

curl -X POST "https://api.mythic-analytics.com/api/v1/generate-dashboard" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "prompt": "Create a marketing overview dashboard showing traffic sources, conversion rates, and top landing pages.",
  "client_id": "acme-retail"
}'
{
  "success": true,
  "data": {
    "dashboard_id": "dsh_4mK9pLrT",
    "insights_created": 6
  }
}
POST
/generate-dashboard
POST
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
Content-Typestring
Required

The media type of the request body

Options: application/json
promptstring
Required

Natural language description of the desired dashboard.

client_idstring
Required

Client identifier to generate the dashboard for.

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

Body

application/json
promptstring
Required

Natural language description of the desired dashboard.

client_idstring
Required

Client identifier to generate the dashboard for.

Responses