Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex DataLens
  • DataLens neuroanalyst
  • Gallery in DataLens
    • How to use the Public API
    • Versioning
    • Release notes
  • Audit Trails events

In this article:

  • Example of a non-breaking change
  • Example of a breaking change
  • Viewing the legacy version in Swagger
  1. DataLens Public API
  2. Versioning

Public API versioning in Yandex DataLens

Written by
Yandex Cloud
Updated at July 28, 2026
View in Markdown
  • Example of a non-breaking change
  • Example of a breaking change
  • Viewing the legacy version in Swagger

As the Public API in DataLens evolves, its methods, their arguments, and object schemas, e.g., dashboard, chart, or dataset schemas, may change.

These changes may be either non-breaking or breaking:

  • Adding new fields is a non-breaking change.
  • Removing or renaming fields, modifying schema structure, or removing methods constitute breaking changes.

With each breaking change, a new Public API version is created and the API version number is incremented by one. If multiple breaking changes are introduced to methods or object schemas at once, the API version is still incremented by one.

The version number is provided in the X-DL-API-Version request header. To specify the latest version available at the moment, provide latest in the header.

The previous Public API version remains supported for some time after a new release to give users time to migrate to the new version.

The DataLens interface only supports the latest version of schemas. As a result, all objects modified via the interface are automatically saved under the latest version. Attempts to access such objects using an older Public API version will fail and return an error.

Note

Regularly update your Public API to ensure correct operation.

Example of a non-breaking changeExample of a non-breaking change

Added a field for providing a description to the report creation method:

Previously:

X-DL-API-Version: 1
POST api.datalens.yandex.net/rpc/createReport {key, config}

Now:

X-DL-API-Version: 1
POST api.datalens.yandex.net/rpc/createReport {key, config, description}

Reports created before this update will be converted, and the new field will be populated with a default value.

Example of a breaking changeExample of a breaking change

Removed the key argument from the report creation method and replaced it with workbookId.

Previously:

X-DL-API-Version: 1
POST api.datalens.yandex.net/rpc/createReport {key, config}

Now:

X-DL-API-Version: 2
POST api.datalens.yandex.net/rpc/createReport {workbookId, config}

You can use the legacy method behavior while the previous API version is still supported. To do this, specify the required version in the header:

X-DL-API-Version: 1
POST api.datalens.yandex.net/rpc/createReport {key, config}

Viewing the legacy version in SwaggerViewing the legacy version in Swagger

During the transition period, you can view the legacy API version in Swagger. To do this, specify the version number in the link:

https://api.datalens.tech/<version_number>

Was the article helpful?

Previous
How to use the Public API
Next
Release notes
© 2026 Direct Cursus Technology L.L.C.