---
agentTools:
  projectIndex: https://gigasheet.readme.io/llms.txt
---

# Download export

After calling "Create export", take the handle it returns and wait for the job to finish, indicated by the state "processed". Then call this endpoint to get a presigned S3 URL. Download that URL to obtain the export file itself, which is a zip containing a csv file of your exported data.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "Gigasheet - The Big Data Cloud Spreadsheet",
    "title": "Gigasheet API",
    "termsOfService": "https://gigasheet.com/terms-of-use",
    "contact": {
      "name": "Gigasheet Support",
      "url": "https://gigasheet.freshdesk.com/support/home",
      "email": "support@gigasheet.com"
    },
    "version": "1.0"
  },
  "paths": {
    "/dataset/{handle}/download-export": {
      "get": {
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "description": "After calling \"Create export\", take the handle it returns and wait for the job to finish, indicated by the state \"processed\". Then call this endpoint to get a presigned S3 URL. Download that URL to obtain the export file itself, which is a zip containing a csv file of your exported data.",
        "tags": [
          "export"
        ],
        "summary": "Download export",
        "parameters": [
          {
            "description": "handle of export",
            "name": "handle",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "404": {
            "description": "returned when export isn't ready yet, slow poll",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "//api.gigasheet.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "description": "API key authentication for Gigasheet, contact support@gigasheet.com for instructions",
        "type": "apiKey",
        "name": "X-GIGASHEET-TOKEN",
        "in": "header"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 99,
      "1": 106,
      "2": 153,
      "3": 247,
      "4": 195,
      "5": 218,
      "6": 27,
      "7": 0,
      "8": 15,
      "9": 88,
      "10": 245,
      "11": 236
    }
  }
}
```