> ## Documentation Index
> Fetch the complete documentation index at: https://developers.nuvia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Export list as CSV

> Exports the rows as CSV. Lists respect the view/filters/sorting; datasets export the managed columns (round-trip of the upload sync).



## OpenAPI

````yaml /en/openapi.json get /v1/tables/{id}/export-csv
openapi: 3.0.0
info:
  title: Nuvia API - Company
  description: API documentation for companies
  version: '1.0'
  contact: {}
servers:
  - url: https://api.nuvia.ai
security: []
tags:
  - name: messages
    x-group: Mensagens
  - name: contacts
    x-group: Contatos
  - name: campaigns
    x-group: Campanhas
  - name: tables
    x-group: Tabelas e Listas
  - name: agents
    x-group: Agentes
  - name: conversations
    x-group: Conversas
  - name: inboxes
    x-group: Caixas de Entrada
  - name: knowledge
    x-group: Base de Conhecimento
  - name: Webhooks
    x-group: Webhooks
  - name: campaign-enrollments
    x-group: Inscrições em Campanha
  - name: custom-fields
    x-group: Campos Customizados
paths:
  /v1/tables/{id}/export-csv:
    get:
      tags:
        - tables
      summary: Export list as CSV
      description: >-
        Exports the rows as CSV. Lists respect the view/filters/sorting;
        datasets export the managed columns (round-trip of the upload sync).
      operationId: TableController_exportCsv
      parameters:
        - name: x-company-id
          in: header
          description: >-
            Target company identifier. Required only for global API keys
            (type=global). Ignored for company API keys and human users.
          required: false
          schema:
            type: string
        - name: id
          required: true
          in: path
          description: List ID
          schema:
            type: string
        - name: view
          required: false
          in: query
          description: ID of the view to use. If omitted, uses the default view
          schema:
            type: string
        - name: filters
          required: false
          in: query
          description: Filters to apply to the rows
          schema:
            type: array
            items:
              $ref: '#/components/schemas/ExportListCsvFilterItemDto'
        - name: sort
          required: false
          in: query
          description: Column to sort by
          schema:
            type: string
        - name: sortDirection
          required: false
          in: query
          description: Sort direction
          schema:
            type: string
            enum:
              - asc
              - desc
        - name: limit
          required: false
          in: query
          description: Limit of rows to export (max 10000)
          schema:
            minimum: 1
            maximum: 10000
            default: 10000
            type: number
        - name: rowIds
          required: false
          in: query
          description: >-
            IDs of the rows to export (selected only). When provided, exports
            only these rows.
          schema:
            maxItems: 10000
            type: array
            items:
              type: string
        - name: excludeRowIds
          required: false
          in: query
          description: >-
            IDs of rows to exclude from the export. Used when "select all" is
            active.
          schema:
            maxItems: 10000
            type: array
            items:
              type: string
      responses:
        '200':
          description: ''
      security:
        - JWT-auth: []
components:
  schemas:
    ExportListCsvFilterItemDto:
      type: object
      properties:
        field:
          type: string
        operator:
          type: string
          enum:
            - eq
            - neq
            - contains
            - not_contains
            - starts_with
            - ends_with
            - is_empty
            - is_not_empty
        value:
          type: string
      required:
        - field
        - operator
  securitySchemes:
    JWT-auth:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: Token JWT de autenticação

````