Diagram Render
GET
Render a previously saved diagram by ID. Public, no API key required. Supports ?format= and ?query= overrides.
id*stringThe diagram ID returned in the X-Diagram-Render-URL header when saving a diagram. Format: cq-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
format?stringOverride output format.
Default
"svg"Value in
"svg""png""jpeg""pdf"query?stringOverride the diagram source code (URL-encoded).
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
Default
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
Default
falseSuccessful response
response?fileFormat
binarycurl -X GET 'https://api.chartquery.com/v1/diagram/render/string'Example Response
"string"