ChartQuery

Label View

GET
/v1/label/view/{id}

View a previously saved label as an HTML page. Public, no API key required. Iframe-embeddable with inline SVG rendering.

Path Parameters

id*string

Query Parameters

fields?string

Comma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).

is_async?boolean

Run the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.

Defaultfalse
soft_fail?boolean

Return HTTP 200 even when the request fails; the error is in the error field of the body.

Defaultfalse

Response Body

Successful response

response?stringapplication/json
Example Request
curl -X GET 'https://api.chartquery.com/v1/label/view/string'
Example Response
"<!DOCTYPE html><html><!-- rendered label preview embedded in a responsive page --></html>"