Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex DataLens
  • DataLens Gallery
    • How to use the Public API
    • Versioning
    • Release notes
      • Overview
        • Overview
        • Create embedding secret
        • List embedding secrets
        • Delete embedding secret
        • Get embedding secret
  • Audit Trails events

In this article:

  • Request
  • Headers
  • Body
  • Responses
  • 200 OK
  • Body
  1. DataLens Public API
  2. DataLens API
  3. EmbeddingSecrets
  4. Create embedding secret
Written by
Yandex Cloud
View in Markdown
  • Request
    • Headers
    • Body
  • Responses
  • 200 OK
    • Body

Create embedding secret

Creates the key for embedding.

RequestRequest

POST

https://api.datalens.tech/rpc/createEmbeddingSecret

HeadersHeaders

Name

Description

x-dl-api-version

Type: string

API version header.

Const: 3

Example: 3

BodyBody

application/json
{
  "title": "example",
  "workbookId": "example"
}

Name

Description

title

Type: string

Name of the key for embedding to be created.

Example: example

workbookId

Type: string

ID of the workbook to associate with the key for embedding.

Example: example

ResponsesResponses

200 OK200 OK

Response

BodyBody

application/json
{
  "embeddingSecretId": "example",
  "privateKey": "example"
}

Name

Description

embeddingSecretId

Type: string

ID of the newly created key for embedding.

Example: example

privateKey

Type: string

Private key for accessing the embedding.

Example: example

Was the article helpful?

Previous
Overview
Next
List embedding secrets
© 2026 Direct Cursus Technology L.L.C.