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 --job

Flags

FlagTypeRequiredDescription
--tablestringnoComma list of daily, accounts, motions, enrollments (default all four); or, with --job, one of motion_activity, account_activity, account_metrics.
--formatstringnocsv (default), json or ndjson (ndjson takes one table).
--output, -ostringnoFile to write (mode 0600), or - for stdout (default).
--jobbooleannoBuild it in the background and print the export record instead of streaming it.
--motionsstringnoOnly these Motions, comma list (mot_...).
--fromstringnoFirst 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.
--tostringnoLast day, YYYY-MM-DD, inclusive, in --timezone (default today). Same rules as --from.
--rangestringnoInstead of --from/--to: 7d, 30d, 90d, 12m or all.
--timezonestringnoIANA zone the days are read in (default UTC).
--bucketstringnoDaily series grouping: auto, day, week or month.
--accountsstringnoOnly these Accounts: a comma list of ids (acc_...). Never filled from your profile's default Account.
--originstringnoWho sent the actions: a comma list of motion, unibox, api; direct is an alias for unibox and api.
--jsonbooleannoNot 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.