Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex DataLens
  • Нейроаналитик DataLens
  • Галерея в DataLens
    • Как пользоваться Public API
      • Overview
      • createCollection
      • deleteCollection
      • deleteCollections
      • getCollectionBreadcrumbs
      • getCollection
      • getCollectionContent
      • getRootCollectionPermissions
      • moveCollection
      • moveCollections
      • updateCollection
      • getConnection
      • createConnection
      • updateConnection
      • deleteConnection
      • getDashboard
      • createDashboard
      • updateDashboard
      • deleteDashboard
      • getDataset
      • createDataset
      • updateDataset
      • deleteDataset
      • validateDataset
      • getEntriesRelations
      • getEntries
      • getQLChart
      • deleteQLChart
      • updateQLChart
      • createQLChart
      • getWizardChart
      • deleteWizardChart
      • updateWizardChart
      • createWizardChart
      • createWorkbook
      • deleteWorkbook
      • deleteWorkbooks
      • getWorkbook
      • getWorkbooksList
      • moveWorkbook
      • moveWorkbooks
      • updateWorkbook
      • getWorkbookEntries
      • getEditorChart
      • deleteEditorChart
      • createEditorChart
      • updateEditorChart
      • createEmbed
      • listEmbeds
      • deleteEmbed
      • updateEmbed
      • getEntriesPermissions
      • createEmbeddingSecret
      • listEmbeddingSecrets
      • deleteEmbeddingSecret
      • getEmbeddingSecret
      • getAuditEntriesUpdates
      • updateCollectionAccessBindings
      • createFolder
      • listDirectory
      • updateWorkbookAccessBindings
  • Аудитные логи Audit Trails

В этой статье:

  • HTTP request
  • Body parameters
  • CreateEditorTableNodeEntry
  • Annotation
  • Data
  • CreateEditorGravityChartsNodeEntry
  • CreateEditorMarkdownNodeEntry
  • Data
  • CreateEditorAdvancedChartNodeEntry
  • CreateEditorSelectorNodeEntry
  • Data
  • Response
  • EditorTableNode
  • Data
  • EditorGravityChartsNode
  • EditorMarkdownNode
  • Data
  • EditorAdvancedChartNode
  • EditorSelectorNode
  • Data
  1. DataLens Public API
  2. DataLens API (англ.)
  3. createEditorChart

DataLens API: 🚧 [Experimental] Create editor chart

Статья создана
Yandex Cloud
Обновлена 16 марта 2026 г.
  • HTTP request
  • Body parameters
  • CreateEditorTableNodeEntry
  • Annotation
  • Data
  • CreateEditorGravityChartsNodeEntry
  • CreateEditorMarkdownNodeEntry
  • Data
  • CreateEditorAdvancedChartNodeEntry
  • CreateEditorSelectorNodeEntry
  • Data
  • Response
  • EditorTableNode
  • Data
  • EditorGravityChartsNode
  • EditorMarkdownNode
  • Data
  • EditorAdvancedChartNode
  • EditorSelectorNode
  • Data

Creates the specified Editor chart.

HTTP requestHTTP request

POST https://api.datalens.tech/rpc/createEditorChart

Body parametersBody parameters

Request schema: application/json

{
  "mode": "string",
  "entry": "unknown"
}

Field

Description

mode

enum

  • save
  • publish

entry

One of CreateEditorTableNodeEntry | CreateEditorGravityChartsNodeEntry | CreateEditorMarkdownNodeEntry | CreateEditorAdvancedChartNodeEntry | CreateEditorSelectorNodeEntry

CreateEditorTableNodeEntryCreateEditorTableNodeEntry

Field

Description

meta

object (map<string, unknown>)

Metadata associated with the entry.

links

object (map<string, string>)

Link information.

annotation

Annotation

Required field. Annotation information.

key

string

Key identifier of the entry.

workbookId

string

ID of the workbook to create the Editor chart.

name

string

Name of the Editor chart.

type

enum

Required field. For Table Editor charts takes value:

  • table_node

data

Data

Required field. Chart data.

AnnotationAnnotation

Field

Description

description

string

Required field. Description of annotation.

DataData

Field

Description

meta

string

Required field. Configuration from the Meta tab.

params

string

Required field. Configuration from the Params tab.

sources

string

Required field. Configuration from the Sources tab.

controls

string

Required field. Configuration from the Controls tab.

prepare

string

Required field. Configuration from the Prepare tab.

config

string

Required field. Configuration from the Config tab.

CreateEditorGravityChartsNodeEntryCreateEditorGravityChartsNodeEntry

Field

Description

meta

object (map<string, unknown>)
Metadata associated with the entry.

links

object (map<string, string>)
Link information.

annotation

Annotation

Required field. Annotation information.

