---
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/en/api-ref/grids/grids__clone_grid.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/support/wiki/en/llms.txt?revision=r21947862
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/support/wiki/en/llms.txt?revision=r21947862

<div class="openapi">

# Clone Grid

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

Starts an asynchronous operation to copy a dynamic table.

For common headers and authentication methods, see [Access to the API](https://yandex.ru/support/wiki/en/api-ref/access.md#headers). For sample scenarios, see [API usage examples](https://yandex.ru/support/wiki/en/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;

Dynamic table UUID. The value of `idx` is the same as the `id` field value in the response to `POST /v1/grids`, or `results[].id` in the response to `GET /v1/pages/{idx}/grids`. In `/v1/pages/{idx}/grids`, `idx` is the numeric page 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

Address (slug) of the page to copy the table to. If the page does not exist, it is created.

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

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

If provided, the title after cloning

_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

Copy the table along with its row data.

_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 %}

Asynchronous operation type and ID.

{% 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 for retrieving operation progress information

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

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

Indicates that execution conditions are checked without starting the operation.

_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

Asynchronous operation ID. Use this value as `task_id` when requesting the operation status.

_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 %}

The asynchronous operation type.

_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.