Create DataLens QL chart
datalens_charts_ql_createCreate a QL chart in DataLens from a template and data payload, returning the API response as-is. Specify name, workbook, key, and annotation to organize the chart.
Instructions
Create a QL chart; the reply is what DataLens answers, as it came.
The specification describes neither the content of a QL chart nor the reply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | The entry's key, in a folder. | |
| data | Yes | What the chart holds: its query and how it is shown. | |
| name | No | The chart's name. | |
| template | Yes | The template of the chart; the API takes only `ql` today. | |
| annotation | No | A description of the chart. | |
| workbook_id | No | The workbook to create it in. |