Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt

Use this file to discover all available pages before exploring further.

Set per-profile defaults so you don’t repeat common flags. Defaults are merged into every query: file values < defaults < CLI flags.

Usage

upstack config set <key> <value>
upstack config get [key]
upstack config unset <key>

Supported keys

KeyDescriptionExample
timezoneIANA timezone applied to query date ranges.America/New_York
outputDefault output format.json, table, or csv
granularityDefault granularity for query / cohort commands.day

Examples

upstack config set timezone America/New_York
upstack config set output table

upstack config get               # print all defaults for the active profile
upstack config get granularity   # print one key

upstack config unset granularity
Defaults are stored under the active profile in ~/.upstackrc:
{
  "profiles": {
    "default": {
      "baseUrl": "...",
      "apiKey": "upstack_...",
      "pixelId": "...",
      "defaults": { "timezone": "America/New_York", "output": "table" }
    }
  }
}