---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/taxonomies:export"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/taxonomies:export"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/taxonomies:export

`GET /v1/projects/{projectsId}/locations/{locationsId}/taxonomies:export`

## Request

- Base URL: `https://datacatalog.googleapis.com`
- URL: `https://datacatalog.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/taxonomies:export`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
- TypeScript: <https://skmtc.dev/google/apis/datacatalog/docs/v1/projects/:projectsId/locations/:locationsId/taxonomies:export/get.ts> (a function with typed inputs; its response is checked against the schema)

Exports taxonomies in the requested type and returns them, including their policy tags. The requested taxonomies must belong to the same project. This method generates `SerializedTaxonomy` protocol buffers with nested policy tags that can be used as input for `ImportTaxonomies` calls.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Query parameters

- `serializedTaxonomies` boolean
- `taxonomies` string[]

## Response `200`

Successful response

- GoogleCloudDatacatalogV1ExportTaxonomiesResponse: Response message for ExportTaxonomies.
  - `taxonomies` GoogleCloudDatacatalogV1SerializedTaxonomy[]: List of taxonomies and policy tags as nested protocol buffers.
    - `activatedPolicyTypes` string[]: A list of policy types that are activated per taxonomy.
    - `description` string: Description of the serialized taxonomy. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
    - `displayName` string: Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8.
    - `policyTags` GoogleCloudDatacatalogV1SerializedPolicyTag[]: Top level policy tags associated with the taxonomy, if any.
      - `childPolicyTags` GoogleCloudDatacatalogV1SerializedPolicyTag[]: Children of the policy tag, if any.
      - `description` string: Description of the serialized policy tag. At most 2000 bytes when encoded in UTF-8. If not set, defaults to an empty description.
      - `displayName` string: Required. Display name of the policy tag. At most 200 bytes when encoded in UTF-8.
      - `policyTag` string: Resource name of the policy tag. This field is ignored when calling `ImportTaxonomies`.

---

[API](https://skmtc.dev/google/apis/datacatalog.md) - [All operations](https://skmtc.dev/google/apis/datacatalog/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/datacatalog/revisions/85055cd25913?raw)
