# Mitzu Documentation > Mitzu runs product analytics - funnels, retention, segmentation, journeys and user lookup - directly on your data warehouse, without copying event data out of it. The full text of every page below is available as a single file: https://docs.mitzu.io/llms-full.txt The REST API is described by an OpenAPI spec: https://docs.mitzu.io/contracts/api/v1/api.yaml Every page except the REST API reference is also available as Markdown: add .md to its URL. The home page is at /index.md. ## Get Started - [Mitzu environments](https://docs.mitzu.io/connect-mitzu): Overview of the different ways to connect Mitzu with your data warehouse. - [Quick Start with Mitzu](https://docs.mitzu.io/): Get started with Mitzu. Whether you have a data warehouse or not, this guide will help you get started. - [Set up Mitzu on your data warehouse](https://docs.mitzu.io/setup-mitzu): Let's quickly set up Mitzu on top of your data warehouse. - [Set up a data warehouse](https://docs.mitzu.io/setup-data-warehouse): Set up a data warehouse from scratch and centralize all your data in under 60 minutes. - [Warehouse-native architecture](https://docs.mitzu.io/warehouse-native): How Mitzu runs product analytics directly on your data warehouse — queries execute in your warehouse, event data is never copied out of it, and the semantic layer is built automatically. - [Home and navigation](https://docs.mitzu.io/home-and-navigation): The home page, the left sidebar, search and the Create menu, and where to find your work in Mitzu - [CSV Uploads](https://docs.mitzu.io/get_started/csv-uploads): Upload CSV files to create queryable data tables in Mitzu ## Mitzu Agent - [Mitzu Agent](https://docs.mitzu.io/mitzu-agent): Overview of Mitzu's AI-powered analytics agent. - [Analytics Agent](https://docs.mitzu.io/analytics-agent): How to use Mitzu's AI analytics agent to ask questions, create insights, and explore your data. - [How the Analytics Agent works](https://docs.mitzu.io/how-the-agent-works): The architecture behind Mitzu's Analytics Agent — the agent composes analysis specifications, and a deterministic query engine generates the SQL. - [Planning Mode](https://docs.mitzu.io/planning-mode): How to use planning mode to review and approve a step-by-step plan before the agent starts working. - [Memory](https://docs.mitzu.io/memory): The agent remembers your defaults, your team's definitions and how you like answers, across every chat. You can see and edit what it keeps. - [Scheduled Agents](https://docs.mitzu.io/scheduled-agents): Run a Mitzu agent automatically on a schedule and get emailed only when the results meet a condition you define. - [Configuration Agent](https://docs.mitzu.io/configuration-agent): How to use Mitzu's AI configuration agent to set up your data warehouse tables. - [Slack Agent](https://docs.mitzu.io/slack-agent): How to use Mitzu Agent directly in Slack for quick analytics questions. - [Mitzu MCP Server](https://docs.mitzu.io/mcp-server): Connect Claude, Cursor, ChatGPT, and other AI tools to your Mitzu workspace via the Model Context Protocol. - [AI Data & Privacy](https://docs.mitzu.io/ai-data-privacy): How Mitzu Agent handles your data — metadata isolation, no model training, per-workspace controls, and retention. ## Warehouse Connectors - [Warehouse integrations](https://docs.mitzu.io/warehouse-integrations): Every data warehouse and query engine Mitzu connects to, including Snowflake, BigQuery, Databricks, Redshift, Athena, Trino, ClickHouse and Postgres. - [AWS Athena](https://docs.mitzu.io/aws-athena): Setup AWS Athena Integration To Mitzu - [Big Query](https://docs.mitzu.io/bigquery): Setup Google Big Query Integration To Mitzu - [ClickHouse](https://docs.mitzu.io/clickhouse): Setup ClickHouse Integration To Mitzu - [Databricks](https://docs.mitzu.io/databricks): Setup Databricks Integration To Mitzu - [Microsoft Fabric](https://docs.mitzu.io/fabric): Setup Microsoft Fabric Integration To Mitzu - [PostgreSQL](https://docs.mitzu.io/postgresql): Setup PostgreSQL Integration To Mitzu - [AWS Redshift](https://docs.mitzu.io/redshift): Setup AWS Redshift Integration To Mitzu - [Snowflake](https://docs.mitzu.io/snowflake): Setup Snowflake Integration To Mitzu - [Starburst.io](https://docs.mitzu.io/starburst): Setup Starburst.io Integration To Mitzu - [Self-hosted Trino / Presto](https://docs.mitzu.io/trino): Setup self-hosted Trino/Presto Integration To Mitzu - [Uploaded CSV](https://docs.mitzu.io/uploaded-csv): Upload a CSV file as your data source instead of connecting to a data warehouse ## Data Models - [Introduction](https://docs.mitzu.io/data-modeling): Basics of data modeling for Mitzu - [Event Modeling](https://docs.mitzu.io/event-modeling): How to shape event tables for Mitzu - required columns, the three supported event table layouts, entity identifiers, nested properties and performance - [Dimension Modeling](https://docs.mitzu.io/dimension-modeling): How to shape dimension tables for users, companies and other entities, and how to model slowly changing dimensions so events see the properties that were true when they happened - [Metric Tables](https://docs.mitzu.io/metric-table-modeling): Bring numbers your data team already calculates in the warehouse, such as revenue or MRR, into Mitzu next to your event data ## Data Indexing - [Data Indexing](https://docs.mitzu.io/indexing): Explaining how Mitzu indexes your data warehouse to transform your insights into SQL queries - [Supported Data Types](https://docs.mitzu.io/data_indexing/supported-data-types): Page lists the supported data types for each data warehouse ## Data Catalog - [Custom Events](https://docs.mitzu.io/custom-events): Custom events - [Dimension Property Catalog](https://docs.mitzu.io/dimension-property-catalog): Dimension property catalog - [Event Catalog](https://docs.mitzu.io/event-catalog): Event catalog - [Event Property Catalog](https://docs.mitzu.io/event-property-catalog): Event property catalog - [Filter groups](https://docs.mitzu.io/filter-groups): Save a list of property values under a name and use it in any "is" or "is not" filter - [Warehouse Metric Catalog](https://docs.mitzu.io/warehouse-metric-catalog): Name, describe and hide the warehouse metrics your metric tables provide ## Insights - [Insights Basics](https://docs.mitzu.io/insights-basics): Insights basics - [Segmentation](https://docs.mitzu.io/segmentation): Segmentation - [Funnels in Mitzu](https://docs.mitzu.io/funnel): Learn the basics of funnels - [Retention](https://docs.mitzu.io/retention): Learn the basics of retention - [Journeys in Mitzu](https://docs.mitzu.io/journey): Journeys - [Pivot tables](https://docs.mitzu.io/pivot-table): Compare two things at once — see your numbers broken down by two properties, or by a property over time, in a single table - [Saved insights as series](https://docs.mitzu.io/metrics): Reuse a saved insight as a segment in a segmentation — compare funnels side by side, or show a conversion rate next to the volume behind it - [Warehouse metrics](https://docs.mitzu.io/warehouse-metrics): Chart metrics your data team already calculates in the warehouse, such as revenue or MRR, next to your event-based insights - [User and group focus mode](https://docs.mitzu.io/user-and-group-focus): User and group focus mode - [User and groups lookup](https://docs.mitzu.io/user-and-group-lookup): User and group lookup ## Dashboards - [Dashboards](https://docs.mitzu.io/dashboards/edit-dashboard): Group insights, text, and dividers into a single live view — arrange them on a flexible grid, filter and refresh them together, and edit with AI. - [Publishing dashboards and insights](https://docs.mitzu.io/dashboards/publishing-dashboard): Make a dashboard or a saved insight viewable with a link, without signing in, and embed it in other websites or applications ## Experiments - [Experiments](https://docs.mitzu.io/experiments): Analyse the A/B tests you run in your experimentation tool on the event data in your own warehouse, with a verdict, health checks and a recorded decision for every test. ## Core concepts - [Why Experiments exists](https://docs.mitzu.io/experiments/why): The gap between the tool that runs an A/B test and the data that says whether it worked, and how Mitzu closes it. - [Core principles](https://docs.mitzu.io/experiments/principles): The rules Experiments follows, and what each one means for the way you set up, read and decide a test. - [Stages of an experiment](https://docs.mitzu.io/experiments/stages): Draft, Scheduled, Running, Ready for decision and Finalized — what each stage means, how an experiment moves between them and what you can do in each. - [Glossary](https://docs.mitzu.io/experiments/glossary): The words used on experiments and across these pages, from exposure event to Holm correction. ## Setting up an experiment - [Data requirements](https://docs.mitzu.io/experiments/data-requirements): What your warehouse needs before you can analyse a test in Mitzu — an exposure event, a variant property and outcome events for the same users. - [Population and variants](https://docs.mitzu.io/experiments/population): Tell Mitzu who was in the test and which variant each user saw — the exposure event, "Only where" filters, the variant property, the control and the planned split. - [Metrics](https://docs.mitzu.io/experiments/metrics): Measure an experiment with your saved insights — primary, secondary and guardrail metrics, which insights can be tested, and exactly how each one is measured per variant. - [Statistics settings](https://docs.mitzu.io/experiments/statistics-settings): Choose how strong the evidence must be, whether the test looks in one direction or both, and whether to turn on the correction for testing several metrics and variants. - [Sample plan](https://docs.mitzu.io/experiments/sample-plan): Work out how many users each variant needs to detect the smallest lift you care about, and track the test against that plan. - [Test window and scheduling](https://docs.mitzu.io/experiments/test-window): Fill in the experiment's details, set the allocation window and the experiment end date, save it and schedule it to lock the definition. ## Reading results - [Evaluating an experiment](https://docs.mitzu.io/experiments/evaluating): Compute an experiment's results from your warehouse with Evaluate, follow or cancel the run, get the final results emailed after the end date, and know when the stored results are out of date. - [Results and verdicts](https://docs.mitzu.io/experiments/verdicts): Read the Results card of an experiment — the verdict, the results table with each variant's value, lift, interval and p-value, and what every result category means. - [Metric details over time](https://docs.mitzu.io/experiments/metric-details): Follow one experiment metric day by day — the lift against the control with its interval, and each variant's value — to tell a stable effect from a novelty spike. - [Health checks](https://docs.mitzu.io/experiments/health-checks): The checks Mitzu runs on every experiment result — traffic split, users in several variants, sample, coverage, metric tracking and users left out — and what to do when one fails. ## Deciding and following up - [Finalizing](https://docs.mitzu.io/experiments/finalizing): Record the outcome, the decision and a summary of an experiment, and freeze the results the decision was based on. - [Reopening and re-evaluating](https://docs.mitzu.io/experiments/reopening): Check a finalized experiment against today's data without changing the recorded decision, or reopen it to adopt new results and decide again. - [Cohorts, annotations and follow-up tests](https://docs.mitzu.io/experiments/follow-ups): Turn a finalized experiment into variant cohorts for further analysis, annotations on every chart, and the next experiment. ## Managing experiments - [The experiments list](https://docs.mitzu.io/experiments/list): Find experiments by name, key, status, owner and tag, sort them, and act on them from the list, Browse and global search. - [Editing, locking and permissions](https://docs.mitzu.io/experiments/editing): What can be edited at each stage, how moving back to draft works, archiving and deleting experiments, and who can do what. ## For marketers and product managers - [Running experiments in Mitzu](https://docs.mitzu.io/experiments/playbook): A practical routine for marketers and product managers — planning a test, setting it up with your analyst, checking it while it runs, deciding and sharing the result. - [Scenarios and use cases](https://docs.mitzu.io/experiments/scenarios): Worked examples of common A/B tests in Mitzu — how to set each one up, what the results look like and what to decide. - [Reading results without statistics](https://docs.mitzu.io/experiments/reading-results-without-statistics): What every verdict, lift, interval and health check on an experiment means in plain words, the mistakes that turn a test into a false win, and answers to common questions. ## Statistics reference - [Statistical methods](https://docs.mitzu.io/experiments/methods): The tests, intervals, corrections, sample-size formula and health-check thresholds behind every number on an experiment. - [Limitations](https://docs.mitzu.io/experiments/limitations): Where the experiment statistics are approximate, what Experiments doesn't support yet, and how to work around each limit. ## Other Assets - [All content](https://docs.mitzu.io/all-content): Browse every insight, dashboard, cohort and other item in the workspace, with filters, sorting and bulk actions - [Alerts](https://docs.mitzu.io/alerts): Get an email when a saved insight crosses a threshold you set, or has no data for its latest period - [Annotations](https://docs.mitzu.io/other_assets/annotations): Annotations are shared information that is visible on all charts and dashboards, and can be used as named date ranges. - [Archiving](https://docs.mitzu.io/archiving): Hide work nobody uses from lists and search without breaking the dashboards and links that still depend on it - [Cohorts](https://docs.mitzu.io/other_assets/cohorts): Cohorts - [Saved insights](https://docs.mitzu.io/other_assets/saved-insights): Save an insight under a name, keep it on dashboards, and find it again in All content, search and the sidebar ## Organisation Settings - [Organisation overview](https://docs.mitzu.io/organisation-overview): The Organisation overview page, with the organisation's details, its plan and limits, the workspaces you can open, the admins and, for admins, the get started checklist - [Billing and Subscription](https://docs.mitzu.io/billing-and-subscription): Start, change or cancel the organisation's Mitzu subscription, and understand the seats, the billing email, the grace period and the AI insight allowance - [Packages and limits](https://docs.mitzu.io/packages-and-limits): What the Starter, Pro and Enterprise packages include, how editor seats and viewer licenses work, and what happens when a limit is reached - [Single sign-on](https://docs.mitzu.io/single-sign-on): Sign in to Mitzu with Google, Microsoft Entra ID, Okta, AWS Cognito or any OpenID Connect provider - [API keys](https://docs.mitzu.io/api-keys): Manage API keys ## Workspace Settings - [Workspace settings](https://docs.mitzu.io/generic-settings): Workspace settings - [Tags](https://docs.mitzu.io/tags): Label dashboards, insights and other work with team tags - [Insights](https://docs.mitzu.io/insight-settings): Workspace defaults for insights - [Label colors](https://docs.mitzu.io/label-colors): Give a breakdown value the same color on every chart in the workspace - [Performance](https://docs.mitzu.io/performance-settings): Sampling, resolution and query defaults - [Statistics](https://docs.mitzu.io/statistics): How people use the workspace or the whole organisation - active users, queries, dashboard refreshes, AI prompts, query performance and top users, with CSV exports - [AI](https://docs.mitzu.io/ai-settings): Web search and Anthropic credentials for the AI agent, and where the agent's workspace memory lives - [Connection settings](https://docs.mitzu.io/connection-settings): Connect the workspace to your data warehouse or an uploaded CSV, test the connection and save it - [Event tables](https://docs.mitzu.io/event-tables): Event tables - [Dimension tables](https://docs.mitzu.io/dimension-tables): Dimension tables - [Metric tables](https://docs.mitzu.io/metric-tables): Bring metrics your data team already calculates in the warehouse into Mitzu - [Entities](https://docs.mitzu.io/entities): Entities - [Indexing](https://docs.mitzu.io/indexing-settings): How Mitzu samples your warehouse when it builds the event and property catalog - [Data filter](https://docs.mitzu.io/data-filter): Restrict a workspace to one tenant's rows on shared warehouse tables, so tenants only ever see their own data - [Slack Integration](https://docs.mitzu.io/slack-integration): Connect Slack to Mitzu to chat with Mitzu AI from Slack and set the workspace's notification channel - [Query Admin](https://docs.mitzu.io/query-admin): Inspect and cancel SQL queries running against your data warehouse ## Personal Settings - [Personal settings](https://docs.mitzu.io/personal-settings): Your profile, light or dark mode, and what the AI agent remembers about you ## Governance - [Recommended setup](https://docs.mitzu.io/recommended-setup): How to set up licenses, org roles and workspace roles in Mitzu - a few Org Admins, more Workspace Admins, and Org Members for everyone else - [Licenses, org roles and members](https://docs.mitzu.io/manage-members): Licenses, org roles, inviting and removing people, and the Org Owner - [Workspace access](https://docs.mitzu.io/workspace-access): Who can open each workspace and what they can do there - licenses, org roles, workspace roles, open and restricted workspaces, ownership, and what happens when someone loses access - [List organization members](https://docs.mitzu.io/api/v1/list-org-members): Returns every member of the organization with their license and org role, and how many - [Invite or update an organization member](https://docs.mitzu.io/api/v1/upsert-org-member): Invites a person by email, or updates the license and org role of an existing member with - [Get an organization member](https://docs.mitzu.io/api/v1/get-org-member): Get an organization member - [Change a member's license or org role](https://docs.mitzu.io/api/v1/update-org-member): Changes the license, the org role or both. When only `license` is sent the org role follows - [Remove a member from the organization](https://docs.mitzu.io/api/v1/remove-org-member): Removes the member from the organization. What they own in a workspace (dashboards, insights, - [List a member's workspace roles](https://docs.mitzu.io/api/v1/list-member-workspaces): Returns the member's role in every workspace of the organization, where it comes from and - [List pending join requests](https://docs.mitzu.io/api/v1/list-join-requests): Returns the requests of people who asked to join the organization and are waiting for a decision. - [Approve a join request](https://docs.mitzu.io/api/v1/approve-join-request): Adds the requester to the organization with the given license and org role, optionally gives - [Reject a join request](https://docs.mitzu.io/api/v1/reject-join-request): Declines the request and emails the requester. - [List workspace members](https://docs.mitzu.io/api/v1/list-workspace-members): Returns everyone who has access to the workspace, with their role, where it comes from and who - [Add or update a workspace member](https://docs.mitzu.io/api/v1/upsert-workspace-member): Adds an organization member to a restricted workspace with the given role, or changes their - [Change a workspace member's role](https://docs.mitzu.io/api/v1/set-workspace-member-role): Sets the member's role in the workspace. Someone without access to a restricted workspace gets - [Remove a workspace member](https://docs.mitzu.io/api/v1/remove-workspace-member): Removes the member from a restricted workspace and moves what they own there to the Workspace - [Restrict a workspace](https://docs.mitzu.io/api/v1/restrict-workspace): Turns off **Everyone in the organization** for the workspace. The members listed in - [Open a workspace to everyone](https://docs.mitzu.io/api/v1/open-workspace): Turns on **Everyone in the organization** for the workspace. Opening an open workspace changes ## Self-hosted on AWS - [Mitzu in your own AWS account](https://docs.mitzu.io/aws-marketplace): Warehouse-native product analytics, an AI agent and MCP, deployed from AWS Marketplace into an AWS account you control. - [Before you launch](https://docs.mitzu.io/aws-marketplace/before-you-launch): What to prepare in your AWS account before launching Mitzu from AWS Marketplace - [Launch from AWS Marketplace](https://docs.mitzu.io/aws-marketplace/launch): Subscribe to Mitzu and launch the CloudFormation stack - [First sign-in](https://docs.mitzu.io/aws-marketplace/first-sign-in): Sign in to a newly launched Mitzu stack for the first time - [Connect your warehouse](https://docs.mitzu.io/aws-marketplace/connect-your-warehouse): Connect a self-hosted Mitzu to your data warehouse and index your event tables - [Invite your team and connect SSO](https://docs.mitzu.io/aws-marketplace/team-and-sso): Seats, invites and single sign-on on a self-hosted Mitzu - [Turn on AI and connect AI tools](https://docs.mitzu.io/aws-marketplace/ai-and-mcp): AI credentials and MCP on a self-hosted Mitzu - [Operate your stack](https://docs.mitzu.io/aws-marketplace/operate): Licence, upgrades, secrets, logs, alarms, backups and teardown of a self-hosted Mitzu - [Outbound connections](https://docs.mitzu.io/aws-marketplace/outbound-connections): Every host a self-hosted Mitzu deployment connects to, and what controls each one. - [Deploy with an AI agent](https://docs.mitzu.io/aws-marketplace/deploy-with-an-agent): A runbook an AI agent with AWS CLI access can follow to launch, check, upgrade and tear down Mitzu from AWS Marketplace, with the steps a person must do marked. ## API integration - [Onboard tenants over the API](https://docs.mitzu.io/api/onboard-tenants): Create one Mitzu workspace per tenant from a template workspace, each limited to the tenant's own rows and carrying the tenant's logo, using the Mitzu API - [Mitzu API](https://docs.mitzu.io/api/v1/mitzu-api): ## Mitzu API ## Workspaces - [List workspaces](https://docs.mitzu.io/api/v1/list-workspaces): Lists the workspaces of the organization. - [Create a workspace](https://docs.mitzu.io/api/v1/create-workspace): Creates an empty workspace, optionally with its data warehouse connection. To start from a - [Workspace details](https://docs.mitzu.io/api/v1/get-workspace): Returns the workspace with its complete configuration: connection (without credentials), - [Update a workspace](https://docs.mitzu.io/api/v1/update-workspace): Renames the workspace or changes its description. - [Delete a workspace](https://docs.mitzu.io/api/v1/delete-workspace): Permanently deletes the workspace with its tables, insights and dashboards. This can't be undone. - [Clone a workspace](https://docs.mitzu.io/api/v1/clone-workspace): Creates a new workspace from a template workspace in one call. Use it to onboard a tenant: - [Get the connection](https://docs.mitzu.io/api/v1/get-connection): Returns the workspace's data warehouse connection. Credentials are never returned; `has_credentials` tells whether one is stored. - [Set the connection](https://docs.mitzu.io/api/v1/set-connection): Replaces the workspace's data warehouse connection. The connection is saved without testing it; - [List entities](https://docs.mitzu.io/api/v1/list-entities): Lists the workspace's entities, such as `user` or `group`. - [Set entities](https://docs.mitzu.io/api/v1/set-entities): Replaces the workspace's entities. The `user` entity must stay. Entities left out are removed; ## Settings - [Get indexing settings](https://docs.mitzu.io/api/v1/get-indexing-settings): Returns how Mitzu indexes the workspace's tables. - [Update indexing settings](https://docs.mitzu.io/api/v1/update-indexing-settings): Changes the fields in the request and keeps the others. Send `null` for a chunk size to turn - [Get insight settings](https://docs.mitzu.io/api/v1/get-insight-settings): Returns the workspace's insight defaults. - [Update insight settings](https://docs.mitzu.io/api/v1/update-insight-settings): Changes the fields in the request and keeps the others. Send `null` for `custom_end_date` or - [Get the data filter](https://docs.mitzu.io/api/v1/get-data-filter): Returns the workspace's data filter, or `null` when it has none. - [Set the data filter](https://docs.mitzu.io/api/v1/set-data-filter): Limits every query of the workspace to the rows where `column` equals `value`, in every event, - [Remove the data filter](https://docs.mitzu.io/api/v1/remove-data-filter): Removes the data filter, so the workspace sees every row again. Clears cached results like setting a filter does. - [Get branding](https://docs.mitzu.io/api/v1/get-branding): Returns the workspace's logo and cover image. - [Upload a branding image](https://docs.mitzu.io/api/v1/upload-branding-image): Uploads the workspace logo or cover image as a `multipart/form-data` request with the image in - [Remove a branding image](https://docs.mitzu.io/api/v1/remove-branding-image): Removes the workspace logo or cover image and deletes it. ## Indexing - [Index dimension table](https://docs.mitzu.io/api/v1/index-dimension-table): Triggers indexing of the selected dimension table - [Index all event tables](https://docs.mitzu.io/api/v1/index-all-event-tables): Triggers indexing of all event tables in the workspace. Disabled tables are skipped. - [Index event table by ID](https://docs.mitzu.io/api/v1/index-event-table-by-id): Triggers indexing of the selected event table by its ID. Disabled tables return a 400 response. - [Index a single event table by name and schema](https://docs.mitzu.io/api/v1/index-event-table-by-name): Triggers indexing of a specific event table identified by table name and schema. Disabled tables return a 400 response. - [Index the workspace](https://docs.mitzu.io/api/v1/index-workspace): Starts indexing every enabled event table, every dimension table and every enabled metric table - [Index a metric table](https://docs.mitzu.io/api/v1/index-metric-table): Starts indexing the metric table. Disabled tables can't be indexed. ## Event tables - [Add an event table](https://docs.mitzu.io/api/v1/add-event-table): Adds a new event table to the workspace. - [List event tables](https://docs.mitzu.io/api/v1/list-event-tables): Lists the workspace's event tables with their configuration. - [Update an event table](https://docs.mitzu.io/api/v1/update-event-table): Partially updates the configuration of an existing event table identified by its ID. - [Delete an event table](https://docs.mitzu.io/api/v1/delete-event-table): Deletes the event table identified by its ID from the workspace. - [Get an event table](https://docs.mitzu.io/api/v1/get-event-table): Returns one event table with its configuration. ## Event catalog - [Bulk update event catalog](https://docs.mitzu.io/api/v1/bulk-update-event-catalog): Bulk updates the `display_name` and `description` of one or more event catalog entries. ## Tasks - [Get task statuses](https://docs.mitzu.io/api/v1/get-tasks): Returns the status of one or more tasks of the workspace. At least one `task_id` query ## Event usage - [Start event usage stats gathering](https://docs.mitzu.io/api/v1/start-event-usage-stats): Starts an asynchronous job that gathers event usage statistics for the workspace: - [Get event usage stats](https://docs.mitzu.io/api/v1/get-event-usage-stats): Returns the latest event usage statistics for the workspace from the cache. ## Dimension tables - [List dimension tables](https://docs.mitzu.io/api/v1/list-dimension-tables): Lists the workspace's dimension tables. - [Add a dimension table](https://docs.mitzu.io/api/v1/add-dimension-table): Adds a dimension table that describes an entity, for example a `users` table keyed by - [Get a dimension table](https://docs.mitzu.io/api/v1/get-dimension-table): Returns one dimension table. - [Update a dimension table](https://docs.mitzu.io/api/v1/update-dimension-table): Changes the fields in the request and keeps the others. The schema and table name can't change. - [Delete a dimension table](https://docs.mitzu.io/api/v1/delete-dimension-table): Removes the dimension table from the workspace. ## Metric tables - [List metric tables](https://docs.mitzu.io/api/v1/list-metric-tables): Lists the workspace's metric tables with their full definitions. - [Add a metric table](https://docs.mitzu.io/api/v1/add-metric-table): Adds a metric table: a warehouse table of pre-computed numbers, such as daily revenue per - [Get a metric table](https://docs.mitzu.io/api/v1/get-metric-table): Returns one metric table with its full definition. - [Update a metric table](https://docs.mitzu.io/api/v1/update-metric-table): Changes the grain, replaces the column definitions, or disables and enables the table. The - [Delete a metric table](https://docs.mitzu.io/api/v1/delete-metric-table): Removes the metric table and the warehouse metrics built on it. ## Schemas - [Access change](https://docs.mitzu.io/api/v1/schemas/access-change): What happened to one member's access. - [Add event table request](https://docs.mitzu.io/api/v1/schemas/add-event-table-request): The configuration of a new event table. - [Add workspace member request](https://docs.mitzu.io/api/v1/schemas/add-workspace-member-request): Who to add and with which role. - [Approve join request request](https://docs.mitzu.io/api/v1/schemas/approve-join-request-request): The access to give the requester. Defaults to an Editor license and Org Member role. - [Asset transfer](https://docs.mitzu.io/api/v1/schemas/asset-transfer): Assets moved to another member in one workspace. - [Branding](https://docs.mitzu.io/api/v1/schemas/branding): The workspace's logo and cover image. - [Bulk update event catalog request](https://docs.mitzu.io/api/v1/schemas/bulk-update-event-catalog-request) - [Bulk update event catalog response](https://docs.mitzu.io/api/v1/schemas/bulk-update-event-catalog-response) - [Clone workspace request](https://docs.mitzu.io/api/v1/schemas/clone-workspace-request): The new workspace's own settings. - [Clone workspace response](https://docs.mitzu.io/api/v1/schemas/clone-workspace-response): The new workspace and its indexing tasks. - [Connection request](https://docs.mitzu.io/api/v1/schemas/connection-request): A data warehouse connection. Which fields are needed depends on `type`, as on the Connection settings page. Credentials are write-only. - [Connection](https://docs.mitzu.io/api/v1/schemas/connection): A data warehouse connection without its credentials. - [Create dimension table request](https://docs.mitzu.io/api/v1/schemas/create-dimension-table-request): A new dimension table. - [Create metric table request](https://docs.mitzu.io/api/v1/schemas/create-metric-table-request): A new metric table. - [Create workspace request](https://docs.mitzu.io/api/v1/schemas/create-workspace-request): A new workspace. - [Data filter response](https://docs.mitzu.io/api/v1/schemas/data-filter-response): The workspace's data filter. - [Data filter](https://docs.mitzu.io/api/v1/schemas/data-filter): Limits every query of the workspace to the rows where `column` equals `value`. - [Delete event table response](https://docs.mitzu.io/api/v1/schemas/delete-event-table-response) - [Delete response](https://docs.mitzu.io/api/v1/schemas/delete-response): Confirms a deletion. - [Dimension table](https://docs.mitzu.io/api/v1/schemas/dimension-table): A dimension table with its configuration. - [Dimension tables response](https://docs.mitzu.io/api/v1/schemas/dimension-tables-response): The workspace's dimension tables. - [Entities response](https://docs.mitzu.io/api/v1/schemas/entities-response): The workspace's entities. - [Entity request](https://docs.mitzu.io/api/v1/schemas/entity-request): An entity. Display name and icon keep their current value, or get a default, when left out. - [Entity](https://docs.mitzu.io/api/v1/schemas/entity): Something events and tables can be about, such as a user or a group. - [Error](https://docs.mitzu.io/api/v1/schemas/error): The body of every error response. - [Event catalog entry](https://docs.mitzu.io/api/v1/schemas/event-catalog-entry): The state of an event catalog entry after a bulk update. - [Event catalog update item](https://docs.mitzu.io/api/v1/schemas/event-catalog-update-item): A single event catalog update. - [Event table details](https://docs.mitzu.io/api/v1/schemas/event-table-details): Contains details about an event table - [Event table](https://docs.mitzu.io/api/v1/schemas/event-table): An event table with its configuration. - [Event tables response](https://docs.mitzu.io/api/v1/schemas/event-tables-response): The workspace's event tables. - [Event usage stat item](https://docs.mitzu.io/api/v1/schemas/event-usage-stat-item): Usage statistics for a single event. - [Event usage stats response](https://docs.mitzu.io/api/v1/schemas/event-usage-stats-response): The latest cached event usage statistics for a workspace. - [Get tasks response](https://docs.mitzu.io/api/v1/schemas/get-tasks-response): Contains a mapping of task IDs to their status information. Missing tasks are not included in the response. - [Index all tables response](https://docs.mitzu.io/api/v1/schemas/index-all-tables-response) - [Index tasks response](https://docs.mitzu.io/api/v1/schemas/index-tasks-response): The started indexing tasks. - [Indexing settings](https://docs.mitzu.io/api/v1/schemas/indexing-settings): How Mitzu indexes the workspace's tables. - [Insight settings](https://docs.mitzu.io/api/v1/schemas/insight-settings): Defaults of the workspace's insights. - [Invite or update member request](https://docs.mitzu.io/api/v1/schemas/invite-or-update-member-request): Who to invite or update and with which access. - [Invite or update member response](https://docs.mitzu.io/api/v1/schemas/invite-or-update-member-response): The member after the change. - [Join request decision response](https://docs.mitzu.io/api/v1/schemas/join-request-decision-response): The decided join request. - [Join request](https://docs.mitzu.io/api/v1/schemas/join-request): A pending request to join the organization. - [List join requests response](https://docs.mitzu.io/api/v1/schemas/list-join-requests-response): The pending join requests. - [List organization members response](https://docs.mitzu.io/api/v1/schemas/list-organization-members-response): The members of the organization. - [List workspace members response](https://docs.mitzu.io/api/v1/schemas/list-workspace-members-response): Everyone with access to the workspace. - [List workspaces response](https://docs.mitzu.io/api/v1/schemas/list-workspaces-response) - [Member workspace role](https://docs.mitzu.io/api/v1/schemas/member-workspace-role): A member's role in one workspace. - [Member workspaces response](https://docs.mitzu.io/api/v1/schemas/member-workspaces-response): A member's role in every workspace. - [Metric table column request](https://docs.mitzu.io/api/v1/schemas/metric-table-column-request): A column of a metric table and its role. - [Metric table column](https://docs.mitzu.io/api/v1/schemas/metric-table-column): A column of a metric table. For `metric_value` columns the ID is also the warehouse metric's ID. - [Metric table](https://docs.mitzu.io/api/v1/schemas/metric-table): A metric table with its full definition. - [Metric tables response](https://docs.mitzu.io/api/v1/schemas/metric-tables-response): The workspace's metric tables. - [Open workspace response](https://docs.mitzu.io/api/v1/schemas/open-workspace-response): The opened workspace. - [Organization member](https://docs.mitzu.io/api/v1/schemas/organization-member): A member of the organization. - [Remove member response](https://docs.mitzu.io/api/v1/schemas/remove-member-response): The removed member and what happened to their assets. - [Remove workspace member response](https://docs.mitzu.io/api/v1/schemas/remove-workspace-member-response): The removed member. - [Restrict workspace request](https://docs.mitzu.io/api/v1/schemas/restrict-workspace-request): Who keeps access. - [Restrict workspace response](https://docs.mitzu.io/api/v1/schemas/restrict-workspace-response): Who lost access. - [Set entities request](https://docs.mitzu.io/api/v1/schemas/set-entities-request): The complete list of entities. - [Set workspace role request](https://docs.mitzu.io/api/v1/schemas/set-workspace-role-request): The new workspace role. `owner` is refused. - [Task info](https://docs.mitzu.io/api/v1/schemas/task-info): Contains basic information about a task. - [Time window](https://docs.mitzu.io/api/v1/schemas/time-window): A length of time. - [Update dimension table request](https://docs.mitzu.io/api/v1/schemas/update-dimension-table-request): Fields to change. Fields left out keep their value. - [Update event table request](https://docs.mitzu.io/api/v1/schemas/update-event-table-request): A partial update of an existing event table. Only the fields present in the request - [Update indexing settings request](https://docs.mitzu.io/api/v1/schemas/update-indexing-settings-request): Fields to change. Fields left out keep their value. - [Update insight settings request](https://docs.mitzu.io/api/v1/schemas/update-insight-settings-request): Fields to change. Fields left out keep their value. - [Update member request](https://docs.mitzu.io/api/v1/schemas/update-member-request): Send at least one of the fields. - [Update metric table request](https://docs.mitzu.io/api/v1/schemas/update-metric-table-request): Fields to change. `columns` replaces every column definition. - [Update workspace request](https://docs.mitzu.io/api/v1/schemas/update-workspace-request): Fields to change. Fields left out keep their value. - [Workspace details](https://docs.mitzu.io/api/v1/schemas/workspace-details): A workspace with its complete configuration. Credentials are never included. - [Workspace info](https://docs.mitzu.io/api/v1/schemas/workspace-info): Basic information about a workspace. - [Workspace member change response](https://docs.mitzu.io/api/v1/schemas/workspace-member-change-response): The workspace member after the change. - [Workspace member](https://docs.mitzu.io/api/v1/schemas/workspace-member): Someone with access to a workspace.