---
title: "POST /v1/{+name}:convert"
method: POST
path: "/v1/{+name}:convert"
tags: ["projects"]
---

# POST /v1/{+name}:convert

`POST /v1/{+name}:convert`

Creates a draft tree schema for the destination database.

## Path parameters

- `name` string, required

## Request body

- ConvertConversionWorkspaceRequest — Request message for 'ConvertConversionWorkspace' request.
  - `filter` string — Optional. Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.
  - `convertFullPath` boolean — Optional. Automatically convert the full entity path for each entity specified by the filter. For example, if the filter specifies a table, that table schema (and database if there is one) will also be converted.
  - `autoCommit` boolean — Optional. Specifies whether the conversion workspace is to be committed automatically after the conversion.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/datamigration.md) · [All operations](https://skmtc.dev/google/apis/datamigration/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/datamigration/revisions/d77bd66e25e6/schema)
