Skip to main content

Create Viz

POST 

/v1/viz

Create a dashboard, chart or blank viz, and its initial file tree.

If this call times out, the dashboard may already exist. The row is written before the slow part — the template render, the git commit, the upload — and the response is assembled after it, so a lost answer usually means a real dashboard. Repeating the call then makes a second one: a name collision is resolved by suffixing the slug, not by refusing.

Send an idempotencyKey and that stops being true. Any opaque string you can reproduce will do; re-send the SAME key with the SAME body and you get the first dashboard back, marked idempotentReplay: true, instead of another one. The key is unique within the account and lives as long as the dashboard it created. Re-using it for a different body is refused rather than answered with the wrong dashboard, and re-sending it while the first create is still running tells you so and names the viz to poll.

Check idempotencyKey on the response: if you sent one and it is absent, the key was not honoured and a repeat of that call would create a second dashboard.

Request​

Responses​

Successful Response