Skip to main content

Generate AI Dashboard

POST 

/dashboard/:dashboardID/generate

Generate or refine the layout of an AI Dashboard from a prompt, the same as the prompt bar in Admin. Each call that changes the layout replaces the stored one and saves a new version. A call that changes nothing saves no version, but still counts as a generation.

warning

Experimental. This feature may change or be removed.

See AI Dashboard for how the layout is built.

Without run_user, the request edits your own setup. With run_user, it builds or edits that TagoRUN user's own version on a dashboard with Per Run User Generation on. The generator then sees only the devices that user can access, and follows the dashboard's ai_instructions.

Requires a profile token with Full or Write permission, or an Analysis token whose Access Management policy allows Dashboard → Edit on the dashboard. Generations count against the profile owner's AI requests, or spend AI credits on a paid model. See TagoAI Service.

A generation usually takes 15 to 60 seconds and times out after 120 seconds. Only one generation runs at a time on your setup or on each user's version, and at most three at once per profile. Send the next request for the same user after the previous one finishes, and do not retry blindly after a timeout: each run is billed and can save a version.

Request​

Responses​

Layout generated and saved