key

string

Key identifier of the entry.

workbookId

string

ID of the workbook to create the Editor chart.

name

string

Name of the Editor chart.

type

enum

Required field. For D3 Editor charts takes value:

  • d3_node

data

Data

Required field. Chart data.

CreateEditorMarkdownNodeEntryCreateEditorMarkdownNodeEntry

Field

Description

meta

object (map<string, unknown>)

Metadata associated with the entry.

links

object (map<string, string>)

Link information.

annotation

Annotation

Required field. Annotation information.

key

string

Key identifier of the entry.

workbookId

string

ID of the workbook to create the Editor chart.

name

string

Name of the Editor chart.

type

enum

Required field. For Markdown Editor charts takes value:

  • markdown_node

data

Data

Required field. Chart data.

DataData

Field

Description

meta

string

Required field. Configuration from the Meta tab.

params

string

Required field. Configuration from the Params tab.

sources

string

Required field. Configuration from the Sources tab.

controls

string

Required field. Configuration from the Controls tab.

prepare

string

Required field. Configuration from the Prepare tab.

CreateEditorAdvancedChartNodeEntryCreateEditorAdvancedChartNodeEntry

Field

Description

meta

object (map<string, unknown>)

Metadata associated with the entry.

links

object (map<string, string>)

Link information.

annotation

Annotation

Required field. Annotation information.

key

string

Key identifier of the entry.

workbookId

string

ID of the workbook to create the Editor chart.

name

string

Name of the Editor chart.

type

enum

Required field. For Advanced Editor charts takes value:

  • advanced-chart_node

data

Data

Required field. Chart data.

CreateEditorSelectorNodeEntryCreateEditorSelectorNodeEntry

Field

Description

meta

object (map<string, unknown>)

Metadata associated with the entry.

links

object (map<string, string>)

Link information.

annotation

Annotation

Required field. Annotation information.

key

string

Key identifier of the entry.

workbookId

string

ID of the workbook to create the Editor chart.

name

string

Name of the Editor chart.

type

enum

Required field. For Editor JS selectors takes value:

  • control_node

data

Data

Required field. Chart data.

DataData

Field

Description

meta

string

Required field. Configuration from the Meta tab.

params

string

Required field. Configuration from the Params tab.

sources

string

Required field. Configuration from the Sources tab.

controls

string

Required field. Configuration from the Controls tab.

ResponseResponse

HTTP Code: 200

Response

Response schema: application/json

{
  "entry": "unknown"
}

Field

Description

entry

One of EditorTableNode | EditorGravityChartsNode | EditorMarkdownNode | EditorAdvancedChartNode | EditorSelectorNode

EditorTableNodeEditorTableNode

Field

Description

version

enum

Required field. Editor version.

Аvailable values:

  • 1

entryId

string

Required field. Unique identifier of the entry.

key

Any of null | string | null

Key identifier of the entry.

createdAt

string

Required field. Creation timestamp.

createdBy

string

Required field. Creator of the entry.

updatedAt

string

Required field. Last update timestamp.

updatedBy

string

Required field. Last updater of the entry.

revId

string

Required field. Version ID for the Editor chart.

savedId

string

Required field. Saved version ID.

publishedId

string | null

Required field. Published version ID.

tenantId

string

Required field. Tenant ID.

hidden

boolean

Required field. Indicates if the entry is hidden.

public

boolean

Required field. Indicates if the entry is public.

workbookId

Any of null | string | null

scope

enum

Required field. Type of the entry.

For charts takes value:

  • widget

meta

object | null

Required field. Metadata associated with the entry.

links

object | null

Link information.

annotation

object | null

Annotation information.

type

enum

Required field. For Table Editor charts takes value:

  • table_node

data

Data

Required field. Chart data.

DataData

Field

Description

meta

string

Required field. Configuration from the Meta tab.

params

string

Required field. Configuration from the Params tab.

sources

string

Required field. Configuration from the Sources tab.

controls

string

Required field. Configuration from the Controls tab.

prepare

string

Required field. Configuration from the Prepare tab.

config

string

Required field. Configuration from the Config tab.

EditorGravityChartsNodeEditorGravityChartsNode

Field

Description

version

enum

Required field. Editor version.

Аvailable values:

  • 1

entryId

string

Required field. Unique identifier of the entry.

key

Any of null | string | null

Key identifier of the entry.

createdAt

string

Required field. Creation timestamp.

createdBy

string

Required field. Creator of the entry.

updatedAt

string

Required field. Last update timestamp.

updatedBy

string

Required field. Last updater of the entry.

revId

string

Required field. Version ID for the Editor chart.

savedId

string

Required field. Saved version ID.

publishedId

string | null

Required field. Published version ID.

tenantId

string

