---
metadata:
  - name: generator
    content: Diplodoc Platform v5.64.2
alternate:
  - https://yandex.ru/support/wiki/en/api-ref/grids/grids__clone_grid.md
  - https://yandex.ru/support/wiki/ru/api-ref/grids/grids__clone_grid.md
  - href: https://yandex.ru/support/wiki/ru/api-ref/grids/grids__clone_grid.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/support/wiki/ru/llms.txt?revision=r21947862
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/support/wiki/ru/llms.txt?revision=r21947862

<div class="openapi">

# Копировать таблицу

<!-- markdownlint-disable-file -->

Запускает асинхронное копирование динамической таблицы.

Общие заголовки и способы аутентификации описаны в разделе [Доступ к API](https://yandex.ru/support/wiki/ru/api-ref/access.md#headers). Примеры сценариев приведены в разделе [Примеры использования API](https://yandex.ru/support/wiki/ru/api-ref/examples.md).

## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-post);margin-bottom: 12px">

<div class="openapi__request">

POST {.openapi__method}
```text translate=no
https://api.wiki.yandex.net/v1/grids/{idx}/clone
```

</div>

</div>

</div>

### Path parameters

#|
|| **Name** | **Description** ||
||

_idx_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string&lt;uuid4&gt;

UUID динамической таблицы. Значение `idx` совпадает со значением поля `id` в ответе `POST /v1/grids` или поля `results[].id` в ответе `GET /v1/pages/{idx}/grids`. В `/v1/pages/{idx}/grids` параметр `idx` — числовой ID страницы.

_Example:_{.json-schema-reset .json-schema-example} ``
{.table-cell}
||
|#{.json-schema-properties}

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "target": "example",
  "title": "example",
  "with_data": false
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_target_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Адрес страницы (slug), на которую нужно скопировать таблицу. Если страницы нет, она будет создана.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_title_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Если передан, название после копирования

_Min length:_{.json-schema-reset .json-schema-assertion} `1`

_Max length:_{.json-schema-reset .json-schema-assertion} `255`

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_with_data_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Копировать таблицу вместе с данными строк.

_Default:_{.json-schema-reset .json-schema-value} `false`
{.table-cell}
||
|#{.json-schema-properties}

</div>

## Responses

<div class="openapi__response__code__200">

## 200 OK

OK

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "operation": {
    "type": "clone",
    "id": "example"
  },
  "dry_run": false,
  "status_url": "example"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_operation_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
{% cut "**All of 1 type**" %}{.json-schema-combinators data-marker=and}

- **B2BOperationIdentity**

  **Type**: [B2BOperationIdentity](#entity-B2BOperationIdentity)

  {% cut "**Example**" %}{.json-schema-example}

  ```json translate=no
  {
    "type": "clone",
    "id": "example"
  }
  ```

  {% endcut %}

{% endcut %}

Тип и идентификатор асинхронной операции.

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "type": "clone",
  "id": "example"
}
```

{% endcut %}
{.table-cell}
||
||

_status_url_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

URL, по которому возвращается информация о ходе выполнения операции

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_dry_run_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Признак проверки условий выполнения без запуска операции.

_Default:_{.json-schema-reset .json-schema-value} `false`
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### B2BOperationType {#entity-B2BOperationType}

An enumeration.

**Type**: string

_Enum:_{.json-schema-reset .json-schema-value} `clone`, `clone_inline_grid`

</div>

<div class="openapi-entity">

### B2BOperationIdentity {#entity-B2BOperationIdentity}

#|
|| **Name** | **Description** ||
||

_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Идентификатор асинхронной операции. Используйте это значение как `task_id` в запросе статуса операции.

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
||

_type_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
{% cut "**All of 1 type**" %}{.json-schema-combinators data-marker=and}

- **B2BOperationType**

  **Type**: [B2BOperationType](#entity-B2BOperationType)

  An enumeration.

  _Enum:_{.json-schema-reset .json-schema-value} `clone`, `clone_inline_grid`

{% endcut %}

Тип асинхронной операции.

_Example:_{.json-schema-reset .json-schema-example} `clone`
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "type": "clone",
  "id": "example"
}
```

{% endcut %}

</div>

</div>

</div>

[*Deprecated]: No longer supported, please use an alternative and newer version.