Skip to main content

Workspace details

A workspace with its complete configuration. Credentials are never included.

idstring

ID of the workspace.

namestring

Name of the workspace.

descriptionstringnullable

Description.

is_open_to_orgboolean

Everyone in the organization can open it.

is_defaultboolean

The organization's default workspace.

connection object

A data warehouse connection without its credentials.

typestring

Warehouse type.

Possible values: [athena, bigquery, clickhouse, databricks, fabric, postgresql, redshift, snowflake, trino, csv_file]

hoststringnullable

Host.

portintegernullable

Port.

catalogstringnullable

Database or catalog.

user_namestringnullable

User name.

auth_typestring

Authentication method.

Possible values: [password, key_pair, workload_identity, account_wide_federation, personal_oauth]

url_params object

Connection URL query parameters, including the type-specific ones.

property name*string
extra_configs object

Type-specific settings, such as the Databricks HTTP path.

property name*string
has_credentialsboolean

Whether a password, key or token is stored.

entities object[]

Entities.

  • Array [
  • namestringrequired

    Name used in table definitions.

    Example: user
    display_namestringrequired

    Name shown in Mitzu.

    Example: User
    iconstringrequired

    Icon name.

    Example: mdi:account
  • ]
  • event_tables object[]

    Event tables.

  • Array [
  • idstring

    ID of the event table.

    table_schemastring

    Schema.

    table_namestring

    Table name.

    disabledboolean

    Disabled tables are not indexed or queried.

    event_time_fieldstring

    Event time column.

    user_id_fieldstring

    User ID column.

    event_name_fieldstringnullable

    Event name column, null for single-event tables.

    date_partition_fieldstringnullable

    Date partition column.

    ignored_fieldsstring[]

    Columns Mitzu ignores.

    foreign_keys object

    Entity name to column, besides user.

    property name*string
    display_name_prefixstringnullable

    Prefix of the event display names.

  • ]
  • dimension_tables object[]

    Dimension tables.

  • Array [
  • idstring

    ID of the dimension table.

    table_schemastring

    Schema.

    table_namestring

    Table name.

    entitystring

    Entity the table describes.

    Example: user
    primary_keystring

    Column that identifies the entity.

    Example: user_id
    ignored_fieldsstring[]

    Columns Mitzu ignores.

    display_name_prefixstringnullable

    Prefix of the property display names.

    last_indexedstringnullable

    When the table was last indexed, ISO 8601.

    last_indexing_errorstringnullable

    Error of the last indexing.

  • ]
  • metric_tables object[]

    Metric tables.

  • Array [
  • idstring

    ID of the metric table.

    table_schemastring

    Schema.

    table_namestring

    Table name.

    grainstring

    How much time one row covers.

    Possible values: [hour, day, week, month, quarter, year, single_number]

    columns object[]

    Columns and their roles.

  • Array [
  • idstring

    ID of the column.

    column_namestring

    Warehouse column name.

    Example: revenue
    rolestring

    What the column holds.

    Possible values: [time, metric_value, dimension, identifier, ignored]

    metric_namestringnullable

    Name of the metric, required for metric_value columns.

    Example: Revenue
    roll_upstringnullable

    How a metric_value column adds up into longer periods.

    Possible values: [add_up, latest_value, earliest_value, average, median, p75, p90, min, max, no_roll_up]

    entitystringnullable

    Entity an identifier column identifies.

    Example: user
    linked_event_propertystringnullable

    Event property a dimension column matches, so filters can apply to both.

  • ]
  • disabledboolean

    Disabled tables are not indexed or queried.

    needs_reindexboolean

    The definition changed since the last indexing.

    last_indexed_atstringnullable

    When the table was last indexed, ISO 8601.

    last_indexing_errorstringnullable

    Error of the last indexing.

    last_detected_grainstringnullable

    Grain found in the data at the last indexing.

    Possible values: [hour, day, week, month, quarter, year, single_number]

  • ]
  • indexing_settings object

    How Mitzu indexes the workspace's tables.

    lookback_window object

    A length of time.

    valueintegerrequired

    How many units.

    unitstringrequired

    Unit of time.

    Possible values: [hour, day, week, month, year]

    min_property_sample_sizeinteger

    Events sampled per event name, or per table for single-event tables. At most maximum_sample_size.

    min_dim_property_sample_sizeinteger

    Rows sampled per dimension table, at most 200,000.

    discovery_column_chunk_sizeintegernullable

    Columns read per query, 1 to 1,000. null turns it off.

    discovery_event_chunk_sizeintegernullable

    Events read per query, 1 to 1,000. null turns it off.

    discovery_rows_chunk_sizeintegernullable

    Sampling steps, 1 to 20. null means a single query.

    data_scramblingboolean

    Read rows in a random order while sampling.

    max_enum_cardinalityinteger

    Most distinct values kept per property. Read-only.

    maximum_sample_sizeinteger

    Highest allowed event sample size. Read-only.

    insight_settings object

    Defaults of the workspace's insights.

    lookback_window object

    A length of time.

    valueintegerrequired

    How many units.

    unitstringrequired

    Unit of time.

    Possible values: [hour, day, week, month, year]

    auto_refresh_enabledboolean

    Refresh insights automatically.

    end_date_configstring

    Where the default time range ends.

    Possible values: [now, start_of_current_day, end_of_current_day, custom_date]

    custom_end_datestringnullable

    End date in YYYY-MM-DD format, used when end_date_config is custom_date.

    Example: 2026-01-31
    conversion_attributionstring

    Funnel attribution.

    Possible values: [first_event, every_event]

    retention_attributionstring

    Retention attribution.

    Possible values: [first_event, every_event]

    loose_event_time_checkstring

    Where events with the same timestamp count as in order.

    Possible values: [off, funnels_and_journey, retention, all]

    cut_off_incomplete_databoolean

    Leave out incomplete periods from retention.

    show_incomplete_periodsboolean

    Show the current, incomplete period on charts.

    funnel_eligible_users_onlyboolean

    Count only users who could finish the funnel.

    case_insensitive_filteringboolean

    Compare filter values ignoring case.

    fill_missing_values_with_zeroboolean

    Show missing data points as zero.

    default_entitystring

    Entity new insights count, such as user.

    Example: user
    any_eventboolean

    Offer the Any event option in insights.

    timezone_offsetnumbernullable

    Workspace time zone as hours from UTC, -12 to 14.

    new_dashboards_are_draftsboolean

    New dashboards start as drafts.

    gather_cluster_infoboolean

    Collect cluster information for queries.

    data_filter objectnullable

    The data filter, or null.

    columnstringrequired

    Column present in every table of the workspace. Letters, digits, underscores and dots.

    Example: tenant_id
    valuestringrequired

    Value the rows must have.

    Example: acme
    branding object

    The workspace's logo and cover image.

    logo_image_idstringnullable

    ID of the logo image.

    logo_urlstringnullable

    Path of the logo image in Mitzu.

    cover_image_idstringnullable

    ID of the cover image.

    cover_urlstringnullable

    Path of the cover image in Mitzu.

    Workspace details
    {
    "id": "string",
    "name": "string",
    "description": "string",
    "is_open_to_org": true,
    "is_default": true,
    "connection": {
    "type": "athena",
    "host": "string",
    "port": 0,
    "catalog": "string",
    "user_name": "string",
    "auth_type": "password",
    "url_params": {},
    "extra_configs": {},
    "has_credentials": true
    },
    "entities": [
    {
    "name": "user",
    "display_name": "User",
    "icon": "mdi:account"
    }
    ],
    "event_tables": [
    {
    "id": "string",
    "table_schema": "string",
    "table_name": "string",
    "disabled": true,
    "event_time_field": "string",
    "user_id_field": "string",
    "event_name_field": "string",
    "date_partition_field": "string",
    "ignored_fields": [
    "string"
    ],
    "foreign_keys": {},
    "display_name_prefix": "string"
    }
    ],
    "dimension_tables": [
    {
    "id": "string",
    "table_schema": "string",
    "table_name": "string",
    "entity": "user",
    "primary_key": "user_id",
    "ignored_fields": [
    "string"
    ],
    "display_name_prefix": "string",
    "last_indexed": "string",
    "last_indexing_error": "string"
    }
    ],
    "metric_tables": [
    {
    "id": "string",
    "table_schema": "string",
    "table_name": "string",
    "grain": "hour",
    "columns": [
    {
    "id": "string",
    "column_name": "revenue",
    "role": "time",
    "metric_name": "Revenue",
    "roll_up": "add_up",
    "entity": "user",
    "linked_event_property": "string"
    }
    ],
    "disabled": true,
    "needs_reindex": true,
    "last_indexed_at": "string",
    "last_indexing_error": "string",
    "last_detected_grain": "hour"
    }
    ],
    "indexing_settings": {
    "lookback_window": {
    "value": 0,
    "unit": "hour"
    },
    "min_property_sample_size": 0,
    "min_dim_property_sample_size": 0,
    "discovery_column_chunk_size": 0,
    "discovery_event_chunk_size": 0,
    "discovery_rows_chunk_size": 0,
    "data_scrambling": true,
    "max_enum_cardinality": 0,
    "maximum_sample_size": 0
    },
    "insight_settings": {
    "lookback_window": {
    "value": 0,
    "unit": "hour"
    },
    "auto_refresh_enabled": true,
    "end_date_config": "now",
    "custom_end_date": "2026-01-31",
    "conversion_attribution": "first_event",
    "retention_attribution": "first_event",
    "loose_event_time_check": "off",
    "cut_off_incomplete_data": true,
    "show_incomplete_periods": true,
    "funnel_eligible_users_only": true,
    "case_insensitive_filtering": true,
    "fill_missing_values_with_zero": true,
    "default_entity": "user",
    "any_event": true,
    "timezone_offset": 0,
    "new_dashboards_are_drafts": true,
    "gather_cluster_info": true
    },
    "data_filter": {
    "column": "tenant_id",
    "value": "acme"
    },
    "branding": {
    "logo_image_id": "string",
    "logo_url": "string",
    "cover_image_id": "string",
    "cover_url": "string"
    }
    }