---
title: "POST /v1/{+parent}/insightsdata:export"
method: POST
path: "/v1/{+parent}/insightsdata:export"
tags: ["projects"]
---

# POST /v1/{+parent}/insightsdata:export

`POST /v1/{+parent}/insightsdata:export`

Export insights data to a destination defined in the request body.

## Path parameters

- `parent` string, required

## Request body

- GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest — The request to export insights.
  - `kmsKey` string — A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}
  - `writeDisposition` 'WRITE_DISPOSITION_UNSPECIFIED' | 'WRITE_TRUNCATE' | 'WRITE_APPEND' — Options for what to do if the destination table already exists.
  - `parent` string — Required. The parent resource to export data from.
  - `bigQueryDestination` GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination — A BigQuery Table Reference.
    - `projectId` string — A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.
    - `dataset` string — Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.
    - `table` string — The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.
  - `exportSchemaVersion` 'EXPORT_SCHEMA_VERSION_UNSPECIFIED' | 'EXPORT_V1' | 'EXPORT_V2' | 'EXPORT_V3' | 'EXPORT_V4' | 'EXPORT_V5' | 'EXPORT_V6' | 'EXPORT_V7' | 'EXPORT_V8' | 'EXPORT_V9' | 'EXPORT_V10' | 'EXPORT_V11' | 'EXPORT_V12' | 'EXPORT_V13' | 'EXPORT_V14' | 'EXPORT_V15' | 'EXPORT_V16' | 'EXPORT_V17' | 'EXPORT_VERSION_LATEST_AVAILABLE' — Optional. Version of the export schema.
  - `filter` string — A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/contactcenterinsights.md) · [All operations](https://skmtc.net/google/apis/contactcenterinsights/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/contactcenterinsights/versions/e071ddf4dfc3/schema)
