Chartquery

Chart View

GET
/v1/chart/view/{id}

View a previously saved chart as an interactive HTML page. Public, no API key required. Iframe-embeddable.

Parámetros de ruta

id*string

The chart ID returned in the X-Chart-View-URL header when saving a chart. Format: cq-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

Parámetros de consulta

share?boolean

Set share=true to persist the config and receive JSON instead of an image: { id, render_url, view_url, embed_url, expires_in }. Free plan: 3-day expiry with watermark. Paid plan: 6-month expiry, no branding.

Default"false"

Value in

  • "false"
  • "true"

Cuerpo de la respuesta

application/json

application/json

application/json

curl -X GET "https://example.com/v1/chart/view/string"

"<!DOCTYPE html><html><!-- interactive chart canvas, responsive, tooltip-enabled --></html>"

{  "error": "Bad Request"}
{  "error": "Internal Error"}