curviate analytics export
Export the Analytics tables (daily, accounts, motions, enrollments) under the same window and filters: streamed now, or with --job built in the background (then curviate export get and curviate export download). One table is one file; several are one ZIP. Never message text. Owners and Managers only.
Usage
curviate analytics export [flags]Examples
curviate analytics export --table enrollments --format csv --range 30d -o enrollments.csv
curviate analytics export --table daily,accounts,motions,enrollments --format csv --range 90d --jobFlags
| Flag | Type | Required | Description |
|---|---|---|---|
--table | string | no | Comma list of daily, accounts, motions, enrollments (default all four); or, with --job, one of motion_activity, account_activity, account_metrics. |
--format | string | no | csv (default), json or ndjson (ndjson takes one table). |
--output, -o | string | no | File to write (mode 0600), or - for stdout (default). |
--job | boolean | no | Build it in the background and print the export record instead of streaming it. |
--motions | string | no | Only these Motions, comma list (mot_...). |
--from | string | no | First day, YYYY-MM-DD, inclusive, in --timezone. A Motion read (with or without --motion) or an Account overview may start more than a year back: up to window.counts_only_through the figures come from daily counts (UTC days, no step, variant or seen detail), and paths cover only the days after window.paths_through. --view activity and the activity exports keep their own cap, named in the refusal. |
--to | string | no | Last day, YYYY-MM-DD, inclusive, in --timezone (default today). Same rules as --from. |
--range | string | no | Instead of --from/--to: 7d, 30d, 90d, 12m or all. |
--timezone | string | no | IANA zone the days are read in (default UTC). |
--bucket | string | no | Daily series grouping: auto, day, week or month. |
--accounts | string | no | Only these Accounts: a comma list of ids (acc_...). Never filled from your profile's default Account. |
--origin | string | no | Who sent the actions: a comma list of motion, unibox, api; direct is an alias for unibox and api. |
--json | boolean | no | Not taken by exports: pass --format json. |
Also accepts these global flags: --api-key, --profile, --team, --base-url, --timeout.
Exit codes: the exit code table. More commands: Analytics.