Skip to main content
GET

Export Analytics

Exports detailed analytics data as a downloadable CSV or JSON file.
This endpoint is only accessible to users with manager or admin roles.

Request

string
required
Bearer token from authentication
string
default:"30d"
Time range for export. Options: 7d, 30d, 90d
string
default:"csv"
Export format. Options: csv, json

Response

CSV Format

Returns a CSV file with sections for:
  • Task Metrics: Date, Tasks Created, Tasks Completed, Overdue Tasks
  • Mood Metrics: Date, Average Score, Responses
  • Flag Metrics: Date, Total Flags, Low, Medium, High, Critical

JSON Format

Returns a JSON file with the following structure:
string
The time range used for the export
string
ISO timestamp of when the export was generated
array
Daily task metrics: { date, created, completed, overdue }
array
Daily mood metrics: { date, average, responses }
array
Daily flag metrics: { date, total, low, medium, high, critical }

Use Cases

Generating Reports

Export analytics to include in management reports or presentations.

Data Analysis

Export to JSON for further analysis in tools like Python, R, or Excel.