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

# Export tickets as CSV

> Streams the project's tickets as a CSV download (`tickets.csv`, `text/csv`). Columns come from the ticket
type's export fields; pass `type` (defaults to `BUG`) and optionally `projection[]` to pick specific
fields. Supports `startDate`/`endDate` plus the usual ticket filters. For a JSON export use
GET /tickets/export instead.



## OpenAPI

````yaml https://api.gleap.io/api-docs.json get /tickets/csv-export
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /tickets/csv-export:
    get:
      tags:
        - Ticket
      summary: Export tickets as CSV
      description: >-
        Streams the project's tickets as a CSV download (`tickets.csv`,
        `text/csv`). Columns come from the ticket

        type's export fields; pass `type` (defaults to `BUG`) and optionally
        `projection[]` to pick specific

        fields. Supports `startDate`/`endDate` plus the usual ticket filters.
        For a JSON export use

        GET /tickets/export instead.
      operationId: ExportTicketsAsCSV
      parameters:
        - in: header
          name: project
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema: {}
      security:
        - jwt: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````