Skip to developer documentation
Browse developer documentation
CLI documentation / Installation and session

Show the current workspace

attriboo whoami

Show the workspace and websites associated with the active credential.

Access: OAuth analytics:read or workspace key

Options

attriboo whoami options
FieldTypeDescription
--jsonbooleanCompact JSON instead of formatted JSON.
--csvbooleanCSV for the main row collection; nested values remain JSON cells. Cannot be combined with --json.

Check the current workspace

Replace example websites, dates and cursor values with your own. Running these commands makes real requests or changes the local session.

Terminal command
attriboo whoami

Example output

Illustrative stdout
{
  "workspace": "Example workspace",
  "sites": [
    {
      "id": "site_example",
      "domain": "shop.example.com",
      "currency": "USD",
      "name": "Example shop",
      "timezone": "UTC"
    }
  ]
}

Output fields

attriboo whoami output fields
FieldTypeDescription
workspacestringWorkspace name.
sitesarrayWebsites available to this connection.

sites[] fields

sites nested fields
FieldTypeDescription
idstringWebsite ID.
domainstringDomain.
namestringWebsite name.
currencystringWebsite currency.
timezonestringSaved IANA timezone.

The data follows the list websites API contract. CLI JSON omits the REST envelope.

Behavior and limits

Returns workspace and sites, not an account profile or an email address. It uses the same GET /sites operation as sites list.