Create embed

POST {{baseUrl}}/api/v1/graph/embed

Creates a new embeddable graph.

Note: If an embed already exists for the exact same query in a given organization, the older embed is returned instead of creating a new embed.

If you are interested in using template variables, see Embeddable Graphs with Template Variables.

Request Body

{"graph_json"=>"", "legend"=>"no", "size"=>"medium", "timeframe"=>"1_hour", "title"=>"Embed created through API"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"dash_name":"proident ut commodo","dash_url":"sint elit","embed_id":"velit","graph_title":"Excepteur ea consectetur sunt sint","html":"non cupidatat in veniam","revoked":false,"shared_by":76702863}