---
title: "POST /api/database/fields/{field_id}/duplicate/async/"
method: POST
path: "/api/database/fields/{field_id}/duplicate/async/"
tags: ["Database table fields"]
---

# POST /api/database/fields/{field_id}/duplicate/async/

`POST /api/database/fields/{field_id}/duplicate/async/`

Duplicates the table with the provided `table_id` parameter if the authorized user has access to the database's workspace.

## Path parameters

- `field_id` integer, required

## Headers

- `ClientSessionId` string, uuid
- `ClientUndoRedoActionGroupId` string, uuid

## Response `202`

- DuplicateFieldJobTypeResponse
  - `id` integer, required
  - `type` string, required — The type of the job.
  - `progress_percentage` integer, required — A percentage indicating how far along the job is. 100 means that it's finished.
  - `state` string, required — Indicates the state of the import job.
  - `human_readable_error` string — A human readable error message indicating what went wrong.
  - `created_on` string, date-time, required
  - `updated_on` string, date-time, required
  - `original_field` Field, required
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required — Lowest first.
    - `type` string, required — The type of the related field.
    - `primary` boolean — Indicates if the field is a primary field. If `true` the field cannot be deleted and the value should represent the whole row.
    - `read_only` boolean, required — Indicates whether the field is a read only field. If true, it's not possible to update the cell value.
    - `immutable_type` boolean, required — Indicates whether the field type is immutable. If true, then it won't be possible to change the field type via the API.
    - `immutable_properties` boolean, required — Indicates whether the field properties are immutable. If true, then it won't be possible to change the properties and the type via the API.
    - `description` string, nullable — Field description
    - `database_id` integer, required — The ID of the database this field belongs to.
    - `workspace_id` integer, required — The ID of the workspace this field belongs to.
    - `db_index` boolean — If true, then an index will be added to the Baserow field to increase lookup and filter speed. Note that this comes at a performance cost when creating the row and updating the cell.
    - `field_constraints` string, required — The constraints applied to this field.
  - `duplicated_field` FieldSerializerWithRelatedFields, required
    - `id` integer, required
    - `table_id` integer, required
    - `name` string, required
    - `order` integer, required — Lowest first.
    - `type` string, required — The type of the related field.
    - `primary` boolean — Indicates if the field is a primary field. If `true` the field cannot be deleted and the value should represent the whole row.
    - `read_only` boolean, required — Indicates whether the field is a read only field. If true, it's not possible to update the cell value.
    - `immutable_type` boolean, required — Indicates whether the field type is immutable. If true, then it won't be possible to change the field type via the API.
    - `immutable_properties` boolean, required — Indicates whether the field properties are immutable. If true, then it won't be possible to change the properties and the type via the API.
    - `description` string, nullable — Field description
    - `database_id` integer, required — The ID of the database this field belongs to.
    - `workspace_id` integer, required — The ID of the workspace this field belongs to.
    - `db_index` boolean — If true, then an index will be added to the Baserow field to increase lookup and filter speed. Note that this comes at a performance cost when creating the row and updating the cell.
    - `field_constraints` string, required — The constraints applied to this field.
    - `related_fields` Field[], required — A list of related fields which also changed.
      - `id` integer, required
      - `table_id` integer, required
      - `name` string, required
      - `order` integer, required — Lowest first.
      - `type` string, required — The type of the related field.
      - `primary` boolean — Indicates if the field is a primary field. If `true` the field cannot be deleted and the value should represent the whole row.
      - `read_only` boolean, required — Indicates whether the field is a read only field. If true, it's not possible to update the cell value.
      - `immutable_type` boolean, required — Indicates whether the field type is immutable. If true, then it won't be possible to change the field type via the API.
      - `immutable_properties` boolean, required — Indicates whether the field properties are immutable. If true, then it won't be possible to change the properties and the type via the API.
      - `description` string, nullable — Field description
      - `database_id` integer, required — The ID of the database this field belongs to.
      - `workspace_id` integer, required — The ID of the workspace this field belongs to.
      - `db_index` boolean — If true, then an index will be added to the Baserow field to increase lookup and filter speed. Note that this comes at a performance cost when creating the row and updating the cell.
      - `field_constraints` string, required — The constraints applied to this field.

## Other responses

- `400`
- `404`

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/versions/0c490e5b0c7f/schema)
