# QuerySink

**Type**: `object`

## Properties

- name: columns (optional)
  type: array of string
  description: Ordered CSV column names; required only for CSV artifacts

- name: format (required)
  type: enum: `COMPRESSED_JSON`, `JSON_LINES`, `CSV`
  description: Artifact serialization format

- name: integrationId (required)
  type: string
  description: The integration to use for writing to the file

- name: name (required)
  type: string

- name: path (optional)
  type: string
  description: Destination path relative to the selected warehouse root

- name: type (required)
  type: enum: `query-sink`
  description: Write a bounded artifact to a warehouse provided by the given integration id.