Required field. Tenant ID.

hidden

boolean

Required field. Indicates if the entry is hidden.

public

boolean

Required field. Indicates if the entry is public.

workbookId

Any of null | string | null

ID of the workbook the Editor chart belongs to.

scope

enum

Required field. Type of the entry.

For charts takes value:

  • widget

meta

object | null

Required field. Metadata associated with the entry.

links

object | null

Link information.

annotation

object | null

Annotation information.

type

enum

Required field. For D3 Editor charts takes value:

  • d3_node

data

Data

Required field. Chart data.

EditorMarkdownNodeEditorMarkdownNode

Field

Description

version

enum

Required field. Editor version.

Аvailable values:

  • 1

entryId

string

Required field. Unique identifier of the entry.

key

Any of null | string | null

Key identifier of the entry.

createdAt

string

Required field. Creation timestamp.

createdBy

string

Required field. Creator of the entry.

updatedAt

string

Required field. Last update timestamp.

updatedBy

string

Required field. Last updater of the entry.

revId

string

Required field. Version ID for the Editor chart.

savedId

string

Required field. Saved version ID.

publishedId

string | null

Required field. Published version ID.

tenantId

string

Required field. Tenant ID.

hidden

boolean

Required field. Indicates if the entry is hidden.

public

boolean

Required field. Indicates if the entry is public.

workbookId

Any of null | string | null

ID of the workbook the Editor chart belongs to.

scope

enum

Required field. Type of the entry.

For charts takes value:

  • widget

meta

object | null

Required field. Metadata associated with the entry.

links

object | null

Link information.

annotation

object | null

Annotation information.

type

enum

Required field. For Markdown Editor charts takes value:

  • markdown_node

data

Data

Required field. Chart data.

DataData

Field

Description

meta

string

Required field. Configuration from the Meta tab.

params

string

Required field. Configuration from the Params tab.

sources

string

Required field. Configuration from the Sources tab.

controls

string

Required field. Configuration from the Controls tab.

prepare

string

Required field. Configuration from the Prepare tab.

EditorAdvancedChartNodeEditorAdvancedChartNode

Field

Description

version

enum

Required field. Editor version.

Аvailable values:

  • 1

entryId

string

Required field. Unique identifier of the entry.

key

Any of null | string | null

Key identifier of the entry.

createdAt

string

Required field. Creation timestamp.

createdBy

string

Required field. Creator of the entry.

updatedAt

string

Required field. Last update timestamp.

updatedBy

string

Required field. Last updater of the entry.

revId

string

Required field. Version ID for the Editor chart.

savedId

string

Required field. Saved version ID.

publishedId

string | null

Required field. Published version ID.

tenantId

string

Required field. Tenant ID.

hidden

boolean

Required field. Indicates if the entry is hidden.

public

boolean

Required field. Indicates if the entry is public.

workbookId

Any of null | string | null

ID of the workbook the Editor chart belongs to.

scope

enum

Required field. Type of the entry.

For charts takes value:

  • widget

meta

object | null

Required field. Metadata associated with the entry.

links

object | null

Link information.

annotation

object | null

Annotation information.

type

enum

Required field. For Advanced Editor charts takes value:

  • advanced-chart_node

data

Data

Required field. Chart data.

EditorSelectorNodeEditorSelectorNode

Field

Description

version

enum

Required field. Editor version.

Аvailable values:

  • 1

entryId

string

Required field. Unique identifier of the entry.

key

Any of null | string | null

Key identifier of the entry.

createdAt

string

Required field. Creation timestamp.

createdBy

string

Required field. Creator of the entry.

updatedAt

string

Required field. Last update timestamp.

updatedBy

string

Required field. Last updater of the entry.

revId

string

Required field. Version ID for the Editor chart.

savedId

string

Required field. Saved version ID.

publishedId

string | null

Required field. Published version ID.

tenantId

string

Required field. Tenant ID.

hidden

boolean

Required field. Indicates if the entry is hidden.

public

boolean

Required field. Indicates if the entry is public.

workbookId

Any of null | string | null

ID of the workbook the Editor chart belongs to.

scope

enum

Required field. Type of the entry.

For charts takes value:

  • widget

meta

object | null

Required field. Metadata associated with the entry.

links

object | null

Link information.

annotation

object | null

Annotation information.

type

enum

Required field. For Editor JS selectors takes value:

  • control_node

data

Data

Required field. Chart data.

DataData

Field

Description

meta

string

Required field. Configuration from the Meta tab.

params

string

Required field. Configuration from the Params tab.

sources

string

Required field. Configuration from the Sources tab.

controls

string

Required field. Configuration from the Controls tab.

Была ли статья полезна?

Предыдущая
deleteEditorChart
Следующая
updateEditorChart
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»