> For the complete documentation index, see [llms.txt](https://everyday-digital.gitbook.io/falkor-dev-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://everyday-digital.gitbook.io/falkor-dev-docs/data/download.md).

# Download

## Example

The example below pulls a **single upload** from a **single collection**.

```
curl -X POST \
  v1/data/download\
  -H 'Authorization: Basic <Your Base64 Encoded Token>'\
  -d '{
    "collection" : "Collection 1",
    "upload"     : "Upload 1"
}'
```

## Success Response

The response will contain an **array of rows with row 0 being the headers**.

```
{
    "status": "success",
    "data": {
        "rows": [
            [
                "User Code",
                "Date",
                "Tasks",
                "KPI"
            ],
            [
                "001",
                "2020-12-01",
                "1",
                "50"
            ],
            ...etc
        ]
    },
    "hash": "32fe2ebfbcb4b4a6abdcac945ec1dbae",
    "response_time": 0.11788105964660645
}
```
