---
title: "Export insights data with threshold"
method: GET
path: "/dashboard/export-insights-data-with-threshold"
tags: ["Dashboard"]
---

# Export insights data with threshold

`GET /dashboard/export-insights-data-with-threshold`

Generates an Excel report and uploads it to S3. If the report completes within the timeout, returns the file URL directly (status=FINISHED). If it exceeds the timeout, the export continues in the background and the user is notified by email (status=EMAIL). Returns status=FAILED on error. Defaults to the last week if startDate is not provided.

## Query parameters

- `startDate` string
- `endDate` string
- `group` 'DAILY' | 'WEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'YEARLY' | 'HOUR' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR'
- `filterCategory` 'location' | 'business' | 'labels' | 'location-groups'
- `textFilter` unknown
- `locationIds` unknown
- `businessIds` unknown
- `labels` unknown
- `locationGroupIds` unknown
- `excludedLocationIds` unknown
- `excludedBusinessIds` unknown
- `excludedLabels` unknown
- `excludedLocationGroupIds` unknown

## Headers

- `X-Uberall-User-Id` unknown, required

## Response `200`

Export status with optional file URL

---

[API](https://skmtc.net/uberall/apis/uberall-api.md) · [All operations](https://skmtc.net/uberall/apis/uberall-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uberall/uberall-api/revisions/d7f6012aeb0d/schema)
