Working with the Public API
Written by
Updated at June 2, 2026
DataLens provides a public API, https://api.datalens.tech
The DataLens Public API offers methods similar to those used in the DataLens web interface. This API is described using the OpenAPI specification and authenticated via the Yandex Cloud IAM tokens.
When using the API, please be aware of the limits in place.
To use the API, you need an IAM token and an organization ID.
For example, substitute your <IAM_TOKEN>, <ORG_ID>, and <ENTRY_ID> values into the following request to get a list of all objects associated with the entity:
curl -X 'POST' \
'https://api.datalens.tech/rpc/getEntriesRelations' \
-H 'accept: application/json' \
-H 'x-dl-api-version: 1' \
-H 'Authorization: Bearer <IAM_TOKEN>' \
-H 'x-dl-org-id: <ORG_ID>' \
-H 'Content-Type: application/json' \
-d '{
"entryIds": [
"<ENTRY_ID>"
]
}'