Workspace details
A workspace with its complete configuration. Credentials are never included.
ID of the workspace.
Name of the workspace.
Description.
Everyone in the organization can open it.
The organization's default workspace.
connection object
A data warehouse connection without its credentials.
Warehouse type.
Possible values: [athena, bigquery, clickhouse, databricks, fabric, postgresql, redshift, snowflake, trino, csv_file]
Host.
Port.
Database or catalog.
User name.
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.
extra_configs object
Type-specific settings, such as the Databricks HTTP path.
Whether a password, key or token is stored.
entities object[]
Entities.
Name used in table definitions.
userName shown in Mitzu.
UserIcon name.
mdi:accountevent_tables object[]
Event tables.
ID of the event table.
Schema.
Table name.
Disabled tables are not indexed or queried.
Event time column.
User ID column.
Event name column, null for single-event tables.
Date partition column.
Columns Mitzu ignores.
foreign_keys object
Entity name to column, besides user.
Prefix of the event display names.
dimension_tables object[]
Dimension tables.
ID of the dimension table.
Schema.
Table name.
Entity the table describes.
userColumn that identifies the entity.
user_idColumns Mitzu ignores.
Prefix of the property display names.
When the table was last indexed, ISO 8601.
Error of the last indexing.
metric_tables object[]
Metric tables.
ID of the metric table.
Schema.
Table name.
How much time one row covers.
Possible values: [hour, day, week, month, quarter, year, single_number]
columns object[]
Columns and their roles.
ID of the column.
Warehouse column name.
revenueWhat the column holds.
Possible values: [time, metric_value, dimension, identifier, ignored]
Name of the metric, required for metric_value columns.
RevenueHow 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]
Entity an identifier column identifies.
userEvent property a dimension column matches, so filters can apply to both.
Disabled tables are not indexed or queried.
The definition changed since the last indexing.
When the table was last indexed, ISO 8601.
Error of the last indexing.
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.
How many units.
Unit of time.
Possible values: [hour, day, week, month, year]
Events sampled per event name, or per table for single-event tables. At most maximum_sample_size.
Rows sampled per dimension table, at most 200,000.
Columns read per query, 1 to 1,000. null turns it off.
Events read per query, 1 to 1,000. null turns it off.
Sampling steps, 1 to 20. null means a single query.
Read rows in a random order while sampling.
Most distinct values kept per property. Read-only.
Highest allowed event sample size. Read-only.
insight_settings object
Defaults of the workspace's insights.
lookback_window object
A length of time.
How many units.
Unit of time.
Possible values: [hour, day, week, month, year]
Refresh insights automatically.
Where the default time range ends.
Possible values: [now, start_of_current_day, end_of_current_day, custom_date]
End date in YYYY-MM-DD format, used when end_date_config is custom_date.
2026-01-31Funnel attribution.
Possible values: [first_event, every_event]
Retention attribution.
Possible values: [first_event, every_event]
Where events with the same timestamp count as in order.
Possible values: [off, funnels_and_journey, retention, all]
Leave out incomplete periods from retention.
Show the current, incomplete period on charts.
Count only users who could finish the funnel.
Compare filter values ignoring case.
Show missing data points as zero.
Entity new insights count, such as user.
userOffer the Any event option in insights.
Workspace time zone as hours from UTC, -12 to 14.
New dashboards start as drafts.
Collect cluster information for queries.
data_filter objectnullable
The data filter, or null.
Column present in every table of the workspace. Letters, digits, underscores and dots.
tenant_idValue the rows must have.
acmebranding object
The workspace's logo and cover image.
ID of the logo image.
Path of the logo image in Mitzu.
ID of the cover image.
Path of the cover image in Mitzu.
{
"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"
}
}