:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(mcp): add batch exports MCP tools (#57149)
Vojta Bartoša6912d52eca9
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.ymlindex 42f9516b5277..7b9e4c08dd36 100644--- a/.github/workflows/ci-mcp.yml+++ b/.github/workflows/ci-mcp.yml@@ -269,6 +269,8 @@ jobs:- name: Stop/Start stack with Docker Composeshell: bash+ env:+ COMPOSE_PROFILES: temporalrun: |cp posthog/user_scripts/latest_user_defined_function.xml docker/clickhouse/user_defined_function.xml(@@ -371,13 +373,15 @@ jobs:shell: bashenv:COMPOSE_FILE: docker-compose.dev.yml:docker-compose.profiles.yml+ COMPOSE_PROFILES: temporalrun: bin/ci-wait-for-docker launch --down- name: Wait for Docker servicesshell: bashenv:COMPOSE_FILE: docker-compose.dev.yml:docker-compose.profiles.yml- run: bin/ci-wait-for-docker wait+ COMPOSE_PROFILES: temporal+ run: bin/ci-wait-for-docker wait temporal- name: Run migrationsrun: |diff --git a/posthog/api/test/batch_exports/test_serializers.py b/posthog/api/test/batch_exports/test_serializers.pyindex d2b92255ceff..de297b238a91 100644--- a/posthog/api/test/batch_exports/test_serializers.py+++ b/posthog/api/test/batch_exports/test_serializers.py@@ -146,7 +146,16 @@ class TestBatchExportDestinationSerializerTeamScoping(BaseTest):foreign_integration = self._make_integration(foreign_team)serializer = BatchExportDestinationSerializer(- data={"type": "Databricks", "config": {}, field_name: foreign_integration.pk},+ data={+ "type": "Databricks",+ "config": {+ "http_path": "/sql/1.0/warehouses/abc",+ "catalog": "main",+ "schema": "default",+ "table_name": "events",+ },+ field_name: foreign_integration.pk,+ },context={"team_id": self.team.pk},)assert not serializer.is_valid()diff --git a/posthog/batch_exports/http.py b/posthog/batch_exports/http.pyindex 2bc4cdde465b..005a88056eb8 100644--- a/posthog/batch_exports/http.py+++ b/posthog/batch_exports/http.py@@ -17,7 +17,7 @@ from django.utils.timezone import nowimport structlogimport posthoganalyticsfrom drf_spectacular.types import OpenApiTypes-from drf_spectacular.utils import extend_schema, extend_schema_field+from drf_spectacular.utils import PolymorphicProxySerializer, extend_schema, extend_schema_field, extend_schema_viewfrom rest_framework import filters, mixins, request, response, serializers, status, viewsetsfrom rest_framework.exceptions import APIException, NotAuthenticated, NotFound, PermissionDenied, ValidationErrorfrom rest_framework.pagination import CursorPagination@@ -234,12 +234,213 @@ class BatchExportRunViewSet(TeamAndOrgViewSetMixin, LogEntryMixin, viewsets.Readreturn response.Response({"cancelled": True})+class DatabricksDestinationConfigSerializer(serializers.Serializer):+ """Typed configuration for a Databricks batch-export destination.++ Credentials live in the linked Integration, not in this config. Mirrors+ `DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.+ """++ http_path = serializers.CharField(help_text="Databricks SQL warehouse HTTP path.")+ catalog = serializers.CharField(help_text="Unity Catalog name.")+ schema = serializers.CharField(help_text="Schema (database) name inside the catalog.")+ table_name = serializers.CharField(help_text="Destination table name.")+ use_variant_type = serializers.BooleanField(+ required=False,+ default=True,+ help_text="Whether to use the Databricks VARIANT type for JSON-like columns.",+ )+ use_automatic_schema_evolution = serializers.BooleanField(+ required=False,+ default=True,+ help_text="Whether to let Databricks evolve the destination table schema automatically.",+ )+++class AzureBlobDestinationConfigSerializer(serializers.Serializer):+ """Typed configuration for an Azure Blob Storage batch-export destination.++ Credentials live in the linked Integration, not in this config. Mirrors+ `AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.+ """++ container_name = serializers.CharField(help_text="Azure Blob Storage container name.")+ prefix = serializers.CharField(+ required=False,+ default="",+ allow_blank=True,+ help_text="Object key prefix applied to every exported file.",+ )+ compression = serializers.ChoiceField(+ choices=sorted({codec for codecs in AZURE_BLOB_SUPPORTED_COMPRESSIONS.values() for codec in codecs}),+ required=False,+ allow_null=True,+ default=None,+ help_text="Optional compression codec applied to exported files. Valid codecs depend on file_format.",+ )+ file_format = serializers.ChoiceField(+ choices=["JSONLines", "Parquet"],+ required=False,+ default="JSONLines",+ help_text="File format used for exported objects.",+ )+ max_file_size_mb = serializers.IntegerField(+ required=False,+ allow_null=True,+ default=None,+ help_text="If set, rolls to a new file once the current file exceeds this size in MB.",+ )+++@extend_schema_field(+ PolymorphicProxySerializer(+ component_name="BatchExportDestinationConfig",+ serializers={+ "Databricks": DatabricksDestinationConfigSerializer,+ "AzureBlob": AzureBlobDestinationConfigSerializer,+ },+ resource_type_field_name="type",+ )+)+class TypedBatchExportDestinationConfigField(serializers.JSONField):+ """JSONField with a polymorphic OpenAPI schema keyed by the sibling `type`.++ Runtime validation remains a plain JSONField (see+ `BatchExportDestinationSerializer.validate`); the decorator only shapes the+ generated OpenAPI spec so clients and MCP tools see typed configs for+ integration-backed destinations.+ """++ pass+++# Request schemas per destination type. These shape the OpenAPI spec for create/update+# request bodies so that integration-backed destinations advertise integration_id as+# required. Runtime validation still flows through BatchExportDestinationSerializer and+# its validate_destination hook — these classes are schema-only.+class DatabricksDestinationRequestSerializer(serializers.Serializer):+ """Request shape for creating or updating a Databricks batch-export destination."""++ type = serializers.ChoiceField(choices=["Databricks"])+ integration_id = serializers.IntegerField(+ help_text="ID of a databricks-kind Integration. Use the integrations-list MCP tool to find one.",+ )+ config = DatabricksDestinationConfigSerializer()+++class AzureBlobDestinationRequestSerializer(serializers.Serializer):+ """Request shape for creating or updating an Azure Blob Storage batch-export destination."""++ type = serializers.ChoiceField(choices=["AzureBlob"])+ integration_id = serializers.IntegerField(+ help_text="ID of an azure-blob-kind Integration. Use the integrations-list MCP tool to find one.",+ )+ config = AzureBlobDestinationConfigSerializer()+++BatchExportDestinationRequest = PolymorphicProxySerializer(+ component_name="BatchExportDestinationRequest",+ serializers={+ "Databricks": DatabricksDestinationRequestSerializer,+ "AzureBlob": AzureBlobDestinationRequestSerializer,+ },+ resource_type_field_name="type",+)+++@extend_schema_field(BatchExportDestinationRequest)+class BatchExportDestinationRequestField(serializers.JSONField):+ """JSONField annotated with a polymorphic OpenAPI request schema.++ Only integration-backed destinations (Databricks, AzureBlob) are exposed in the+ schema — their integration_id is required so clients and MCP tools know up front+ that these destinations need a linked Integration. Runtime validation remains+ `BatchExportDestinationSerializer.validate_destination`.+ """++ pass+++class BatchExportRequestSerializer(serializers.Serializer):+ """Request body for create/partial_update on BatchExportViewSet.++ Mirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic+ `destination` schema so integration_id is marked required on the types that need+ it. Responses continue to use `BatchExportSerializer`.+ """++ name = serializers.CharField(help_text="Human-readable name for the batch export.")+ model = serializers.ChoiceField(+ choices=BatchExport.Model.choices,+ required=False,+ help_text="Which data model to export (events, persons, sessions).",+ )+ destination = BatchExportDestinationRequestField(+ help_text="Destination configuration. Required integration_id is enforced per destination type.",+ )+ interval = serializers.ChoiceField(+ choices=BATCH_EXPORT_INTERVALS,+ help_text="How often the batch export should run.",+ )+ paused = serializers.BooleanField(required=False, help_text="Whether the batch export is paused.")+ hogql_query = serializers.CharField(+ required=False,+ help_text="Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases.",+ )+ filters = serializers.JSONField(required=False, allow_null=True)+ timezone = serializers.CharField(+ required=False,+ allow_null=True,+ help_text="IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries.",+ )+ offset_day = serializers.IntegerField(+ required=False,+ allow_null=True,+ min_value=0,+ max_value=6,+ help_text="Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday).",+ )+ offset_hour = serializers.IntegerField(+ required=False,+ allow_null=True,+ min_value=0,+ max_value=23,+ help_text="Hour-of-day offset (0-23) for daily and weekly intervals.",+ )++class BatchExportDestinationSerializer(serializers.ModelSerializer):- """Serializer for an BatchExportDestination model."""+ """Serializer for an BatchExportDestination model.++ The `config` field is polymorphic and typed only for destinations that keep+ credentials in the linked Integration (currently Databricks and AzureBlob).+ Other destination types accept the same JSON shape but without a typed+ OpenAPI schema. Secret fields are stripped from `config` on read.+ """- integration = TeamScopedPrimaryKeyRelatedField(queryset=Integration.objects.all(), required=False, allow_null=True)+ config = TypedBatchExportDestinationConfigField(+ help_text=(+ "Destination-specific configuration. Fields depend on `type`. Credentials for "+ "integration-backed destinations (Databricks, AzureBlob) are NOT stored here — "+ "they live in the linked Integration. Secret fields are stripped from responses."+ ),+ )+ integration = TeamScopedPrimaryKeyRelatedField(+ queryset=Integration.objects.all(),+ required=False,+ allow_null=True,+ help_text="The integration for this destination.",+ )integration_id = TeamScopedPrimaryKeyRelatedField(- write_only=True, queryset=Integration.objects.all(), source="integration", required=False, allow_null=True+ write_only=True,+ queryset=Integration.objects.all(),+ source="integration",+ required=False,+ allow_null=True,+ help_text=(+ "ID of a team-scoped Integration providing credentials. Required for Databricks "+ "and AzureBlob destinations; optional for BigQuery; unused for other types."+ ),)class Meta:@@ -279,7 +480,8 @@ class BatchExportDestinationSerializer(serializers.ModelSerializer):and destination_field.default_factory == dataclasses.MISSING)if destination_field.name not in config:- is_patch = self.context["request"].method == "PATCH"+ request = self.context.get("request")+ is_patch = request is not None and request.method == "PATCH"if is_required and not is_patch:# When patching we expect a partial configuration. So, we don't# error on missing required fields.@@ -485,13 +687,42 @@ def resolve_and_validate_host(host: str) -> None:class BatchExportSerializer(serializers.ModelSerializer):"""Serializer for a BatchExport model."""- destination = BatchExportDestinationSerializer()- latest_runs = BatchExportRunSerializer(many=True, read_only=True)- interval = serializers.ChoiceField(choices=BATCH_EXPORT_INTERVALS)- hogql_query = HogQLSelectQueryField(required=False)- timezone = serializers.ChoiceField(choices=TIMEZONES, required=False, allow_null=True)- offset_day = serializers.IntegerField(required=False, allow_null=True, min_value=0, max_value=6)- offset_hour = serializers.IntegerField(required=False, allow_null=True, min_value=0, max_value=23)+ destination = BatchExportDestinationSerializer(+ help_text="Destination configuration (type, config, and optional integration)."+ )+ latest_runs = BatchExportRunSerializer(+ many=True,+ read_only=True,+ help_text="The 10 most recent runs of this batch export, ordered newest first.",+ )+ interval = serializers.ChoiceField(+ choices=BATCH_EXPORT_INTERVALS,+ help_text="How often the batch export should run.",+ )+ hogql_query = HogQLSelectQueryField(+ required=False,+ help_text="Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases.",+ )+ timezone = serializers.ChoiceField(+ choices=TIMEZONES,+ required=False,+ allow_null=True,+ help_text="IANA timezone name controlling daily and weekly interval boundaries. Defaults to UTC.",+ )+ offset_day = serializers.IntegerField(+ required=False,+ allow_null=True,+ min_value=0,+ max_value=6,+ help_text="Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday). Only valid when interval is 'week'.",+ )+ offset_hour = serializers.IntegerField(+ required=False,+ allow_null=True,+ min_value=0,+ max_value=23,+ help_text="Hour-of-day offset (0-23) for daily and weekly intervals. Only valid when interval is 'day' or 'week'.",+ )class Meta:model = BatchExport@@ -1015,6 +1246,14 @@ def recursive_dict_merge(@extend_schema(tags=["batch_exports"])+@extend_schema_view(+ # Request bodies use a polymorphic destination schema so that integration-backed types+ # (Databricks, AzureBlob) advertise integration_id as required up front. Responses+ # continue to use BatchExportSerializer.+ create=extend_schema(request=BatchExportRequestSerializer),+ update=extend_schema(request=BatchExportRequestSerializer),+ partial_update=extend_schema(request=BatchExportRequestSerializer),+)class BatchExportViewSet(TeamAndOrgViewSetMixin, LogEntryMixin, viewsets.ModelViewSet):scope_object = "batch_export"queryset = BatchExport.objects.exclude(deleted=True).order_by("-created_at").prefetch_related("destination").all()diff --git a/products/batch_exports/frontend/generated/api.schemas.ts b/products/batch_exports/frontend/generated/api.schemas.tsindex c10d0eae18d0..14630d7ac049 100644--- a/products/batch_exports/frontend/generated/api.schemas.ts+++ b/products/batch_exports/frontend/generated/api.schemas.ts@@ -60,8 +60,95 @@ export const BatchExportDestinationTypeEnumApi = {FileDownload: 'FileDownload',} as const+/**+ * Typed configuration for a Databricks batch-export destination.++Credentials live in the linked Integration, not in this config. Mirrors+`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.+ */+export interface DatabricksDestinationConfigApi {+ /** Databricks SQL warehouse HTTP path. */+ http_path: string+ /** Unity Catalog name. */+ catalog: string+ /** Schema (database) name inside the catalog. */+ schema: string+ /** Destination table name. */+ table_name: string+ /** Whether to use the Databricks VARIANT type for JSON-like columns. */+ use_variant_type?: boolean+ /** Whether to let Databricks evolve the destination table schema automatically. */+ use_automatic_schema_evolution?: boolean+}++/**+ * * `brotli` - brotli+ * `gzip` - gzip+ * `lz4` - lz4+ * `snappy` - snappy+ * `zstd` - zstd+ */+export type CompressionEnumApi = (typeof CompressionEnumApi)[keyof typeof CompressionEnumApi]++export const CompressionEnumApi = {+ Brotli: 'brotli',+ Gzip: 'gzip',+ Lz4: 'lz4',+ Snappy: 'snappy',+ Zstd: 'zstd',+} as const++/**+ * * `JSONLines` - JSONLines+ * `Parquet` - Parquet+ */+export type FileFormatEnumApi = (typeof FileFormatEnumApi)[keyof typeof FileFormatEnumApi]++export const FileFormatEnumApi = {+ JSONLines: 'JSONLines',+ Parquet: 'Parquet',+} as const++/**+ * Typed configuration for an Azure Blob Storage batch-export destination.++Credentials live in the linked Integration, not in this config. Mirrors+`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.+ */+export interface AzureBlobDestinationConfigApi {+ /** Azure Blob Storage container name. */+ container_name: string+ /** Object key prefix applied to every exported file. */+ prefix?: string+ /** Optional compression codec applied to exported files. Valid codecs depend on file_format.++* `brotli` - brotli+* `gzip` - gzip+* `lz4` - lz4+* `snappy` - snappy+* `zstd` - zstd */+ compression?: CompressionEnumApi | NullEnumApi | null+ /** File format used for exported objects.++* `JSONLines` - JSONLines+* `Parquet` - Parquet */+ file_format?: FileFormatEnumApi+ /**+ * If set, rolls to a new file once the current file exceeds this size in MB.+ * @nullable+ */+ max_file_size_mb?: number | null+}++export type BatchExportDestinationConfigApi = DatabricksDestinationConfigApi | AzureBlobDestinationConfigApi+/*** Serializer for an BatchExportDestination model.++The `config` field is polymorphic and typed only for destinations that keep+credentials in the linked Integration (currently Databricks and AzureBlob).+Other destination types accept the same JSON shape but without a typed+OpenAPI schema. Secret fields are stripped from `config` on read.*/export interface BatchExportDestinationApi {/** A choice of supported BatchExportDestination types.@@ -78,11 +165,17 @@ export interface BatchExportDestinationApi {* `NoOp` - Noop* `FileDownload` - File Download */type: BatchExportDestinationTypeEnumApi- /** A JSON field to store all configuration parameters required to access a BatchExportDestination. */- config?: unknown- /** @nullable */+ /** Destination-specific configuration. Fields depend on `type`. Credentials for integration-backed destinations (Databricks, AzureBlob) are NOT stored here — they live in the linked Integration. Secret fields are stripped from responses. */+ config: BatchExportDestinationConfigApi+ /**+ * The integration for this destination.+ * @nullable+ */integration?: number | null- /** @nullable */+ /**+ * ID of a team-scoped Integration providing credentials. Required for Databricks and AzureBlob destinations; optional for BigQuery; unused for other types.+ * @nullable+ */integration_id?: number | null}@@ -226,7 +319,15 @@ export interface BatchExportApi {* `persons` - Persons* `sessions` - Sessions */model?: ModelEnumApi | BlankEnumApi | NullEnumApi | null+ /** Destination configuration (type, config, and optional integration). */destination: BatchExportDestinationApi+ /** How often the batch export should run.++* `hour` - hour+* `day` - day+* `week` - week+* `every 5 minutes` - every 5 minutes+* `every 15 minutes` - every 15 minutes */interval: IntervalEnumApi/** Whether this BatchExport is paused or not. */paused?: boolean@@ -249,19 +350,621 @@ export interface BatchExportApi {* @nullable*/end_at?: string | null+ /** The 10 most recent runs of this batch export, ordered newest first. */readonly latest_runs: readonly BatchExportRunApi[]+ /** Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases. */hogql_query?: string/** A schema of custom fields to select when exporting data. */readonly schema: unknown | nullfilters?: unknown | null+ /** IANA timezone name controlling daily and weekly interval boundaries. Defaults to UTC.++* `Africa/Abidjan` - Africa/Abidjan+* `Africa/Accra` - Africa/Accra+* `Africa/Addis_Ababa` - Africa/Addis_Ababa+* `Africa/Algiers` - Africa/Algiers+* `Africa/Asmara` - Africa/Asmara+* `Africa/Asmera` - Africa/Asmera+* `Africa/Bamako` - Africa/Bamako+* `Africa/Bangui` - Africa/Bangui+* `Africa/Banjul` - Africa/Banjul+* `Africa/Bissau` - Africa/Bissau+* `Africa/Blantyre` - Africa/Blantyre+* `Africa/Brazzaville` - Africa/Brazzaville+* `Africa/Bujumbura` - Africa/Bujumbura+* `Africa/Cairo` - Africa/Cairo+* `Africa/Casablanca` - Africa/Casablanca+* `Africa/Ceuta` - Africa/Ceuta+* `Africa/Conakry` - Africa/Conakry+* `Africa/Dakar` - Africa/Dakar+* `Africa/Dar_es_Salaam` - Africa/Dar_es_Salaam+* `Africa/Djibouti` - Africa/Djibouti+* `Africa/Douala` - Africa/Douala+* `Africa/El_Aaiun` - Africa/El_Aaiun+* `Africa/Freetown` - Africa/Freetown+* `Africa/Gaborone` - Africa/Gaborone+* `Africa/Harare` - Africa/Harare+* `Africa/Johannesburg` - Africa/Johannesburg+* `Africa/Juba` - Africa/Juba+* `Africa/Kampala` - Africa/Kampala+* `Africa/Khartoum` - Africa/Khartoum+* `Africa/Kigali` - Africa/Kigali+* `Africa/Kinshasa` - Africa/Kinshasa+* `Africa/Lagos` - Africa/Lagos+* `Africa/Libreville` - Africa/Libreville+* `Africa/Lome` - Africa/Lome+* `Africa/Luanda` - Africa/Luanda+* `Africa/Lubumbashi` - Africa/Lubumbashi+* `Africa/Lusaka` - Africa/Lusaka+* `Africa/Malabo` - Africa/Malabo+* `Africa/Maputo` - Africa/Maputo+* `Africa/Maseru` - Africa/Maseru+* `Africa/Mbabane` - Africa/Mbabane+* `Africa/Mogadishu` - Africa/Mogadishu+* `Africa/Monrovia` - Africa/Monrovia+* `Africa/Nairobi` - Africa/Nairobi+* `Africa/Ndjamena` - Africa/Ndjamena+* `Africa/Niamey` - Africa/Niamey+* `Africa/Nouakchott` - Africa/Nouakchott+* `Africa/Ouagadougou` - Africa/Ouagadougou+* `Africa/Porto-Novo` - Africa/Porto-Novo+* `Africa/Sao_Tome` - Africa/Sao_Tome+* `Africa/Timbuktu` - Africa/Timbuktu+* `Africa/Tripoli` - Africa/Tripoli+* `Africa/Tunis` - Africa/Tunis+* `Africa/Windhoek` - Africa/Windhoek+* `America/Adak` - America/Adak+* `America/Anchorage` - America/Anchorage+* `America/Anguilla` - America/Anguilla+* `America/Antigua` - America/Antigua+* `America/Araguaina` - America/Araguaina+* `America/Argentina/Buenos_Aires` - America/Argentina/Buenos_Aires+* `America/Argentina/Catamarca` - America/Argentina/Catamarca+* `America/Argentina/ComodRivadavia` - America/Argentina/ComodRivadavia+* `America/Argentina/Cordoba` - America/Argentina/Cordoba+* `America/Argentina/Jujuy` - America/Argentina/Jujuy+* `America/Argentina/La_Rioja` - America/Argentina/La_Rioja+* `America/Argentina/Mendoza` - America/Argentina/Mendoza+* `America/Argentina/Rio_Gallegos` - America/Argentina/Rio_Gallegos+* `America/Argentina/Salta` - America/Argentina/Salta+* `America/Argentina/San_Juan` - America/Argentina/San_Juan+* `America/Argentina/San_Luis` - America/Argentina/San_Luis+* `America/Argentina/Tucuman` - America/Argentina/Tucuman+* `America/Argentina/Ushuaia` - America/Argentina/Ushuaia+* `America/Aruba` - America/Aruba+* `America/Asuncion` - America/Asuncion+* `America/Atikokan` - America/Atikokan+* `America/Atka` - America/Atka+* `America/Bahia` - America/Bahia+* `America/Bahia_Banderas` - America/Bahia_Banderas+* `America/Barbados` - America/Barbados+* `America/Belem` - America/Belem+* `America/Belize` - America/Belize+* `America/Blanc-Sablon` - America/Blanc-Sablon+* `America/Boa_Vista` - America/Boa_Vista+* `America/Bogota` - America/Bogota+* `America/Boise` - America/Boise+* `America/Buenos_Aires` - America/Buenos_Aires+* `America/Cambridge_Bay` - America/Cambridge_Bay+* `America/Campo_Grande` - America/Campo_Grande+* `America/Cancun` - America/Cancun+* `America/Caracas` - America/Caracas+* `America/Catamarca` - America/Catamarca+* `America/Cayenne` - America/Cayenne+* `America/Cayman` - America/Cayman+* `America/Chicago` - America/Chicago+* `America/Chihuahua` - America/Chihuahua+* `America/Ciudad_Juarez` - America/Ciudad_Juarez+* `America/Coral_Harbour` - America/Coral_Harbour+* `America/Cordoba` - America/Cordoba+* `America/Costa_Rica` - America/Costa_Rica+* `America/Creston` - America/Creston+* `America/Cuiaba` - America/Cuiaba+* `America/Curacao` - America/Curacao+* `America/Danmarkshavn` - America/Danmarkshavn+* `America/Dawson` - America/Dawson+* `America/Dawson_Creek` - America/Dawson_Creek+* `America/Denver` - America/Denver+* `America/Detroit` - America/Detroit+* `America/Dominica` - America/Dominica+* `America/Edmonton` - America/Edmonton+* `America/Eirunepe` - America/Eirunepe+* `America/El_Salvador` - America/El_Salvador+* `America/Ensenada` - America/Ensenada+* `America/Fort_Nelson` - America/Fort_Nelson+* `America/Fort_Wayne` - America/Fort_Wayne+* `America/Fortaleza` - America/Fortaleza+* `America/Glace_Bay` - America/Glace_Bay+* `America/Godthab` - America/Godthab+* `America/Goose_Bay` - America/Goose_Bay+* `America/Grand_Turk` - America/Grand_Turk+* `America/Grenada` - America/Grenada+* `America/Guadeloupe` - America/Guadeloupe+* `America/Guatemala` - America/Guatemala+* `America/Guayaquil` - America/Guayaquil+* `America/Guyana` - America/Guyana+* `America/Halifax` - America/Halifax+* `America/Havana` - America/Havana+* `America/Hermosillo` - America/Hermosillo+* `America/Indiana/Indianapolis` - America/Indiana/Indianapolis+* `America/Indiana/Knox` - America/Indiana/Knox+* `America/Indiana/Marengo` - America/Indiana/Marengo+* `America/Indiana/Petersburg` - America/Indiana/Petersburg+* `America/Indiana/Tell_City` - America/Indiana/Tell_City+* `America/Indiana/Vevay` - America/Indiana/Vevay+* `America/Indiana/Vincennes` - America/Indiana/Vincennes+* `America/Indiana/Winamac` - America/Indiana/Winamac+* `America/Indianapolis` - America/Indianapolis+* `America/Inuvik` - America/Inuvik+* `America/Iqaluit` - America/Iqaluit+* `America/Jamaica` - America/Jamaica+* `America/Jujuy` - America/Jujuy+* `America/Juneau` - America/Juneau+* `America/Kentucky/Louisville` - America/Kentucky/Louisville+* `America/Kentucky/Monticello` - America/Kentucky/Monticello+* `America/Knox_IN` - America/Knox_IN+* `America/Kralendijk` - America/Kralendijk+* `America/La_Paz` - America/La_Paz+* `America/Lima` - America/Lima+* `America/Los_Angeles` - America/Los_Angeles+* `America/Louisville` - America/Louisville+* `America/Lower_Princes` - America/Lower_Princes+* `America/Maceio` - America/Maceio+* `America/Managua` - America/Managua+* `America/Manaus` - America/Manaus+* `America/Marigot` - America/Marigot+* `America/Martinique` - America/Martinique+* `America/Matamoros` - America/Matamoros+* `America/Mazatlan` - America/Mazatlan+* `America/Mendoza` - America/Mendoza+* `America/Menominee` - America/Menominee+* `America/Merida` - America/Merida+* `America/Metlakatla` - America/Metlakatla+* `America/Mexico_City` - America/Mexico_City+* `America/Miquelon` - America/Miquelon+* `America/Moncton` - America/Moncton+* `America/Monterrey` - America/Monterrey+* `America/Montevideo` - America/Montevideo+* `America/Montreal` - America/Montreal+* `America/Montserrat` - America/Montserrat+* `America/Nassau` - America/Nassau+* `America/New_York` - America/New_York+* `America/Nipigon` - America/Nipigon+* `America/Nome` - America/Nome+* `America/Noronha` - America/Noronha+* `America/North_Dakota/Beulah` - America/North_Dakota/Beulah+* `America/North_Dakota/Center` - America/North_Dakota/Center+* `America/North_Dakota/New_Salem` - America/North_Dakota/New_Salem+* `America/Nuuk` - America/Nuuk+* `America/Ojinaga` - America/Ojinaga+* `America/Panama` - America/Panama+* `America/Pangnirtung` - America/Pangnirtung+* `America/Paramaribo` - America/Paramaribo+* `America/Phoenix` - America/Phoenix+* `America/Port-au-Prince` - America/Port-au-Prince+* `America/Port_of_Spain` - America/Port_of_Spain+* `America/Porto_Acre` - America/Porto_Acre+* `America/Porto_Velho` - America/Porto_Velho+* `America/Puerto_Rico` - America/Puerto_Rico+* `America/Punta_Arenas` - America/Punta_Arenas+* `America/Rainy_River` - America/Rainy_River+* `America/Rankin_Inlet` - America/Rankin_Inlet+* `America/Recife` - America/Recife+* `America/Regina` - America/Regina+* `America/Resolute` - America/Resolute+* `America/Rio_Branco` - America/Rio_Branco+* `America/Rosario` - America/Rosario+* `America/Santa_Isabel` - America/Santa_Isabel+* `America/Santarem` - America/Santarem+* `America/Santiago` - America/Santiago+* `America/Santo_Domingo` - America/Santo_Domingo+* `America/Sao_Paulo` - America/Sao_Paulo+* `America/Scoresbysund` - America/Scoresbysund+* `America/Shiprock` - America/Shiprock+* `America/Sitka` - America/Sitka+* `America/St_Barthelemy` - America/St_Barthelemy+* `America/St_Johns` - America/St_Johns+* `America/St_Kitts` - America/St_Kitts+* `America/St_Lucia` - America/St_Lucia+* `America/St_Thomas` - America/St_Thomas+* `America/St_Vincent` - America/St_Vincent+* `America/Swift_Current` - America/Swift_Current+* `America/Tegucigalpa` - America/Tegucigalpa+* `America/Thule` - America/Thule+* `America/Thunder_Bay` - America/Thunder_Bay+* `America/Tijuana` - America/Tijuana+* `America/Toronto` - America/Toronto+* `America/Tortola` - America/Tortola+* `America/Vancouver` - America/Vancouver+* `America/Virgin` - America/Virgin+* `America/Whitehorse` - America/Whitehorse+* `America/Winnipeg` - America/Winnipeg+* `America/Yakutat` - America/Yakutat+* `America/Yellowknife` - America/Yellowknife+* `Antarctica/Casey` - Antarctica/Casey+* `Antarctica/Davis` - Antarctica/Davis+* `Antarctica/DumontDUrville` - Antarctica/DumontDUrville+* `Antarctica/Macquarie` - Antarctica/Macquarie+* `Antarctica/Mawson` - Antarctica/Mawson+* `Antarctica/McMurdo` - Antarctica/McMurdo+* `Antarctica/Palmer` - Antarctica/Palmer+* `Antarctica/Rothera` - Antarctica/Rothera+* `Antarctica/South_Pole` - Antarctica/South_Pole+* `Antarctica/Syowa` - Antarctica/Syowa+* `Antarctica/Troll` - Antarctica/Troll+* `Antarctica/Vostok` - Antarctica/Vostok+* `Arctic/Longyearbyen` - Arctic/Longyearbyen+* `Asia/Aden` - Asia/Aden+* `Asia/Almaty` - Asia/Almaty+* `Asia/Amman` - Asia/Amman+* `Asia/Anadyr` - Asia/Anadyr+* `Asia/Aqtau` - Asia/Aqtau+* `Asia/Aqtobe` - Asia/Aqtobe+* `Asia/Ashgabat` - Asia/Ashgabat+* `Asia/Ashkhabad` - Asia/Ashkhabad+* `Asia/Atyrau` - Asia/Atyrau+* `Asia/Baghdad` - Asia/Baghdad+* `Asia/Bahrain` - Asia/Bahrain+* `Asia/Baku` - Asia/Baku+* `Asia/Bangkok` - Asia/Bangkok+* `Asia/Barnaul` - Asia/Barnaul+* `Asia/Beirut` - Asia/Beirut+* `Asia/Bishkek` - Asia/Bishkek+* `Asia/Brunei` - Asia/Brunei+* `Asia/Calcutta` - Asia/Calcutta+* `Asia/Chita` - Asia/Chita+* `Asia/Choibalsan` - Asia/Choibalsan+* `Asia/Chongqing` - Asia/Chongqing+* `Asia/Chungking` - Asia/Chungking+* `Asia/Colombo` - Asia/Colombo+* `Asia/Dacca` - Asia/Dacca+* `Asia/Damascus` - Asia/Damascus+* `Asia/Dhaka` - Asia/Dhaka+* `Asia/Dili` - Asia/Dili+* `Asia/Dubai` - Asia/Dubai+* `Asia/Dushanbe` - Asia/Dushanbe+* `Asia/Famagusta` - Asia/Famagusta+* `Asia/Gaza` - Asia/Gaza+* `Asia/Harbin` - Asia/Harbin+* `Asia/Hebron` - Asia/Hebron+* `Asia/Ho_Chi_Minh` - Asia/Ho_Chi_Minh+* `Asia/Hong_Kong` - Asia/Hong_Kong+* `Asia/Hovd` - Asia/Hovd+* `Asia/Irkutsk` - Asia/Irkutsk+* `Asia/Istanbul` - Asia/Istanbul+* `Asia/Jakarta` - Asia/Jakarta+* `Asia/Jayapura` - Asia/Jayapura+* `Asia/Jerusalem` - Asia/Jerusalem+* `Asia/Kabul` - Asia/Kabul+* `Asia/Kamchatka` - Asia/Kamchatka+* `Asia/Karachi` - Asia/Karachi+* `Asia/Kashgar` - Asia/Kashgar+* `Asia/Kathmandu` - Asia/Kathmandu+* `Asia/Katmandu` - Asia/Katmandu+* `Asia/Khandyga` - Asia/Khandyga+* `Asia/Kolkata` - Asia/Kolkata+* `Asia/Krasnoyarsk` - Asia/Krasnoyarsk+* `Asia/Kuala_Lumpur` - Asia/Kuala_Lumpur+* `Asia/Kuching` - Asia/Kuching+* `Asia/Kuwait` - Asia/Kuwait+* `Asia/Macao` - Asia/Macao+* `Asia/Macau` - Asia/Macau+* `Asia/Magadan` - Asia/Magadan+* `Asia/Makassar` - Asia/Makassar+* `Asia/Manila` - Asia/Manila+* `Asia/Muscat` - Asia/Muscat+* `Asia/Nicosia` - Asia/Nicosia+* `Asia/Novokuznetsk` - Asia/Novokuznetsk+* `Asia/Novosibirsk` - Asia/Novosibirsk+* `Asia/Omsk` - Asia/Omsk+* `Asia/Oral` - Asia/Oral+* `Asia/Phnom_Penh` - Asia/Phnom_Penh+* `Asia/Pontianak` - Asia/Pontianak+* `Asia/Pyongyang` - Asia/Pyongyang+* `Asia/Qatar` - Asia/Qatar+* `Asia/Qostanay` - Asia/Qostanay+* `Asia/Qyzylorda` - Asia/Qyzylorda+* `Asia/Rangoon` - Asia/Rangoon+* `Asia/Riyadh` - Asia/Riyadh+* `Asia/Saigon` - Asia/Saigon+* `Asia/Sakhalin` - Asia/Sakhalin+* `Asia/Samarkand` - Asia/Samarkand+* `Asia/Seoul` - Asia/Seoul+* `Asia/Shanghai` - Asia/Shanghai+* `Asia/Singapore` - Asia/Singapore+* `Asia/Srednekolymsk` - Asia/Srednekolymsk+* `Asia/Taipei` - Asia/Taipei+* `Asia/Tashkent` - Asia/Tashkent+* `Asia/Tbilisi` - Asia/Tbilisi+* `Asia/Tehran` - Asia/Tehran+* `Asia/Tel_Aviv` - Asia/Tel_Aviv+* `Asia/Thimbu` - Asia/Thimbu+* `Asia/Thimphu` - Asia/Thimphu+* `Asia/Tokyo` - Asia/Tokyo+* `Asia/Tomsk` - Asia/Tomsk+* `Asia/Ujung_Pandang` - Asia/Ujung_Pandang+* `Asia/Ulaanbaatar` - Asia/Ulaanbaatar+* `Asia/Ulan_Bator` - Asia/Ulan_Bator+* `Asia/Urumqi` - Asia/Urumqi+* `Asia/Ust-Nera` - Asia/Ust-Nera+* `Asia/Vientiane` - Asia/Vientiane+* `Asia/Vladivostok` - Asia/Vladivostok+* `Asia/Yakutsk` - Asia/Yakutsk+* `Asia/Yangon` - Asia/Yangon+* `Asia/Yekaterinburg` - Asia/Yekaterinburg+* `Asia/Yerevan` - Asia/Yerevan+* `Atlantic/Azores` - Atlantic/Azores+* `Atlantic/Bermuda` - Atlantic/Bermuda+* `Atlantic/Canary` - Atlantic/Canary+* `Atlantic/Cape_Verde` - Atlantic/Cape_Verde+* `Atlantic/Faeroe` - Atlantic/Faeroe+* `Atlantic/Faroe` - Atlantic/Faroe+* `Atlantic/Jan_Mayen` - Atlantic/Jan_Mayen+* `Atlantic/Madeira` - Atlantic/Madeira+* `Atlantic/Reykjavik` - Atlantic/Reykjavik+* `Atlantic/South_Georgia` - Atlantic/South_Georgia+* `Atlantic/St_Helena` - Atlantic/St_Helena+* `Atlantic/Stanley` - Atlantic/Stanley+* `Australia/ACT` - Australia/ACT+* `Australia/Adelaide` - Australia/Adelaide+* `Australia/Brisbane` - Australia/Brisbane+* `Australia/Broken_Hill` - Australia/Broken_Hill+* `Australia/Canberra` - Australia/Canberra+* `Australia/Currie` - Australia/Currie+* `Australia/Darwin` - Australia/Darwin+* `Australia/Eucla` - Australia/Eucla+* `Australia/Hobart` - Australia/Hobart+* `Australia/LHI` - Australia/LHI+* `Australia/Lindeman` - Australia/Lindeman+* `Australia/Lord_Howe` - Australia/Lord_Howe+* `Australia/Melbourne` - Australia/Melbourne+* `Australia/NSW` - Australia/NSW+* `Australia/North` - Australia/North+* `Australia/Perth` - Australia/Perth+* `Australia/Queensland` - Australia/Queensland+* `Australia/South` - Australia/South+* `Australia/Sydney` - Australia/Sydney+* `Australia/Tasmania` - Australia/Tasmania+* `Australia/Victoria` - Australia/Victoria+* `Australia/West` - Australia/West+* `Australia/Yancowinna` - Australia/Yancowinna+* `Brazil/Acre` - Brazil/Acre+* `Brazil/DeNoronha` - Brazil/DeNoronha+* `Brazil/East` - Brazil/East+* `Brazil/West` - Brazil/West+* `CET` - CET+* `CST6CDT` - CST6CDT+* `Canada/Atlantic` - Canada/Atlantic+* `Canada/Central` - Canada/Central+* `Canada/Eastern` - Canada/Eastern+* `Canada/Mountain` - Canada/Mountain+* `Canada/Newfoundland` - Canada/Newfoundland+* `Canada/Pacific` - Canada/Pacific+* `Canada/Saskatchewan` - Canada/Saskatchewan+* `Canada/Yukon` - Canada/Yukon+* `Chile/Continental` - Chile/Continental+* `Chile/EasterIsland` - Chile/EasterIsland+* `Cuba` - Cuba+* `EET` - EET+* `EST` - EST+* `EST5EDT` - EST5EDT+* `Egypt` - Egypt+* `Eire` - Eire+* `Etc/GMT` - Etc/GMT+* `Etc/GMT+0` - Etc/GMT+0+* `Etc/GMT+1` - Etc/GMT+1+* `Etc/GMT+10` - Etc/GMT+10+* `Etc/GMT+11` - Etc/GMT+11+* `Etc/GMT+12` - Etc/GMT+12+* `Etc/GMT+2` - Etc/GMT+2+* `Etc/GMT+3` - Etc/GMT+3+* `Etc/GMT+4` - Etc/GMT+4+* `Etc/GMT+5` - Etc/GMT+5+* `Etc/GMT+6` - Etc/GMT+6+* `Etc/GMT+7` - Etc/GMT+7+* `Etc/GMT+8` - Etc/GMT+8+* `Etc/GMT+9` - Etc/GMT+9+* `Etc/GMT-0` - Etc/GMT-0+* `Etc/GMT-1` - Etc/GMT-1+* `Etc/GMT-10` - Etc/GMT-10+* `Etc/GMT-11` - Etc/GMT-11+* `Etc/GMT-12` - Etc/GMT-12+* `Etc/GMT-13` - Etc/GMT-13+* `Etc/GMT-14` - Etc/GMT-14+* `Etc/GMT-2` - Etc/GMT-2+* `Etc/GMT-3` - Etc/GMT-3+* `Etc/GMT-4` - Etc/GMT-4+* `Etc/GMT-5` - Etc/GMT-5+* `Etc/GMT-6` - Etc/GMT-6+* `Etc/GMT-7` - Etc/GMT-7+* `Etc/GMT-8` - Etc/GMT-8+* `Etc/GMT-9` - Etc/GMT-9+* `Etc/GMT0` - Etc/GMT0+* `Etc/Greenwich` - Etc/Greenwich+* `Etc/UCT` - Etc/UCT+* `Etc/UTC` - Etc/UTC+* `Etc/Universal` - Etc/Universal+* `Etc/Zulu` - Etc/Zulu+* `Europe/Amsterdam` - Europe/Amsterdam+* `Europe/Andorra` - Europe/Andorra+* `Europe/Astrakhan` - Europe/Astrakhan+* `Europe/Athens` - Europe/Athens+* `Europe/Belfast` - Europe/Belfast+* `Europe/Belgrade` - Europe/Belgrade+* `Europe/Berlin` - Europe/Berlin+* `Europe/Bratislava` - Europe/Bratislava+* `Europe/Brussels` - Europe/Brussels+* `Europe/Bucharest` - Europe/Bucharest+* `Europe/Budapest` - Europe/Budapest+* `Europe/Busingen` - Europe/Busingen+* `Europe/Chisinau` - Europe/Chisinau+* `Europe/Copenhagen` - Europe/Copenhagen+* `Europe/Dublin` - Europe/Dublin+* `Europe/Gibraltar` - Europe/Gibraltar+* `Europe/Guernsey` - Europe/Guernsey+* `Europe/Helsinki` - Europe/Helsinki+* `Europe/Isle_of_Man` - Europe/Isle_of_Man+* `Europe/Istanbul` - Europe/Istanbul+* `Europe/Jersey` - Europe/Jersey+* `Europe/Kaliningrad` - Europe/Kaliningrad+* `Europe/Kiev` - Europe/Kiev+* `Europe/Kirov` - Europe/Kirov+* `Europe/Kyiv` - Europe/Kyiv+* `Europe/Lisbon` - Europe/Lisbon+* `Europe/Ljubljana` - Europe/Ljubljana+* `Europe/London` - Europe/London+* `Europe/Luxembourg` - Europe/Luxembourg+* `Europe/Madrid` - Europe/Madrid+* `Europe/Malta` - Europe/Malta+* `Europe/Mariehamn` - Europe/Mariehamn+* `Europe/Minsk` - Europe/Minsk+* `Europe/Monaco` - Europe/Monaco+* `Europe/Moscow` - Europe/Moscow+* `Europe/Nicosia` - Europe/Nicosia+* `Europe/Oslo` - Europe/Oslo+* `Europe/Paris` - Europe/Paris+* `Europe/Podgorica` - Europe/Podgorica+* `Europe/Prague` - Europe/Prague+* `Europe/Riga` - Europe/Riga+* `Europe/Rome` - Europe/Rome+* `Europe/Samara` - Europe/Samara+* `Europe/San_Marino` - Europe/San_Marino+* `Europe/Sarajevo` - Europe/Sarajevo+* `Europe/Saratov` - Europe/Saratov+* `Europe/Simferopol` - Europe/Simferopol+* `Europe/Skopje` - Europe/Skopje+* `Europe/Sofia` - Europe/Sofia+* `Europe/Stockholm` - Europe/Stockholm+* `Europe/Tallinn` - Europe/Tallinn+* `Europe/Tirane` - Europe/Tirane+* `Europe/Tiraspol` - Europe/Tiraspol+* `Europe/Ulyanovsk` - Europe/Ulyanovsk+* `Europe/Uzhgorod` - Europe/Uzhgorod+* `Europe/Vaduz` - Europe/Vaduz+* `Europe/Vatican` - Europe/Vatican+* `Europe/Vienna` - Europe/Vienna+* `Europe/Vilnius` - Europe/Vilnius+* `Europe/Volgograd` - Europe/Volgograd+* `Europe/Warsaw` - Europe/Warsaw+* `Europe/Zagreb` - Europe/Zagreb+* `Europe/Zaporozhye` - Europe/Zaporozhye+* `Europe/Zurich` - Europe/Zurich+* `GB` - GB+* `GB-Eire` - GB-Eire+* `GMT` - GMT+* `GMT+0` - GMT+0+* `GMT-0` - GMT-0+* `GMT0` - GMT0+* `Greenwich` - Greenwich+* `HST` - HST+* `Hongkong` - Hongkong+* `Iceland` - Iceland+* `Indian/Antananarivo` - Indian/Antananarivo+* `Indian/Chagos` - Indian/Chagos+* `Indian/Christmas` - Indian/Christmas+* `Indian/Cocos` - Indian/Cocos+* `Indian/Comoro` - Indian/Comoro+* `Indian/Kerguelen` - Indian/Kerguelen+* `Indian/Mahe` - Indian/Mahe+* `Indian/Maldives` - Indian/Maldives+* `Indian/Mauritius` - Indian/Mauritius+* `Indian/Mayotte` - Indian/Mayotte+* `Indian/Reunion` - Indian/Reunion+* `Iran` - Iran+* `Israel` - Israel+* `Jamaica` - Jamaica+* `Japan` - Japan+* `Kwajalein` - Kwajalein+* `Libya` - Libya+* `MET` - MET+* `MST` - MST+* `MST7MDT` - MST7MDT+* `Mexico/BajaNorte` - Mexico/BajaNorte+* `Mexico/BajaSur` - Mexico/BajaSur+* `Mexico/General` - Mexico/General+* `NZ` - NZ+* `NZ-CHAT` - NZ-CHAT+* `Navajo` - Navajo+* `PRC` - PRC+* `PST8PDT` - PST8PDT+* `Pacific/Apia` - Pacific/Apia+* `Pacific/Auckland` - Pacific/Auckland+* `Pacific/Bougainville` - Pacific/Bougainville+* `Pacific/Chatham` - Pacific/Chatham+* `Pacific/Chuuk` - Pacific/Chuuk+* `Pacific/Easter` - Pacific/Easter+* `Pacific/Efate` - Pacific/Efate+* `Pacific/Enderbury` - Pacific/Enderbury+* `Pacific/Fakaofo` - Pacific/Fakaofo+* `Pacific/Fiji` - Pacific/Fiji+* `Pacific/Funafuti` - Pacific/Funafuti+* `Pacific/Galapagos` - Pacific/Galapagos+* `Pacific/Gambier` - Pacific/Gambier+* `Pacific/Guadalcanal` - Pacific/Guadalcanal+* `Pacific/Guam` - Pacific/Guam+* `Pacific/Honolulu` - Pacific/Honolulu+* `Pacific/Johnston` - Pacific/Johnston+* `Pacific/Kanton` - Pacific/Kanton+* `Pacific/Kiritimati` - Pacific/Kiritimati+* `Pacific/Kosrae` - Pacific/Kosrae+* `Pacific/Kwajalein` - Pacific/Kwajalein+* `Pacific/Majuro` - Pacific/Majuro+* `Pacific/Marquesas` - Pacific/Marquesas+* `Pacific/Midway` - Pacific/Midway+* `Pacific/Nauru` - Pacific/Nauru+* `Pacific/Niue` - Pacific/Niue+* `Pacific/Norfolk` - Pacific/Norfolk+* `Pacific/Noumea` - Pacific/Noumea+* `Pacific/Pago_Pago` - Pacific/Pago_Pago+* `Pacific/Palau` - Pacific/Palau+* `Pacific/Pitcairn` - Pacific/Pitcairn+* `Pacific/Pohnpei` - Pacific/Pohnpei+* `Pacific/Ponape` - Pacific/Ponape+* `Pacific/Port_Moresby` - Pacific/Port_Moresby+* `Pacific/Rarotonga` - Pacific/Rarotonga+* `Pacific/Saipan` - Pacific/Saipan+* `Pacific/Samoa` - Pacific/Samoa+* `Pacific/Tahiti` - Pacific/Tahiti+* `Pacific/Tarawa` - Pacific/Tarawa+* `Pacific/Tongatapu` - Pacific/Tongatapu+* `Pacific/Truk` - Pacific/Truk+* `Pacific/Wake` - Pacific/Wake+* `Pacific/Wallis` - Pacific/Wallis+* `Pacific/Yap` - Pacific/Yap+* `Poland` - Poland+* `Portugal` - Portugal+* `ROC` - ROC+* `ROK` - ROK+* `Singapore` - Singapore+* `Turkey` - Turkey+* `UCT` - UCT+* `US/Alaska` - US/Alaska+* `US/Aleutian` - US/Aleutian+* `US/Arizona` - US/Arizona+* `US/Central` - US/Central+* `US/East-Indiana` - US/East-Indiana+* `US/Eastern` - US/Eastern+* `US/Hawaii` - US/Hawaii+* `US/Indiana-Starke` - US/Indiana-Starke+* `US/Michigan` - US/Michigan+* `US/Mountain` - US/Mountain+* `US/Pacific` - US/Pacific+* `US/Samoa` - US/Samoa+* `UTC` - UTC+* `Universal` - Universal+* `W-SU` - W-SU+* `WET` - WET+* `Zulu` - Zulu */timezone?: string | NullEnumApi | null/**+ * Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday). Only valid when interval is 'week'.* @minimum 0* @maximum 6* @nullable*/offset_day?: number | null/**+ * Hour-of-day offset (0-23) for daily and weekly intervals. Only valid when interval is 'day' or 'week'.* @minimum 0* @maximum 23* @nullable@@ -278,6 +981,94 @@ export interface PaginatedBatchExportListApi {results: BatchExportApi[]}+export type DatabricksDestinationRequestApiType =+ (typeof DatabricksDestinationRequestApiType)[keyof typeof DatabricksDestinationRequestApiType]++export const DatabricksDestinationRequestApiType = {+ Databricks: 'Databricks',+} as const++/**+ * Request shape for creating or updating a Databricks batch-export destination.+ */+export interface DatabricksDestinationRequestApi {+ type: DatabricksDestinationRequestApiType+ /** ID of a databricks-kind Integration. Use the integrations-list MCP tool to find one. */+ integration_id: number+ config: DatabricksDestinationConfigApi+}++export type AzureBlobDestinationRequestApiType =+ (typeof AzureBlobDestinationRequestApiType)[keyof typeof AzureBlobDestinationRequestApiType]++export const AzureBlobDestinationRequestApiType = {+ AzureBlob: 'AzureBlob',+} as const++/**+ * Request shape for creating or updating an Azure Blob Storage batch-export destination.+ */+export interface AzureBlobDestinationRequestApi {+ type: AzureBlobDestinationRequestApiType+ /** ID of an azure-blob-kind Integration. Use the integrations-list MCP tool to find one. */+ integration_id: number+ config: AzureBlobDestinationConfigApi+}++export type BatchExportDestinationRequestApi = DatabricksDestinationRequestApi | AzureBlobDestinationRequestApi++/**+ * Request body for create/partial_update on BatchExportViewSet.++Mirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic+`destination` schema so integration_id is marked required on the types that need+it. Responses continue to use `BatchExportSerializer`.+ */+export interface BatchExportRequestApi {+ /** Human-readable name for the batch export. */+ name: string+ /** Which data model to export (events, persons, sessions).++* `events` - Events+* `persons` - Persons+* `sessions` - Sessions */+ model?: ModelEnumApi+ /** Destination configuration. Required integration_id is enforced per destination type. */+ destination: BatchExportDestinationRequestApi+ /** How often the batch export should run.++* `hour` - hour+* `day` - day+* `week` - week+* `every 5 minutes` - every 5 minutes+* `every 15 minutes` - every 15 minutes */+ interval: IntervalEnumApi+ /** Whether the batch export is paused. */+ paused?: boolean+ /** Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases. */+ hogql_query?: string+ filters?: unknown | null+ /**+ * IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries.+ * @nullable+ */+ timezone?: string | null+ /**+ * Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday).+ * @minimum 0+ * @maximum 6+ * @nullable+ */+ offset_day?: number | null+ /**+ * Hour-of-day offset (0-23) for daily and weekly intervals.+ * @minimum 0+ * @maximum 23+ * @nullable+ */+ offset_hour?: number | null+}+/*** * `Cancelled` - Cancelled* `Completed` - Completed@@ -386,56 +1177,50 @@ export interface PaginatedBatchExportRunListApi {}/**- * Serializer for a BatchExport model.+ * Request body for create/partial_update on BatchExportViewSet.++Mirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic+`destination` schema so integration_id is marked required on the types that need+it. Responses continue to use `BatchExportSerializer`.*/-export interface PatchedBatchExportApi {- readonly id?: string- /** The team this belongs to. */- readonly team_id?: number- /** A human-readable name for this BatchExport. */+export interface PatchedBatchExportRequestApi {+ /** Human-readable name for the batch export. */name?: string- /** Which model this BatchExport is exporting.+ /** Which data model to export (events, persons, sessions).* `events` - Events* `persons` - Persons* `sessions` - Sessions */- model?: ModelEnumApi | BlankEnumApi | NullEnumApi | null- destination?: BatchExportDestinationApi+ model?: ModelEnumApi+ /** Destination configuration. Required integration_id is enforced per destination type. */+ destination?: BatchExportDestinationRequestApi+ /** How often the batch export should run.++* `hour` - hour+* `day` - day+* `week` - week+* `every 5 minutes` - every 5 minutes+* `every 15 minutes` - every 15 minutes */interval?: IntervalEnumApi- /** Whether this BatchExport is paused or not. */+ /** Whether the batch export is paused. */paused?: boolean- /** The timestamp at which this BatchExport was created. */- readonly created_at?: string- /** The timestamp at which this BatchExport was last updated. */- readonly last_updated_at?: string- /**- * The timestamp at which this BatchExport was last paused.- * @nullable- */- last_paused_at?: string | null+ /** Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases. */+ hogql_query?: string+ filters?: unknown | null/**- * Time before which any Batch Export runs won't be triggered.+ * IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries.* @nullable*/- start_at?: string | null- /**- * Time after which any Batch Export runs won't be triggered.- * @nullable- */- end_at?: string | null- readonly latest_runs?: readonly BatchExportRunApi[]- hogql_query?: string- /** A schema of custom fields to select when exporting data. */- readonly schema?: unknown | null- filters?: unknown | null- timezone?: string | NullEnumApi | null+ timezone?: string | null/**+ * Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday).* @minimum 0* @maximum 6* @nullable*/offset_day?: number | null/**+ * Hour-of-day offset (0-23) for daily and weekly intervals.* @minimum 0* @maximum 23* @nullable@@ -443,6 +1228,26 @@ export interface PatchedBatchExportApi {offset_hour?: number | null}+/**+ * * `Databricks` - Databricks+ */+export type DatabricksDestinationRequestTypeEnumApi =+ (typeof DatabricksDestinationRequestTypeEnumApi)[keyof typeof DatabricksDestinationRequestTypeEnumApi]++export const DatabricksDestinationRequestTypeEnumApi = {+ Databricks: 'Databricks',+} as const++/**+ * * `AzureBlob` - AzureBlob+ */+export type AzureBlobDestinationRequestTypeEnumApi =+ (typeof AzureBlobDestinationRequestTypeEnumApi)[keyof typeof AzureBlobDestinationRequestTypeEnumApi]++export const AzureBlobDestinationRequestTypeEnumApi = {+ AzureBlob: 'AzureBlob',+} as const+export type BatchExportsListParams = {/*** Number of results to return per page.diff --git a/products/batch_exports/frontend/generated/api.ts b/products/batch_exports/frontend/generated/api.tsindex 5b0b0b4b8453..fd718a5300e3 100644--- a/products/batch_exports/frontend/generated/api.ts+++ b/products/batch_exports/frontend/generated/api.ts@@ -11,6 +11,7 @@ import { apiMutator } from '../../../../frontend/src/lib/api-orval-mutator'import type {BatchExportApi,BatchExportBackfillApi,+ BatchExportRequestApi,BatchExportRunApi,BatchExportsBackfillsListParams,BatchExportsListParams,@@ -20,7 +21,7 @@ import type {PaginatedBatchExportBackfillListApi,PaginatedBatchExportListApi,PaginatedBatchExportRunListApi,- PatchedBatchExportApi,+ PatchedBatchExportRequestApi,} from './api.schemas'// https://stackoverflow.com/questions/49579094/typescript-conditional-types-filter-out-readonly-properties-pick-only-requir/49579497#49579497@@ -73,14 +74,14 @@ export const getBatchExportsCreateUrl = (projectId: string) => {export const batchExportsCreate = async (projectId: string,- batchExportApi: NonReadonly<BatchExportApi>,+ batchExportRequestApi: BatchExportRequestApi,options?: RequestInit): Promise<BatchExportApi> => {return apiMutator<BatchExportApi>(getBatchExportsCreateUrl(projectId), {...options,method: 'POST',headers: { 'Content-Type': 'application/json', ...options?.headers },- body: JSON.stringify(batchExportApi),+ body: JSON.stringify(batchExportRequestApi),})}@@ -339,14 +340,14 @@ export const getBatchExportsUpdateUrl = (projectId: string, id: string) => {export const batchExportsUpdate = async (projectId: string,id: string,- batchExportApi: NonReadonly<BatchExportApi>,+ batchExportRequestApi: BatchExportRequestApi,options?: RequestInit): Promise<BatchExportApi> => {return apiMutator<BatchExportApi>(getBatchExportsUpdateUrl(projectId, id), {...options,method: 'PUT',headers: { 'Content-Type': 'application/json', ...options?.headers },- body: JSON.stringify(batchExportApi),+ body: JSON.stringify(batchExportRequestApi),})}@@ -357,14 +358,14 @@ export const getBatchExportsPartialUpdateUrl = (projectId: string, id: string) =export const batchExportsPartialUpdate = async (projectId: string,id: string,- patchedBatchExportApi: NonReadonly<PatchedBatchExportApi>,+ patchedBatchExportRequestApi: PatchedBatchExportRequestApi,options?: RequestInit): Promise<BatchExportApi> => {return apiMutator<BatchExportApi>(getBatchExportsPartialUpdateUrl(projectId, id), {...options,method: 'PATCH',headers: { 'Content-Type': 'application/json', ...options?.headers },- body: JSON.stringify(patchedBatchExportApi),+ body: JSON.stringify(patchedBatchExportRequestApi),})}diff --git a/products/batch_exports/frontend/generated/api.zod.ts b/products/batch_exports/frontend/generated/api.zod.tsindex 3a07f2ccac1c..3a0d8227a08d 100644--- a/products/batch_exports/frontend/generated/api.zod.ts+++ b/products/batch_exports/frontend/generated/api.zod.ts@@ -9,6 +9,10 @@*/import * as zod from 'zod'+export const batchExportsCreateBodyDestinationOneOneConfigUseVariantTypeDefault = true+export const batchExportsCreateBodyDestinationOneOneConfigUseAutomaticSchemaEvolutionDefault = true+export const batchExportsCreateBodyDestinationOneTwoConfigPrefixDefault = ``+export const batchExportsCreateBodyDestinationOneTwoConfigFileFormatDefault = `JSONLines`export const batchExportsCreateBodyOffsetDayMin = 0export const batchExportsCreateBodyOffsetDayMax = 6@@ -17,81 +21,133 @@ export const batchExportsCreateBodyOffsetHourMax = 23export const BatchExportsCreateBody = /* @__PURE__ */ zod.object({- name: zod.string().describe('A human-readable name for this BatchExport.'),+ name: zod.string().describe('Human-readable name for the batch export.'),model: zod- .union([- zod- .enum(['events', 'persons', 'sessions'])- .describe('* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'),- zod.enum(['']),- zod.literal(null),- ])- .nullish()+ .enum(['events', 'persons', 'sessions'])+ .describe('* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions')+ .optional().describe(- 'Which model this BatchExport is exporting.\n\n* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'+ 'Which data model to export (events, persons, sessions).\n\n* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'),destination: zod- .object({- type: zod- .enum([- 'S3',- 'Snowflake',- 'Postgres',- 'Redshift',- 'BigQuery',- 'Databricks',- 'AzureBlob',- 'Workflows',- 'HTTP',- 'NoOp',- 'FileDownload',- ])- .describe(- '* `S3` - S3\n* `Snowflake` - Snowflake\n* `Postgres` - Postgres\n* `Redshift` - Redshift\n* `BigQuery` - Bigquery\n* `Databricks` - Databricks\n* `AzureBlob` - Azure Blob\n* `Workflows` - Workflows\n* `HTTP` - Http\n* `NoOp` - Noop\n* `FileDownload` - File Download'- )- .describe(- 'A choice of supported BatchExportDestination types.\n\n* `S3` - S3\n* `Snowflake` - Snowflake\n* `Postgres` - Postgres\n* `Redshift` - Redshift\n* `BigQuery` - Bigquery\n* `Databricks` - Databricks\n* `AzureBlob` - Azure Blob\n* `Workflows` - Workflows\n* `HTTP` - Http\n* `NoOp` - Noop\n* `FileDownload` - File Download'- ),- config: zod- .unknown()- .optional()- .describe(- 'A JSON field to store all configuration parameters required to access a BatchExportDestination.'- ),- integration: zod.number().nullish(),- integration_id: zod.number().nullish(),- })- .describe('Serializer for an BatchExportDestination model.'),+ .union([+ zod+ .object({+ type: zod.enum(['Databricks']),+ integration_id: zod+ .number()+ .describe(+ 'ID of a databricks-kind Integration. Use the integrations-list MCP tool to find one.'+ ),+ config: zod+ .object({+ http_path: zod.string().describe('Databricks SQL warehouse HTTP path.'),+ catalog: zod.string().describe('Unity Catalog name.'),+ schema: zod.string().describe('Schema (database) name inside the catalog.'),+ table_name: zod.string().describe('Destination table name.'),+ use_variant_type: zod+ .boolean()+ .default(batchExportsCreateBodyDestinationOneOneConfigUseVariantTypeDefault)+ .describe('Whether to use the Databricks VARIANT type for JSON-like columns.'),+ use_automatic_schema_evolution: zod+ .boolean()+ .default(+ batchExportsCreateBodyDestinationOneOneConfigUseAutomaticSchemaEvolutionDefault+ )+ .describe(+ 'Whether to let Databricks evolve the destination table schema automatically.'+ ),+ })+ .describe(+ 'Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ })+ .describe('Request shape for creating or updating a Databricks batch-export destination.'),+ zod+ .object({+ type: zod.enum(['AzureBlob']),+ integration_id: zod+ .number()+ .describe(+ 'ID of an azure-blob-kind Integration. Use the integrations-list MCP tool to find one.'+ ),+ config: zod+ .object({+ container_name: zod.string().describe('Azure Blob Storage container name.'),+ prefix: zod+ .string()+ .default(batchExportsCreateBodyDestinationOneTwoConfigPrefixDefault)+ .describe('Object key prefix applied to every exported file.'),+ compression: zod+ .union([+ zod+ .enum(['brotli', 'gzip', 'lz4', 'snappy', 'zstd'])+ .describe(+ '* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ zod.literal(null),+ ])+ .nullish()+ .describe(+ 'Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ file_format: zod+ .enum(['JSONLines', 'Parquet'])+ .describe('* `JSONLines` - JSONLines\n* `Parquet` - Parquet')+ .default(batchExportsCreateBodyDestinationOneTwoConfigFileFormatDefault)+ .describe(+ 'File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet'+ ),+ max_file_size_mb: zod+ .number()+ .nullish()+ .describe(+ 'If set, rolls to a new file once the current file exceeds this size in MB.'+ ),+ })+ .describe(+ 'Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ })+ .describe('Request shape for creating or updating an Azure Blob Storage batch-export destination.'),+ ])+ .describe('Destination configuration. Required integration_id is enforced per destination type.'),interval: zod.enum(['hour', 'day', 'week', 'every 5 minutes', 'every 15 minutes']).describe('* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ )+ .describe(+ 'How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'),- paused: zod.boolean().optional().describe('Whether this BatchExport is paused or not.'),- last_paused_at: zod.iso- .datetime({})- .nullish()- .describe('The timestamp at which this BatchExport was last paused.'),- start_at: zod.iso- .datetime({})- .nullish()- .describe("Time before which any Batch Export runs won't be triggered."),- end_at: zod.iso.datetime({}).nullish().describe("Time after which any Batch Export runs won't be triggered."),- hogql_query: zod.string().optional(),+ paused: zod.boolean().optional().describe('Whether the batch export is paused.'),+ hogql_query: zod+ .string()+ .optional()+ .describe('Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases.'),filters: zod.unknown().nullish(),- timezone: zod.union([zod.string(), zod.literal(null)]).nullish(),+ timezone: zod+ .string()+ .nullish()+ .describe(+ "IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries."+ ),offset_day: zod.number().min(batchExportsCreateBodyOffsetDayMin).max(batchExportsCreateBodyOffsetDayMax)- .nullish(),+ .nullish()+ .describe('Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday).'),offset_hour: zod.number().min(batchExportsCreateBodyOffsetHourMin).max(batchExportsCreateBodyOffsetHourMax)- .nullish(),+ .nullish()+ .describe('Hour-of-day offset (0-23) for daily and weekly intervals.'),})- .describe('Serializer for a BatchExport model.')+ .describe(+ 'Request body for create/partial_update on BatchExportViewSet.\n\nMirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic\n`destination` schema so integration_id is marked required on the types that need\nit. Responses continue to use `BatchExportSerializer`.'+ )/*** Create a new backfill for a BatchExport.@@ -338,6 +394,10 @@ export const BatchExportsRunsRetryCreateBody = /* @__PURE__ */ zod}).describe('Serializer for a BatchExportRun model.')+export const batchExportsUpdateBodyDestinationOneOneConfigUseVariantTypeDefault = true+export const batchExportsUpdateBodyDestinationOneOneConfigUseAutomaticSchemaEvolutionDefault = true+export const batchExportsUpdateBodyDestinationOneTwoConfigPrefixDefault = ``+export const batchExportsUpdateBodyDestinationOneTwoConfigFileFormatDefault = `JSONLines`export const batchExportsUpdateBodyOffsetDayMin = 0export const batchExportsUpdateBodyOffsetDayMax = 6@@ -346,82 +406,138 @@ export const batchExportsUpdateBodyOffsetHourMax = 23export const BatchExportsUpdateBody = /* @__PURE__ */ zod.object({- name: zod.string().describe('A human-readable name for this BatchExport.'),+ name: zod.string().describe('Human-readable name for the batch export.'),model: zod- .union([- zod- .enum(['events', 'persons', 'sessions'])- .describe('* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'),- zod.enum(['']),- zod.literal(null),- ])- .nullish()+ .enum(['events', 'persons', 'sessions'])+ .describe('* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions')+ .optional().describe(- 'Which model this BatchExport is exporting.\n\n* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'+ 'Which data model to export (events, persons, sessions).\n\n* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'),destination: zod- .object({- type: zod- .enum([- 'S3',- 'Snowflake',- 'Postgres',- 'Redshift',- 'BigQuery',- 'Databricks',- 'AzureBlob',- 'Workflows',- 'HTTP',- 'NoOp',- 'FileDownload',- ])- .describe(- '* `S3` - S3\n* `Snowflake` - Snowflake\n* `Postgres` - Postgres\n* `Redshift` - Redshift\n* `BigQuery` - Bigquery\n* `Databricks` - Databricks\n* `AzureBlob` - Azure Blob\n* `Workflows` - Workflows\n* `HTTP` - Http\n* `NoOp` - Noop\n* `FileDownload` - File Download'- )- .describe(- 'A choice of supported BatchExportDestination types.\n\n* `S3` - S3\n* `Snowflake` - Snowflake\n* `Postgres` - Postgres\n* `Redshift` - Redshift\n* `BigQuery` - Bigquery\n* `Databricks` - Databricks\n* `AzureBlob` - Azure Blob\n* `Workflows` - Workflows\n* `HTTP` - Http\n* `NoOp` - Noop\n* `FileDownload` - File Download'- ),- config: zod- .unknown()- .optional()- .describe(- 'A JSON field to store all configuration parameters required to access a BatchExportDestination.'- ),- integration: zod.number().nullish(),- integration_id: zod.number().nullish(),- })- .describe('Serializer for an BatchExportDestination model.'),+ .union([+ zod+ .object({+ type: zod.enum(['Databricks']),+ integration_id: zod+ .number()+ .describe(+ 'ID of a databricks-kind Integration. Use the integrations-list MCP tool to find one.'+ ),+ config: zod+ .object({+ http_path: zod.string().describe('Databricks SQL warehouse HTTP path.'),+ catalog: zod.string().describe('Unity Catalog name.'),+ schema: zod.string().describe('Schema (database) name inside the catalog.'),+ table_name: zod.string().describe('Destination table name.'),+ use_variant_type: zod+ .boolean()+ .default(batchExportsUpdateBodyDestinationOneOneConfigUseVariantTypeDefault)+ .describe('Whether to use the Databricks VARIANT type for JSON-like columns.'),+ use_automatic_schema_evolution: zod+ .boolean()+ .default(+ batchExportsUpdateBodyDestinationOneOneConfigUseAutomaticSchemaEvolutionDefault+ )+ .describe(+ 'Whether to let Databricks evolve the destination table schema automatically.'+ ),+ })+ .describe(+ 'Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ })+ .describe('Request shape for creating or updating a Databricks batch-export destination.'),+ zod+ .object({+ type: zod.enum(['AzureBlob']),+ integration_id: zod+ .number()+ .describe(+ 'ID of an azure-blob-kind Integration. Use the integrations-list MCP tool to find one.'+ ),+ config: zod+ .object({+ container_name: zod.string().describe('Azure Blob Storage container name.'),+ prefix: zod+ .string()+ .default(batchExportsUpdateBodyDestinationOneTwoConfigPrefixDefault)+ .describe('Object key prefix applied to every exported file.'),+ compression: zod+ .union([+ zod+ .enum(['brotli', 'gzip', 'lz4', 'snappy', 'zstd'])+ .describe(+ '* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ zod.literal(null),+ ])+ .nullish()+ .describe(+ 'Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ file_format: zod+ .enum(['JSONLines', 'Parquet'])+ .describe('* `JSONLines` - JSONLines\n* `Parquet` - Parquet')+ .default(batchExportsUpdateBodyDestinationOneTwoConfigFileFormatDefault)+ .describe(+ 'File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet'+ ),+ max_file_size_mb: zod+ .number()+ .nullish()+ .describe(+ 'If set, rolls to a new file once the current file exceeds this size in MB.'+ ),+ })+ .describe(+ 'Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ })+ .describe('Request shape for creating or updating an Azure Blob Storage batch-export destination.'),+ ])+ .describe('Destination configuration. Required integration_id is enforced per destination type.'),interval: zod.enum(['hour', 'day', 'week', 'every 5 minutes', 'every 15 minutes']).describe('* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ )+ .describe(+ 'How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'),- paused: zod.boolean().optional().describe('Whether this BatchExport is paused or not.'),- last_paused_at: zod.iso- .datetime({})- .nullish()- .describe('The timestamp at which this BatchExport was last paused.'),- start_at: zod.iso- .datetime({})- .nullish()- .describe("Time before which any Batch Export runs won't be triggered."),- end_at: zod.iso.datetime({}).nullish().describe("Time after which any Batch Export runs won't be triggered."),- hogql_query: zod.string().optional(),+ paused: zod.boolean().optional().describe('Whether the batch export is paused.'),+ hogql_query: zod+ .string()+ .optional()+ .describe('Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases.'),filters: zod.unknown().nullish(),- timezone: zod.union([zod.string(), zod.literal(null)]).nullish(),+ timezone: zod+ .string()+ .nullish()+ .describe(+ "IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries."+ ),offset_day: zod.number().min(batchExportsUpdateBodyOffsetDayMin).max(batchExportsUpdateBodyOffsetDayMax)- .nullish(),+ .nullish()+ .describe('Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday).'),offset_hour: zod.number().min(batchExportsUpdateBodyOffsetHourMin).max(batchExportsUpdateBodyOffsetHourMax)- .nullish(),+ .nullish()+ .describe('Hour-of-day offset (0-23) for daily and weekly intervals.'),})- .describe('Serializer for a BatchExport model.')+ .describe(+ 'Request body for create/partial_update on BatchExportViewSet.\n\nMirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic\n`destination` schema so integration_id is marked required on the types that need\nit. Responses continue to use `BatchExportSerializer`.'+ )+export const batchExportsPartialUpdateBodyDestinationOneOneConfigUseVariantTypeDefault = true+export const batchExportsPartialUpdateBodyDestinationOneOneConfigUseAutomaticSchemaEvolutionDefault = true+export const batchExportsPartialUpdateBodyDestinationOneTwoConfigPrefixDefault = ``+export const batchExportsPartialUpdateBodyDestinationOneTwoConfigFileFormatDefault = `JSONLines`export const batchExportsPartialUpdateBodyOffsetDayMin = 0export const batchExportsPartialUpdateBodyOffsetDayMax = 6@@ -430,87 +546,143 @@ export const batchExportsPartialUpdateBodyOffsetHourMax = 23export const BatchExportsPartialUpdateBody = /* @__PURE__ */ zod.object({- name: zod.string().optional().describe('A human-readable name for this BatchExport.'),+ name: zod.string().optional().describe('Human-readable name for the batch export.'),model: zod- .union([- zod- .enum(['events', 'persons', 'sessions'])- .describe('* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'),- zod.enum(['']),- zod.literal(null),- ])- .nullish()+ .enum(['events', 'persons', 'sessions'])+ .describe('* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions')+ .optional().describe(- 'Which model this BatchExport is exporting.\n\n* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'+ 'Which data model to export (events, persons, sessions).\n\n* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'),destination: zod- .object({- type: zod- .enum([- 'S3',- 'Snowflake',- 'Postgres',- 'Redshift',- 'BigQuery',- 'Databricks',- 'AzureBlob',- 'Workflows',- 'HTTP',- 'NoOp',- 'FileDownload',- ])- .describe(- '* `S3` - S3\n* `Snowflake` - Snowflake\n* `Postgres` - Postgres\n* `Redshift` - Redshift\n* `BigQuery` - Bigquery\n* `Databricks` - Databricks\n* `AzureBlob` - Azure Blob\n* `Workflows` - Workflows\n* `HTTP` - Http\n* `NoOp` - Noop\n* `FileDownload` - File Download'- )- .describe(- 'A choice of supported BatchExportDestination types.\n\n* `S3` - S3\n* `Snowflake` - Snowflake\n* `Postgres` - Postgres\n* `Redshift` - Redshift\n* `BigQuery` - Bigquery\n* `Databricks` - Databricks\n* `AzureBlob` - Azure Blob\n* `Workflows` - Workflows\n* `HTTP` - Http\n* `NoOp` - Noop\n* `FileDownload` - File Download'- ),- config: zod- .unknown()- .optional()- .describe(- 'A JSON field to store all configuration parameters required to access a BatchExportDestination.'- ),- integration: zod.number().nullish(),- integration_id: zod.number().nullish(),- })+ .union([+ zod+ .object({+ type: zod.enum(['Databricks']),+ integration_id: zod+ .number()+ .describe(+ 'ID of a databricks-kind Integration. Use the integrations-list MCP tool to find one.'+ ),+ config: zod+ .object({+ http_path: zod.string().describe('Databricks SQL warehouse HTTP path.'),+ catalog: zod.string().describe('Unity Catalog name.'),+ schema: zod.string().describe('Schema (database) name inside the catalog.'),+ table_name: zod.string().describe('Destination table name.'),+ use_variant_type: zod+ .boolean()+ .default(batchExportsPartialUpdateBodyDestinationOneOneConfigUseVariantTypeDefault)+ .describe('Whether to use the Databricks VARIANT type for JSON-like columns.'),+ use_automatic_schema_evolution: zod+ .boolean()+ .default(+ batchExportsPartialUpdateBodyDestinationOneOneConfigUseAutomaticSchemaEvolutionDefault+ )+ .describe(+ 'Whether to let Databricks evolve the destination table schema automatically.'+ ),+ })+ .describe(+ 'Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ })+ .describe('Request shape for creating or updating a Databricks batch-export destination.'),+ zod+ .object({+ type: zod.enum(['AzureBlob']),+ integration_id: zod+ .number()+ .describe(+ 'ID of an azure-blob-kind Integration. Use the integrations-list MCP tool to find one.'+ ),+ config: zod+ .object({+ container_name: zod.string().describe('Azure Blob Storage container name.'),+ prefix: zod+ .string()+ .default(batchExportsPartialUpdateBodyDestinationOneTwoConfigPrefixDefault)+ .describe('Object key prefix applied to every exported file.'),+ compression: zod+ .union([+ zod+ .enum(['brotli', 'gzip', 'lz4', 'snappy', 'zstd'])+ .describe(+ '* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ zod.literal(null),+ ])+ .nullish()+ .describe(+ 'Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ file_format: zod+ .enum(['JSONLines', 'Parquet'])+ .describe('* `JSONLines` - JSONLines\n* `Parquet` - Parquet')+ .default(batchExportsPartialUpdateBodyDestinationOneTwoConfigFileFormatDefault)+ .describe(+ 'File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet'+ ),+ max_file_size_mb: zod+ .number()+ .nullish()+ .describe(+ 'If set, rolls to a new file once the current file exceeds this size in MB.'+ ),+ })+ .describe(+ 'Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ })+ .describe('Request shape for creating or updating an Azure Blob Storage batch-export destination.'),+ ]).optional()- .describe('Serializer for an BatchExportDestination model.'),+ .describe('Destination configuration. Required integration_id is enforced per destination type.'),interval: zod.enum(['hour', 'day', 'week', 'every 5 minutes', 'every 15 minutes'])- .optional().describe('* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ )+ .optional()+ .describe(+ 'How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'),- paused: zod.boolean().optional().describe('Whether this BatchExport is paused or not.'),- last_paused_at: zod.iso- .datetime({})- .nullish()- .describe('The timestamp at which this BatchExport was last paused.'),- start_at: zod.iso- .datetime({})- .nullish()- .describe("Time before which any Batch Export runs won't be triggered."),- end_at: zod.iso.datetime({}).nullish().describe("Time after which any Batch Export runs won't be triggered."),- hogql_query: zod.string().optional(),+ paused: zod.boolean().optional().describe('Whether the batch export is paused.'),+ hogql_query: zod+ .string()+ .optional()+ .describe('Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases.'),filters: zod.unknown().nullish(),- timezone: zod.union([zod.string(), zod.literal(null)]).nullish(),+ timezone: zod+ .string()+ .nullish()+ .describe(+ "IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries."+ ),offset_day: zod.number().min(batchExportsPartialUpdateBodyOffsetDayMin).max(batchExportsPartialUpdateBodyOffsetDayMax)- .nullish(),+ .nullish()+ .describe('Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday).'),offset_hour: zod.number().min(batchExportsPartialUpdateBodyOffsetHourMin).max(batchExportsPartialUpdateBodyOffsetHourMax)- .nullish(),+ .nullish()+ .describe('Hour-of-day offset (0-23) for daily and weekly intervals.'),})- .describe('Serializer for a BatchExport model.')+ .describe(+ 'Request body for create/partial_update on BatchExportViewSet.\n\nMirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic\n`destination` schema so integration_id is marked required on the types that need\nit. Responses continue to use `BatchExportSerializer`.'+ )/*** Pause a BatchExport.*/+export const batchExportsPauseCreateBodyDestinationOneConfigOneOneUseVariantTypeDefault = true+export const batchExportsPauseCreateBodyDestinationOneConfigOneOneUseAutomaticSchemaEvolutionDefault = true+export const batchExportsPauseCreateBodyDestinationOneConfigOneTwoPrefixDefault = ``+export const batchExportsPauseCreateBodyDestinationOneConfigOneTwoFileFormatDefault = `JSONLines`export const batchExportsPauseCreateBodyOffsetDayMin = 0export const batchExportsPauseCreateBodyOffsetDayMax = 6@@ -555,19 +727,89 @@ export const BatchExportsPauseCreateBody = /* @__PURE__ */ zod'A choice of supported BatchExportDestination types.\n\n* `S3` - S3\n* `Snowflake` - Snowflake\n* `Postgres` - Postgres\n* `Redshift` - Redshift\n* `BigQuery` - Bigquery\n* `Databricks` - Databricks\n* `AzureBlob` - Azure Blob\n* `Workflows` - Workflows\n* `HTTP` - Http\n* `NoOp` - Noop\n* `FileDownload` - File Download'),config: zod- .unknown()- .optional()+ .union([+ zod+ .object({+ http_path: zod.string().describe('Databricks SQL warehouse HTTP path.'),+ catalog: zod.string().describe('Unity Catalog name.'),+ schema: zod.string().describe('Schema (database) name inside the catalog.'),+ table_name: zod.string().describe('Destination table name.'),+ use_variant_type: zod+ .boolean()+ .default(batchExportsPauseCreateBodyDestinationOneConfigOneOneUseVariantTypeDefault)+ .describe('Whether to use the Databricks VARIANT type for JSON-like columns.'),+ use_automatic_schema_evolution: zod+ .boolean()+ .default(+ batchExportsPauseCreateBodyDestinationOneConfigOneOneUseAutomaticSchemaEvolutionDefault+ )+ .describe(+ 'Whether to let Databricks evolve the destination table schema automatically.'+ ),+ })+ .describe(+ 'Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ zod+ .object({+ container_name: zod.string().describe('Azure Blob Storage container name.'),+ prefix: zod+ .string()+ .default(batchExportsPauseCreateBodyDestinationOneConfigOneTwoPrefixDefault)+ .describe('Object key prefix applied to every exported file.'),+ compression: zod+ .union([+ zod+ .enum(['brotli', 'gzip', 'lz4', 'snappy', 'zstd'])+ .describe(+ '* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ zod.literal(null),+ ])+ .nullish()+ .describe(+ 'Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ file_format: zod+ .enum(['JSONLines', 'Parquet'])+ .describe('* `JSONLines` - JSONLines\n* `Parquet` - Parquet')+ .default(batchExportsPauseCreateBodyDestinationOneConfigOneTwoFileFormatDefault)+ .describe(+ 'File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet'+ ),+ max_file_size_mb: zod+ .number()+ .nullish()+ .describe(+ 'If set, rolls to a new file once the current file exceeds this size in MB.'+ ),+ })+ .describe(+ 'Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ ])+ .describe(+ 'Destination-specific configuration. Fields depend on `type`. Credentials for integration-backed destinations (Databricks, AzureBlob) are NOT stored here — they live in the linked Integration. Secret fields are stripped from responses.'+ ),+ integration: zod.number().nullish().describe('The integration for this destination.'),+ integration_id: zod+ .number()+ .nullish().describe(- 'A JSON field to store all configuration parameters required to access a BatchExportDestination.'+ 'ID of a team-scoped Integration providing credentials. Required for Databricks and AzureBlob destinations; optional for BigQuery; unused for other types.'),- integration: zod.number().nullish(),- integration_id: zod.number().nullish(),})- .describe('Serializer for an BatchExportDestination model.'),+ .describe(+ 'Serializer for an BatchExportDestination model.\n\nThe `config` field is polymorphic and typed only for destinations that keep\ncredentials in the linked Integration (currently Databricks and AzureBlob).\nOther destination types accept the same JSON shape but without a typed\nOpenAPI schema. Secret fields are stripped from `config` on read.'+ )+ .describe('Destination configuration (type, config, and optional integration).'),interval: zod.enum(['hour', 'day', 'week', 'every 5 minutes', 'every 15 minutes']).describe('* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ )+ .describe(+ 'How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'),paused: zod.boolean().optional().describe('Whether this BatchExport is paused or not.'),last_paused_at: zod.iso@@ -579,22 +821,40 @@ export const BatchExportsPauseCreateBody = /* @__PURE__ */ zod.nullish().describe("Time before which any Batch Export runs won't be triggered."),end_at: zod.iso.datetime({}).nullish().describe("Time after which any Batch Export runs won't be triggered."),- hogql_query: zod.string().optional(),+ hogql_query: zod+ .string()+ .optional()+ .describe('Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases.'),filters: zod.unknown().nullish(),- timezone: zod.union([zod.string(), zod.literal(null)]).nullish(),+ timezone: zod+ .union([zod.string(), zod.literal(null)])+ .nullish()+ .describe(+ 'IANA timezone name controlling daily and weekly interval boundaries. Defaults to UTC.\n\n* `Africa/Abidjan` - Africa/Abidjan\n* `Africa/Accra` - Africa/Accra\n* `Africa/Addis_Ababa` - Africa/Addis_Ababa\n* `Africa/Algiers` - Africa/Algiers\n* `Africa/Asmara` - Africa/Asmara\n* `Africa/Asmera` - Africa/Asmera\n* `Africa/Bamako` - Africa/Bamako\n* `Africa/Bangui` - Africa/Bangui\n* `Africa/Banjul` - Africa/Banjul\n* `Africa/Bissau` - Africa/Bissau\n* `Africa/Blantyre` - Africa/Blantyre\n* `Africa/Brazzaville` - Africa/Brazzaville\n* `Africa/Bujumbura` - Africa/Bujumbura\n* `Africa/Cairo` - Africa/Cairo\n* `Africa/Casablanca` - Africa/Casablanca\n* `Africa/Ceuta` - Africa/Ceuta\n* `Africa/Conakry` - Africa/Conakry\n* `Africa/Dakar` - Africa/Dakar\n* `Africa/Dar_es_Salaam` - Africa/Dar_es_Salaam\n* `Africa/Djibouti` - Africa/Djibouti\n* `Africa/Douala` - Africa/Douala\n* `Africa/El_Aaiun` - Africa/El_Aaiun\n* `Africa/Freetown` - Africa/Freetown\n* `Africa/Gaborone` - Africa/Gaborone\n* `Africa/Harare` - Africa/Harare\n* `Africa/Johannesburg` - Africa/Johannesburg\n* `Africa/Juba` - Africa/Juba\n* `Africa/Kampala` - Africa/Kampala\n* `Africa/Khartoum` - Africa/Khartoum\n* `Africa/Kigali` - Africa/Kigali\n* `Africa/Kinshasa` - Africa/Kinshasa\n* `Africa/Lagos` - Africa/Lagos\n* `Africa/Libreville` - Africa/Libreville\n* `Africa/Lome` - Africa/Lome\n* `Africa/Luanda` - Africa/Luanda\n* `Africa/Lubumbashi` - Africa/Lubumbashi\n* `Africa/Lusaka` - Africa/Lusaka\n* `Africa/Malabo` - Africa/Malabo\n* `Africa/Maputo` - Africa/Maputo\n* `Africa/Maseru` - Africa/Maseru\n* `Africa/Mbabane` - Africa/Mbabane\n* `Africa/Mogadishu` - Africa/Mogadishu\n* `Africa/Monrovia` - Africa/Monrovia\n* `Africa/Nairobi` - Africa/Nairobi\n* `Africa/Ndjamena` - Africa/Ndjamena\n* `Africa/Niamey` - Africa/Niamey\n* `Africa/Nouakchott` - Africa/Nouakchott\n* `Africa/Ouagadougou` - Africa/Ouagadougou\n* `Africa/Porto-Novo` - Africa/Porto-Novo\n* `Africa/Sao_Tome` - Africa/Sao_Tome\n* `Africa/Timbuktu` - Africa/Timbuktu\n* `Africa/Tripoli` - Africa/Tripoli\n* `Africa/Tunis` - Africa/Tunis\n* `Africa/Windhoek` - Africa/Windhoek\n* `America/Adak` - America/Adak\n* `America/Anchorage` - America/Anchorage\n* `America/Anguilla` - America/Anguilla\n* `America/Antigua` - America/Antigua\n* `America/Araguaina` - America/Araguaina\n* `America/Argentina/Buenos_Aires` - America/Argentina/Buenos_Aires\n* `America/Argentina/Catamarca` - America/Argentina/Catamarca\n* `America/Argentina/ComodRivadavia` - America/Argentina/ComodRivadavia\n* `America/Argentina/Cordoba` - America/Argentina/Cordoba\n* `America/Argentina/Jujuy` - America/Argentina/Jujuy\n* `America/Argentina/La_Rioja` - America/Argentina/La_Rioja\n* `America/Argentina/Mendoza` - America/Argentina/Mendoza\n* `America/Argentina/Rio_Gallegos` - America/Argentina/Rio_Gallegos\n* `America/Argentina/Salta` - America/Argentina/Salta\n* `America/Argentina/San_Juan` - America/Argentina/San_Juan\n* `America/Argentina/San_Luis` - America/Argentina/San_Luis\n* `America/Argentina/Tucuman` - America/Argentina/Tucuman\n* `America/Argentina/Ushuaia` - America/Argentina/Ushuaia\n* `America/Aruba` - America/Aruba\n* `America/Asuncion` - America/Asuncion\n* `America/Atikokan` - America/Atikokan\n* `America/Atka` - America/Atka\n* `America/Bahia` - America/Bahia\n* `America/Bahia_Banderas` - America/Bahia_Banderas\n* `America/Barbados` - America/Barbados\n* `America/Belem` - America/Belem\n* `America/Belize` - America/Belize\n* `America/Blanc-Sablon` - America/Blanc-Sablon\n* `America/Boa_Vista` - America/Boa_Vista\n* `America/Bogota` - America/Bogota\n* `America/Boise` - America/Boise\n* `America/Buenos_Aires` - America/Buenos_Aires\n* `America/Cambridge_Bay` - America/Cambridge_Bay\n* `America/Campo_Grande` - America/Campo_Grande\n* `America/Cancun` - America/Cancun\n* `America/Caracas` - America/Caracas\n* `America/Catamarca` - America/Catamarca\n* `America/Cayenne` - America/Cayenne\n* `America/Cayman` - America/Cayman\n* `America/Chicago` - America/Chicago\n* `America/Chihuahua` - America/Chihuahua\n* `America/Ciudad_Juarez` - America/Ciudad_Juarez\n* `America/Coral_Harbour` - America/Coral_Harbour\n* `America/Cordoba` - America/Cordoba\n* `America/Costa_Rica` - America/Costa_Rica\n* `America/Creston` - America/Creston\n* `America/Cuiaba` - America/Cuiaba\n* `America/Curacao` - America/Curacao\n* `America/Danmarkshavn` - America/Danmarkshavn\n* `America/Dawson` - America/Dawson\n* `America/Dawson_Creek` - America/Dawson_Creek\n* `America/Denver` - America/Denver\n* `America/Detroit` - America/Detroit\n* `America/Dominica` - America/Dominica\n* `America/Edmonton` - America/Edmonton\n* `America/Eirunepe` - America/Eirunepe\n* `America/El_Salvador` - America/El_Salvador\n* `America/Ensenada` - America/Ensenada\n* `America/Fort_Nelson` - America/Fort_Nelson\n* `America/Fort_Wayne` - America/Fort_Wayne\n* `America/Fortaleza` - America/Fortaleza\n* `America/Glace_Bay` - America/Glace_Bay\n* `America/Godthab` - America/Godthab\n* `America/Goose_Bay` - America/Goose_Bay\n* `America/Grand_Turk` - America/Grand_Turk\n* `America/Grenada` - America/Grenada\n* `America/Guadeloupe` - America/Guadeloupe\n* `America/Guatemala` - America/Guatemala\n* `America/Guayaquil` - America/Guayaquil\n* `America/Guyana` - America/Guyana\n* `America/Halifax` - America/Halifax\n* `America/Havana` - America/Havana\n* `America/Hermosillo` - America/Hermosillo\n* `America/Indiana/Indianapolis` - America/Indiana/Indianapolis\n* `America/Indiana/Knox` - America/Indiana/Knox\n* `America/Indiana/Marengo` - America/Indiana/Marengo\n* `America/Indiana/Petersburg` - America/Indiana/Petersburg\n* `America/Indiana/Tell_City` - America/Indiana/Tell_City\n* `America/Indiana/Vevay` - America/Indiana/Vevay\n* `America/Indiana/Vincennes` - America/Indiana/Vincennes\n* `America/Indiana/Winamac` - America/Indiana/Winamac\n* `America/Indianapolis` - America/Indianapolis\n* `America/Inuvik` - America/Inuvik\n* `America/Iqaluit` - America/Iqaluit\n* `America/Jamaica` - America/Jamaica\n* `America/Jujuy` - America/Jujuy\n* `America/Juneau` - America/Juneau\n* `America/Kentucky/Louisville` - America/Kentucky/Louisville\n* `America/Kentucky/Monticello` - America/Kentucky/Monticello\n* `America/Knox_IN` - America/Knox_IN\n* `America/Kralendijk` - America/Kralendijk\n* `America/La_Paz` - America/La_Paz\n* `America/Lima` - America/Lima\n* `America/Los_Angeles` - America/Los_Angeles\n* `America/Louisville` - America/Louisville\n* `America/Lower_Princes` - America/Lower_Princes\n* `America/Maceio` - America/Maceio\n* `America/Managua` - America/Managua\n* `America/Manaus` - America/Manaus\n* `America/Marigot` - America/Marigot\n* `America/Martinique` - America/Martinique\n* `America/Matamoros` - America/Matamoros\n* `America/Mazatlan` - America/Mazatlan\n* `America/Mendoza` - America/Mendoza\n* `America/Menominee` - America/Menominee\n* `America/Merida` - America/Merida\n* `America/Metlakatla` - America/Metlakatla\n* `America/Mexico_City` - America/Mexico_City\n* `America/Miquelon` - America/Miquelon\n* `America/Moncton` - America/Moncton\n* `America/Monterrey` - America/Monterrey\n* `America/Montevideo` - America/Montevideo\n* `America/Montreal` - America/Montreal\n* `America/Montserrat` - America/Montserrat\n* `America/Nassau` - America/Nassau\n* `America/New_York` - America/New_York\n* `America/Nipigon` - America/Nipigon\n* `America/Nome` - America/Nome\n* `America/Noronha` - America/Noronha\n* `America/North_Dakota/Beulah` - America/North_Dakota/Beulah\n* `America/North_Dakota/Center` - America/North_Dakota/Center\n* `America/North_Dakota/New_Salem` - America/North_Dakota/New_Salem\n* `America/Nuuk` - America/Nuuk\n* `America/Ojinaga` - America/Ojinaga\n* `America/Panama` - America/Panama\n* `America/Pangnirtung` - America/Pangnirtung\n* `America/Paramaribo` - America/Paramaribo\n* `America/Phoenix` - America/Phoenix\n* `America/Port-au-Prince` - America/Port-au-Prince\n* `America/Port_of_Spain` - America/Port_of_Spain\n* `America/Porto_Acre` - America/Porto_Acre\n* `America/Porto_Velho` - America/Porto_Velho\n* `America/Puerto_Rico` - America/Puerto_Rico\n* `America/Punta_Arenas` - America/Punta_Arenas\n* `America/Rainy_River` - America/Rainy_River\n* `America/Rankin_Inlet` - America/Rankin_Inlet\n* `America/Recife` - America/Recife\n* `America/Regina` - America/Regina\n* `America/Resolute` - America/Resolute\n* `America/Rio_Branco` - America/Rio_Branco\n* `America/Rosario` - America/Rosario\n* `America/Santa_Isabel` - America/Santa_Isabel\n* `America/Santarem` - America/Santarem\n* `America/Santiago` - America/Santiago\n* `America/Santo_Domingo` - America/Santo_Domingo\n* `America/Sao_Paulo` - America/Sao_Paulo\n* `America/Scoresbysund` - America/Scoresbysund\n* `America/Shiprock` - America/Shiprock\n* `America/Sitka` - America/Sitka\n* `America/St_Barthelemy` - America/St_Barthelemy\n* `America/St_Johns` - America/St_Johns\n* `America/St_Kitts` - America/St_Kitts\n* `America/St_Lucia` - America/St_Lucia\n* `America/St_Thomas` - America/St_Thomas\n* `America/St_Vincent` - America/St_Vincent\n* `America/Swift_Current` - America/Swift_Current\n* `America/Tegucigalpa` - America/Tegucigalpa\n* `America/Thule` - America/Thule\n* `America/Thunder_Bay` - America/Thunder_Bay\n* `America/Tijuana` - America/Tijuana\n* `America/Toronto` - America/Toronto\n* `America/Tortola` - America/Tortola\n* `America/Vancouver` - America/Vancouver\n* `America/Virgin` - America/Virgin\n* `America/Whitehorse` - America/Whitehorse\n* `America/Winnipeg` - America/Winnipeg\n* `America/Yakutat` - America/Yakutat\n* `America/Yellowknife` - America/Yellowknife\n* `Antarctica/Casey` - Antarctica/Casey\n* `Antarctica/Davis` - Antarctica/Davis\n* `Antarctica/DumontDUrville` - Antarctica/DumontDUrville\n* `Antarctica/Macquarie` - Antarctica/Macquarie\n* `Antarctica/Mawson` - Antarctica/Mawson\n* `Antarctica/McMurdo` - Antarctica/McMurdo\n* `Antarctica/Palmer` - Antarctica/Palmer\n* `Antarctica/Rothera` - Antarctica/Rothera\n* `Antarctica/South_Pole` - Antarctica/South_Pole\n* `Antarctica/Syowa` - Antarctica/Syowa\n* `Antarctica/Troll` - Antarctica/Troll\n* `Antarctica/Vostok` - Antarctica/Vostok\n* `Arctic/Longyearbyen` - Arctic/Longyearbyen\n* `Asia/Aden` - Asia/Aden\n* `Asia/Almaty` - Asia/Almaty\n* `Asia/Amman` - Asia/Amman\n* `Asia/Anadyr` - Asia/Anadyr\n* `Asia/Aqtau` - Asia/Aqtau\n* `Asia/Aqtobe` - Asia/Aqtobe\n* `Asia/Ashgabat` - Asia/Ashgabat\n* `Asia/Ashkhabad` - Asia/Ashkhabad\n* `Asia/Atyrau` - Asia/Atyrau\n* `Asia/Baghdad` - Asia/Baghdad\n* `Asia/Bahrain` - Asia/Bahrain\n* `Asia/Baku` - Asia/Baku\n* `Asia/Bangkok` - Asia/Bangkok\n* `Asia/Barnaul` - Asia/Barnaul\n* `Asia/Beirut` - Asia/Beirut\n* `Asia/Bishkek` - Asia/Bishkek\n* `Asia/Brunei` - Asia/Brunei\n* `Asia/Calcutta` - Asia/Calcutta\n* `Asia/Chita` - Asia/Chita\n* `Asia/Choibalsan` - Asia/Choibalsan\n* `Asia/Chongqing` - Asia/Chongqing\n* `Asia/Chungking` - Asia/Chungking\n* `Asia/Colombo` - Asia/Colombo\n* `Asia/Dacca` - Asia/Dacca\n* `Asia/Damascus` - Asia/Damascus\n* `Asia/Dhaka` - Asia/Dhaka\n* `Asia/Dili` - Asia/Dili\n* `Asia/Dubai` - Asia/Dubai\n* `Asia/Dushanbe` - Asia/Dushanbe\n* `Asia/Famagusta` - Asia/Famagusta\n* `Asia/Gaza` - Asia/Gaza\n* `Asia/Harbin` - Asia/Harbin\n* `Asia/Hebron` - Asia/Hebron\n* `Asia/Ho_Chi_Minh` - Asia/Ho_Chi_Minh\n* `Asia/Hong_Kong` - Asia/Hong_Kong\n* `Asia/Hovd` - Asia/Hovd\n* `Asia/Irkutsk` - Asia/Irkutsk\n* `Asia/Istanbul` - Asia/Istanbul\n* `Asia/Jakarta` - Asia/Jakarta\n* `Asia/Jayapura` - Asia/Jayapura\n* `Asia/Jerusalem` - Asia/Jerusalem\n* `Asia/Kabul` - Asia/Kabul\n* `Asia/Kamchatka` - Asia/Kamchatka\n* `Asia/Karachi` - Asia/Karachi\n* `Asia/Kashgar` - Asia/Kashgar\n* `Asia/Kathmandu` - Asia/Kathmandu\n* `Asia/Katmandu` - Asia/Katmandu\n* `Asia/Khandyga` - Asia/Khandyga\n* `Asia/Kolkata` - Asia/Kolkata\n* `Asia/Krasnoyarsk` - Asia/Krasnoyarsk\n* `Asia/Kuala_Lumpur` - Asia/Kuala_Lumpur\n* `Asia/Kuching` - Asia/Kuching\n* `Asia/Kuwait` - Asia/Kuwait\n* `Asia/Macao` - Asia/Macao\n* `Asia/Macau` - Asia/Macau\n* `Asia/Magadan` - Asia/Magadan\n* `Asia/Makassar` - Asia/Makassar\n* `Asia/Manila` - Asia/Manila\n* `Asia/Muscat` - Asia/Muscat\n* `Asia/Nicosia` - Asia/Nicosia\n* `Asia/Novokuznetsk` - Asia/Novokuznetsk\n* `Asia/Novosibirsk` - Asia/Novosibirsk\n* `Asia/Omsk` - Asia/Omsk\n* `Asia/Oral` - Asia/Oral\n* `Asia/Phnom_Penh` - Asia/Phnom_Penh\n* `Asia/Pontianak` - Asia/Pontianak\n* `Asia/Pyongyang` - Asia/Pyongyang\n* `Asia/Qatar` - Asia/Qatar\n* `Asia/Qostanay` - Asia/Qostanay\n* `Asia/Qyzylorda` - Asia/Qyzylorda\n* `Asia/Rangoon` - Asia/Rangoon\n* `Asia/Riyadh` - Asia/Riyadh\n* `Asia/Saigon` - Asia/Saigon\n* `Asia/Sakhalin` - Asia/Sakhalin\n* `Asia/Samarkand` - Asia/Samarkand\n* `Asia/Seoul` - Asia/Seoul\n* `Asia/Shanghai` - Asia/Shanghai\n* `Asia/Singapore` - Asia/Singapore\n* `Asia/Srednekolymsk` - Asia/Srednekolymsk\n* `Asia/Taipei` - Asia/Taipei\n* `Asia/Tashkent` - Asia/Tashkent\n* `Asia/Tbilisi` - Asia/Tbilisi\n* `Asia/Tehran` - Asia/Tehran\n* `Asia/Tel_Aviv` - Asia/Tel_Aviv\n* `Asia/Thimbu` - Asia/Thimbu\n* `Asia/Thimphu` - Asia/Thimphu\n* `Asia/Tokyo` - Asia/Tokyo\n* `Asia/Tomsk` - Asia/Tomsk\n* `Asia/Ujung_Pandang` - Asia/Ujung_Pandang\n* `Asia/Ulaanbaatar` - Asia/Ulaanbaatar\n* `Asia/Ulan_Bator` - Asia/Ulan_Bator\n* `Asia/Urumqi` - Asia/Urumqi\n* `Asia/Ust-Nera` - Asia/Ust-Nera\n* `Asia/Vientiane` - Asia/Vientiane\n* `Asia/Vladivostok` - Asia/Vladivostok\n* `Asia/Yakutsk` - Asia/Yakutsk\n* `Asia/Yangon` - Asia/Yangon\n* `Asia/Yekaterinburg` - Asia/Yekaterinburg\n* `Asia/Yerevan` - Asia/Yerevan\n* `Atlantic/Azores` - Atlantic/Azores\n* `Atlantic/Bermuda` - Atlantic/Bermuda\n* `Atlantic/Canary` - Atlantic/Canary\n* `Atlantic/Cape_Verde` - Atlantic/Cape_Verde\n* `Atlantic/Faeroe` - Atlantic/Faeroe\n* `Atlantic/Faroe` - Atlantic/Faroe\n* `Atlantic/Jan_Mayen` - Atlantic/Jan_Mayen\n* `Atlantic/Madeira` - Atlantic/Madeira\n* `Atlantic/Reykjavik` - Atlantic/Reykjavik\n* `Atlantic/South_Georgia` - Atlantic/South_Georgia\n* `Atlantic/St_Helena` - Atlantic/St_Helena\n* `Atlantic/Stanley` - Atlantic/Stanley\n* `Australia/ACT` - Australia/ACT\n* `Australia/Adelaide` - Australia/Adelaide\n* `Australia/Brisbane` - Australia/Brisbane\n* `Australia/Broken_Hill` - Australia/Broken_Hill\n* `Australia/Canberra` - Australia/Canberra\n* `Australia/Currie` - Australia/Currie\n* `Australia/Darwin` - Australia/Darwin\n* `Australia/Eucla` - Australia/Eucla\n* `Australia/Hobart` - Australia/Hobart\n* `Australia/LHI` - Australia/LHI\n* `Australia/Lindeman` - Australia/Lindeman\n* `Australia/Lord_Howe` - Australia/Lord_Howe\n* `Australia/Melbourne` - Australia/Melbourne\n* `Australia/NSW` - Australia/NSW\n* `Australia/North` - Australia/North\n* `Australia/Perth` - Australia/Perth\n* `Australia/Queensland` - Australia/Queensland\n* `Australia/South` - Australia/South\n* `Australia/Sydney` - Australia/Sydney\n* `Australia/Tasmania` - Australia/Tasmania\n* `Australia/Victoria` - Australia/Victoria\n* `Australia/West` - Australia/West\n* `Australia/Yancowinna` - Australia/Yancowinna\n* `Brazil/Acre` - Brazil/Acre\n* `Brazil/DeNoronha` - Brazil/DeNoronha\n* `Brazil/East` - Brazil/East\n* `Brazil/West` - Brazil/West\n* `CET` - CET\n* `CST6CDT` - CST6CDT\n* `Canada/Atlantic` - Canada/Atlantic\n* `Canada/Central` - Canada/Central\n* `Canada/Eastern` - Canada/Eastern\n* `Canada/Mountain` - Canada/Mountain\n* `Canada/Newfoundland` - Canada/Newfoundland\n* `Canada/Pacific` - Canada/Pacific\n* `Canada/Saskatchewan` - Canada/Saskatchewan\n* `Canada/Yukon` - Canada/Yukon\n* `Chile/Continental` - Chile/Continental\n* `Chile/EasterIsland` - Chile/EasterIsland\n* `Cuba` - Cuba\n* `EET` - EET\n* `EST` - EST\n* `EST5EDT` - EST5EDT\n* `Egypt` - Egypt\n* `Eire` - Eire\n* `Etc/GMT` - Etc/GMT\n* `Etc/GMT+0` - Etc/GMT+0\n* `Etc/GMT+1` - Etc/GMT+1\n* `Etc/GMT+10` - Etc/GMT+10\n* `Etc/GMT+11` - Etc/GMT+11\n* `Etc/GMT+12` - Etc/GMT+12\n* `Etc/GMT+2` - Etc/GMT+2\n* `Etc/GMT+3` - Etc/GMT+3\n* `Etc/GMT+4` - Etc/GMT+4\n* `Etc/GMT+5` - Etc/GMT+5\n* `Etc/GMT+6` - Etc/GMT+6\n* `Etc/GMT+7` - Etc/GMT+7\n* `Etc/GMT+8` - Etc/GMT+8\n* `Etc/GMT+9` - Etc/GMT+9\n* `Etc/GMT-0` - Etc/GMT-0\n* `Etc/GMT-1` - Etc/GMT-1\n* `Etc/GMT-10` - Etc/GMT-10\n* `Etc/GMT-11` - Etc/GMT-11\n* `Etc/GMT-12` - Etc/GMT-12\n* `Etc/GMT-13` - Etc/GMT-13\n* `Etc/GMT-14` - Etc/GMT-14\n* `Etc/GMT-2` - Etc/GMT-2\n* `Etc/GMT-3` - Etc/GMT-3\n* `Etc/GMT-4` - Etc/GMT-4\n* `Etc/GMT-5` - Etc/GMT-5\n* `Etc/GMT-6` - Etc/GMT-6\n* `Etc/GMT-7` - Etc/GMT-7\n* `Etc/GMT-8` - Etc/GMT-8\n* `Etc/GMT-9` - Etc/GMT-9\n* `Etc/GMT0` - Etc/GMT0\n* `Etc/Greenwich` - Etc/Greenwich\n* `Etc/UCT` - Etc/UCT\n* `Etc/UTC` - Etc/UTC\n* `Etc/Universal` - Etc/Universal\n* `Etc/Zulu` - Etc/Zulu\n* `Europe/Amsterdam` - Europe/Amsterdam\n* `Europe/Andorra` - Europe/Andorra\n* `Europe/Astrakhan` - Europe/Astrakhan\n* `Europe/Athens` - Europe/Athens\n* `Europe/Belfast` - Europe/Belfast\n* `Europe/Belgrade` - Europe/Belgrade\n* `Europe/Berlin` - Europe/Berlin\n* `Europe/Bratislava` - Europe/Bratislava\n* `Europe/Brussels` - Europe/Brussels\n* `Europe/Bucharest` - Europe/Bucharest\n* `Europe/Budapest` - Europe/Budapest\n* `Europe/Busingen` - Europe/Busingen\n* `Europe/Chisinau` - Europe/Chisinau\n* `Europe/Copenhagen` - Europe/Copenhagen\n* `Europe/Dublin` - Europe/Dublin\n* `Europe/Gibraltar` - Europe/Gibraltar\n* `Europe/Guernsey` - Europe/Guernsey\n* `Europe/Helsinki` - Europe/Helsinki\n* `Europe/Isle_of_Man` - Europe/Isle_of_Man\n* `Europe/Istanbul` - Europe/Istanbul\n* `Europe/Jersey` - Europe/Jersey\n* `Europe/Kaliningrad` - Europe/Kaliningrad\n* `Europe/Kiev` - Europe/Kiev\n* `Europe/Kirov` - Europe/Kirov\n* `Europe/Kyiv` - Europe/Kyiv\n* `Europe/Lisbon` - Europe/Lisbon\n* `Europe/Ljubljana` - Europe/Ljubljana\n* `Europe/London` - Europe/London\n* `Europe/Luxembourg` - Europe/Luxembourg\n* `Europe/Madrid` - Europe/Madrid\n* `Europe/Malta` - Europe/Malta\n* `Europe/Mariehamn` - Europe/Mariehamn\n* `Europe/Minsk` - Europe/Minsk\n* `Europe/Monaco` - Europe/Monaco\n* `Europe/Moscow` - Europe/Moscow\n* `Europe/Nicosia` - Europe/Nicosia\n* `Europe/Oslo` - Europe/Oslo\n* `Europe/Paris` - Europe/Paris\n* `Europe/Podgorica` - Europe/Podgorica\n* `Europe/Prague` - Europe/Prague\n* `Europe/Riga` - Europe/Riga\n* `Europe/Rome` - Europe/Rome\n* `Europe/Samara` - Europe/Samara\n* `Europe/San_Marino` - Europe/San_Marino\n* `Europe/Sarajevo` - Europe/Sarajevo\n* `Europe/Saratov` - Europe/Saratov\n* `Europe/Simferopol` - Europe/Simferopol\n* `Europe/Skopje` - Europe/Skopje\n* `Europe/Sofia` - Europe/Sofia\n* `Europe/Stockholm` - Europe/Stockholm\n* `Europe/Tallinn` - Europe/Tallinn\n* `Europe/Tirane` - Europe/Tirane\n* `Europe/Tiraspol` - Europe/Tiraspol\n* `Europe/Ulyanovsk` - Europe/Ulyanovsk\n* `Europe/Uzhgorod` - Europe/Uzhgorod\n* `Europe/Vaduz` - Europe/Vaduz\n* `Europe/Vatican` - Europe/Vatican\n* `Europe/Vienna` - Europe/Vienna\n* `Europe/Vilnius` - Europe/Vilnius\n* `Europe/Volgograd` - Europe/Volgograd\n* `Europe/Warsaw` - Europe/Warsaw\n* `Europe/Zagreb` - Europe/Zagreb\n* `Europe/Zaporozhye` - Europe/Zaporozhye\n* `Europe/Zurich` - Europe/Zurich\n* `GB` - GB\n* `GB-Eire` - GB-Eire\n* `GMT` - GMT\n* `GMT+0` - GMT+0\n* `GMT-0` - GMT-0\n* `GMT0` - GMT0\n* `Greenwich` - Greenwich\n* `HST` - HST\n* `Hongkong` - Hongkong\n* `Iceland` - Iceland\n* `Indian/Antananarivo` - Indian/Antananarivo\n* `Indian/Chagos` - Indian/Chagos\n* `Indian/Christmas` - Indian/Christmas\n* `Indian/Cocos` - Indian/Cocos\n* `Indian/Comoro` - Indian/Comoro\n* `Indian/Kerguelen` - Indian/Kerguelen\n* `Indian/Mahe` - Indian/Mahe\n* `Indian/Maldives` - Indian/Maldives\n* `Indian/Mauritius` - Indian/Mauritius\n* `Indian/Mayotte` - Indian/Mayotte\n* `Indian/Reunion` - Indian/Reunion\n* `Iran` - Iran\n* `Israel` - Israel\n* `Jamaica` - Jamaica\n* `Japan` - Japan\n* `Kwajalein` - Kwajalein\n* `Libya` - Libya\n* `MET` - MET\n* `MST` - MST\n* `MST7MDT` - MST7MDT\n* `Mexico/BajaNorte` - Mexico/BajaNorte\n* `Mexico/BajaSur` - Mexico/BajaSur\n* `Mexico/General` - Mexico/General\n* `NZ` - NZ\n* `NZ-CHAT` - NZ-CHAT\n* `Navajo` - Navajo\n* `PRC` - PRC\n* `PST8PDT` - PST8PDT\n* `Pacific/Apia` - Pacific/Apia\n* `Pacific/Auckland` - Pacific/Auckland\n* `Pacific/Bougainville` - Pacific/Bougainville\n* `Pacific/Chatham` - Pacific/Chatham\n* `Pacific/Chuuk` - Pacific/Chuuk\n* `Pacific/Easter` - Pacific/Easter\n* `Pacific/Efate` - Pacific/Efate\n* `Pacific/Enderbury` - Pacific/Enderbury\n* `Pacific/Fakaofo` - Pacific/Fakaofo\n* `Pacific/Fiji` - Pacific/Fiji\n* `Pacific/Funafuti` - Pacific/Funafuti\n* `Pacific/Galapagos` - Pacific/Galapagos\n* `Pacific/Gambier` - Pacific/Gambier\n* `Pacific/Guadalcanal` - Pacific/Guadalcanal\n* `Pacific/Guam` - Pacific/Guam\n* `Pacific/Honolulu` - Pacific/Honolulu\n* `Pacific/Johnston` - Pacific/Johnston\n* `Pacific/Kanton` - Pacific/Kanton\n* `Pacific/Kiritimati` - Pacific/Kiritimati\n* `Pacific/Kosrae` - Pacific/Kosrae\n* `Pacific/Kwajalein` - Pacific/Kwajalein\n* `Pacific/Majuro` - Pacific/Majuro\n* `Pacific/Marquesas` - Pacific/Marquesas\n* `Pacific/Midway` - Pacific/Midway\n* `Pacific/Nauru` - Pacific/Nauru\n* `Pacific/Niue` - Pacific/Niue\n* `Pacific/Norfolk` - Pacific/Norfolk\n* `Pacific/Noumea` - Pacific/Noumea\n* `Pacific/Pago_Pago` - Pacific/Pago_Pago\n* `Pacific/Palau` - Pacific/Palau\n* `Pacific/Pitcairn` - Pacific/Pitcairn\n* `Pacific/Pohnpei` - Pacific/Pohnpei\n* `Pacific/Ponape` - Pacific/Ponape\n* `Pacific/Port_Moresby` - Pacific/Port_Moresby\n* `Pacific/Rarotonga` - Pacific/Rarotonga\n* `Pacific/Saipan` - Pacific/Saipan\n* `Pacific/Samoa` - Pacific/Samoa\n* `Pacific/Tahiti` - Pacific/Tahiti\n* `Pacific/Tarawa` - Pacific/Tarawa\n* `Pacific/Tongatapu` - Pacific/Tongatapu\n* `Pacific/Truk` - Pacific/Truk\n* `Pacific/Wake` - Pacific/Wake\n* `Pacific/Wallis` - Pacific/Wallis\n* `Pacific/Yap` - Pacific/Yap\n* `Poland` - Poland\n* `Portugal` - Portugal\n* `ROC` - ROC\n* `ROK` - ROK\n* `Singapore` - Singapore\n* `Turkey` - Turkey\n* `UCT` - UCT\n* `US/Alaska` - US/Alaska\n* `US/Aleutian` - US/Aleutian\n* `US/Arizona` - US/Arizona\n* `US/Central` - US/Central\n* `US/East-Indiana` - US/East-Indiana\n* `US/Eastern` - US/Eastern\n* `US/Hawaii` - US/Hawaii\n* `US/Indiana-Starke` - US/Indiana-Starke\n* `US/Michigan` - US/Michigan\n* `US/Mountain` - US/Mountain\n* `US/Pacific` - US/Pacific\n* `US/Samoa` - US/Samoa\n* `UTC` - UTC\n* `Universal` - Universal\n* `W-SU` - W-SU\n* `WET` - WET\n* `Zulu` - Zulu'+ ),offset_day: zod.number().min(batchExportsPauseCreateBodyOffsetDayMin).max(batchExportsPauseCreateBodyOffsetDayMax)- .nullish(),+ .nullish()+ .describe(+ "Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday). Only valid when interval is 'week'."+ ),offset_hour: zod.number().min(batchExportsPauseCreateBodyOffsetHourMin).max(batchExportsPauseCreateBodyOffsetHourMax)- .nullish(),+ .nullish()+ .describe(+ "Hour-of-day offset (0-23) for daily and weekly intervals. Only valid when interval is 'day' or 'week'."+ ),}).describe('Serializer for a BatchExport model.')+export const batchExportsRunTestStepCreateBodyDestinationOneConfigOneOneUseVariantTypeDefault = true+export const batchExportsRunTestStepCreateBodyDestinationOneConfigOneOneUseAutomaticSchemaEvolutionDefault = true+export const batchExportsRunTestStepCreateBodyDestinationOneConfigOneTwoPrefixDefault = ``+export const batchExportsRunTestStepCreateBodyDestinationOneConfigOneTwoFileFormatDefault = `JSONLines`export const batchExportsRunTestStepCreateBodyOffsetDayMin = 0export const batchExportsRunTestStepCreateBodyOffsetDayMax = 6@@ -639,19 +899,93 @@ export const BatchExportsRunTestStepCreateBody = /* @__PURE__ */ zod'A choice of supported BatchExportDestination types.\n\n* `S3` - S3\n* `Snowflake` - Snowflake\n* `Postgres` - Postgres\n* `Redshift` - Redshift\n* `BigQuery` - Bigquery\n* `Databricks` - Databricks\n* `AzureBlob` - Azure Blob\n* `Workflows` - Workflows\n* `HTTP` - Http\n* `NoOp` - Noop\n* `FileDownload` - File Download'),config: zod- .unknown()- .optional()+ .union([+ zod+ .object({+ http_path: zod.string().describe('Databricks SQL warehouse HTTP path.'),+ catalog: zod.string().describe('Unity Catalog name.'),+ schema: zod.string().describe('Schema (database) name inside the catalog.'),+ table_name: zod.string().describe('Destination table name.'),+ use_variant_type: zod+ .boolean()+ .default(+ batchExportsRunTestStepCreateBodyDestinationOneConfigOneOneUseVariantTypeDefault+ )+ .describe('Whether to use the Databricks VARIANT type for JSON-like columns.'),+ use_automatic_schema_evolution: zod+ .boolean()+ .default(+ batchExportsRunTestStepCreateBodyDestinationOneConfigOneOneUseAutomaticSchemaEvolutionDefault+ )+ .describe(+ 'Whether to let Databricks evolve the destination table schema automatically.'+ ),+ })+ .describe(+ 'Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ zod+ .object({+ container_name: zod.string().describe('Azure Blob Storage container name.'),+ prefix: zod+ .string()+ .default(batchExportsRunTestStepCreateBodyDestinationOneConfigOneTwoPrefixDefault)+ .describe('Object key prefix applied to every exported file.'),+ compression: zod+ .union([+ zod+ .enum(['brotli', 'gzip', 'lz4', 'snappy', 'zstd'])+ .describe(+ '* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ zod.literal(null),+ ])+ .nullish()+ .describe(+ 'Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ file_format: zod+ .enum(['JSONLines', 'Parquet'])+ .describe('* `JSONLines` - JSONLines\n* `Parquet` - Parquet')+ .default(+ batchExportsRunTestStepCreateBodyDestinationOneConfigOneTwoFileFormatDefault+ )+ .describe(+ 'File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet'+ ),+ max_file_size_mb: zod+ .number()+ .nullish()+ .describe(+ 'If set, rolls to a new file once the current file exceeds this size in MB.'+ ),+ })+ .describe(+ 'Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ ])+ .describe(+ 'Destination-specific configuration. Fields depend on `type`. Credentials for integration-backed destinations (Databricks, AzureBlob) are NOT stored here — they live in the linked Integration. Secret fields are stripped from responses.'+ ),+ integration: zod.number().nullish().describe('The integration for this destination.'),+ integration_id: zod+ .number()+ .nullish().describe(- 'A JSON field to store all configuration parameters required to access a BatchExportDestination.'+ 'ID of a team-scoped Integration providing credentials. Required for Databricks and AzureBlob destinations; optional for BigQuery; unused for other types.'),- integration: zod.number().nullish(),- integration_id: zod.number().nullish(),})- .describe('Serializer for an BatchExportDestination model.'),+ .describe(+ 'Serializer for an BatchExportDestination model.\n\nThe `config` field is polymorphic and typed only for destinations that keep\ncredentials in the linked Integration (currently Databricks and AzureBlob).\nOther destination types accept the same JSON shape but without a typed\nOpenAPI schema. Secret fields are stripped from `config` on read.'+ )+ .describe('Destination configuration (type, config, and optional integration).'),interval: zod.enum(['hour', 'day', 'week', 'every 5 minutes', 'every 15 minutes']).describe('* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ )+ .describe(+ 'How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'),paused: zod.boolean().optional().describe('Whether this BatchExport is paused or not.'),last_paused_at: zod.iso@@ -663,25 +997,43 @@ export const BatchExportsRunTestStepCreateBody = /* @__PURE__ */ zod.nullish().describe("Time before which any Batch Export runs won't be triggered."),end_at: zod.iso.datetime({}).nullish().describe("Time after which any Batch Export runs won't be triggered."),- hogql_query: zod.string().optional(),+ hogql_query: zod+ .string()+ .optional()+ .describe('Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases.'),filters: zod.unknown().nullish(),- timezone: zod.union([zod.string(), zod.literal(null)]).nullish(),+ timezone: zod+ .union([zod.string(), zod.literal(null)])+ .nullish()+ .describe(+ 'IANA timezone name controlling daily and weekly interval boundaries. Defaults to UTC.\n\n* `Africa/Abidjan` - Africa/Abidjan\n* `Africa/Accra` - Africa/Accra\n* `Africa/Addis_Ababa` - Africa/Addis_Ababa\n* `Africa/Algiers` - Africa/Algiers\n* `Africa/Asmara` - Africa/Asmara\n* `Africa/Asmera` - Africa/Asmera\n* `Africa/Bamako` - Africa/Bamako\n* `Africa/Bangui` - Africa/Bangui\n* `Africa/Banjul` - Africa/Banjul\n* `Africa/Bissau` - Africa/Bissau\n* `Africa/Blantyre` - Africa/Blantyre\n* `Africa/Brazzaville` - Africa/Brazzaville\n* `Africa/Bujumbura` - Africa/Bujumbura\n* `Africa/Cairo` - Africa/Cairo\n* `Africa/Casablanca` - Africa/Casablanca\n* `Africa/Ceuta` - Africa/Ceuta\n* `Africa/Conakry` - Africa/Conakry\n* `Africa/Dakar` - Africa/Dakar\n* `Africa/Dar_es_Salaam` - Africa/Dar_es_Salaam\n* `Africa/Djibouti` - Africa/Djibouti\n* `Africa/Douala` - Africa/Douala\n* `Africa/El_Aaiun` - Africa/El_Aaiun\n* `Africa/Freetown` - Africa/Freetown\n* `Africa/Gaborone` - Africa/Gaborone\n* `Africa/Harare` - Africa/Harare\n* `Africa/Johannesburg` - Africa/Johannesburg\n* `Africa/Juba` - Africa/Juba\n* `Africa/Kampala` - Africa/Kampala\n* `Africa/Khartoum` - Africa/Khartoum\n* `Africa/Kigali` - Africa/Kigali\n* `Africa/Kinshasa` - Africa/Kinshasa\n* `Africa/Lagos` - Africa/Lagos\n* `Africa/Libreville` - Africa/Libreville\n* `Africa/Lome` - Africa/Lome\n* `Africa/Luanda` - Africa/Luanda\n* `Africa/Lubumbashi` - Africa/Lubumbashi\n* `Africa/Lusaka` - Africa/Lusaka\n* `Africa/Malabo` - Africa/Malabo\n* `Africa/Maputo` - Africa/Maputo\n* `Africa/Maseru` - Africa/Maseru\n* `Africa/Mbabane` - Africa/Mbabane\n* `Africa/Mogadishu` - Africa/Mogadishu\n* `Africa/Monrovia` - Africa/Monrovia\n* `Africa/Nairobi` - Africa/Nairobi\n* `Africa/Ndjamena` - Africa/Ndjamena\n* `Africa/Niamey` - Africa/Niamey\n* `Africa/Nouakchott` - Africa/Nouakchott\n* `Africa/Ouagadougou` - Africa/Ouagadougou\n* `Africa/Porto-Novo` - Africa/Porto-Novo\n* `Africa/Sao_Tome` - Africa/Sao_Tome\n* `Africa/Timbuktu` - Africa/Timbuktu\n* `Africa/Tripoli` - Africa/Tripoli\n* `Africa/Tunis` - Africa/Tunis\n* `Africa/Windhoek` - Africa/Windhoek\n* `America/Adak` - America/Adak\n* `America/Anchorage` - America/Anchorage\n* `America/Anguilla` - America/Anguilla\n* `America/Antigua` - America/Antigua\n* `America/Araguaina` - America/Araguaina\n* `America/Argentina/Buenos_Aires` - America/Argentina/Buenos_Aires\n* `America/Argentina/Catamarca` - America/Argentina/Catamarca\n* `America/Argentina/ComodRivadavia` - America/Argentina/ComodRivadavia\n* `America/Argentina/Cordoba` - America/Argentina/Cordoba\n* `America/Argentina/Jujuy` - America/Argentina/Jujuy\n* `America/Argentina/La_Rioja` - America/Argentina/La_Rioja\n* `America/Argentina/Mendoza` - America/Argentina/Mendoza\n* `America/Argentina/Rio_Gallegos` - America/Argentina/Rio_Gallegos\n* `America/Argentina/Salta` - America/Argentina/Salta\n* `America/Argentina/San_Juan` - America/Argentina/San_Juan\n* `America/Argentina/San_Luis` - America/Argentina/San_Luis\n* `America/Argentina/Tucuman` - America/Argentina/Tucuman\n* `America/Argentina/Ushuaia` - America/Argentina/Ushuaia\n* `America/Aruba` - America/Aruba\n* `America/Asuncion` - America/Asuncion\n* `America/Atikokan` - America/Atikokan\n* `America/Atka` - America/Atka\n* `America/Bahia` - America/Bahia\n* `America/Bahia_Banderas` - America/Bahia_Banderas\n* `America/Barbados` - America/Barbados\n* `America/Belem` - America/Belem\n* `America/Belize` - America/Belize\n* `America/Blanc-Sablon` - America/Blanc-Sablon\n* `America/Boa_Vista` - America/Boa_Vista\n* `America/Bogota` - America/Bogota\n* `America/Boise` - America/Boise\n* `America/Buenos_Aires` - America/Buenos_Aires\n* `America/Cambridge_Bay` - America/Cambridge_Bay\n* `America/Campo_Grande` - America/Campo_Grande\n* `America/Cancun` - America/Cancun\n* `America/Caracas` - America/Caracas\n* `America/Catamarca` - America/Catamarca\n* `America/Cayenne` - America/Cayenne\n* `America/Cayman` - America/Cayman\n* `America/Chicago` - America/Chicago\n* `America/Chihuahua` - America/Chihuahua\n* `America/Ciudad_Juarez` - America/Ciudad_Juarez\n* `America/Coral_Harbour` - America/Coral_Harbour\n* `America/Cordoba` - America/Cordoba\n* `America/Costa_Rica` - America/Costa_Rica\n* `America/Creston` - America/Creston\n* `America/Cuiaba` - America/Cuiaba\n* `America/Curacao` - America/Curacao\n* `America/Danmarkshavn` - America/Danmarkshavn\n* `America/Dawson` - America/Dawson\n* `America/Dawson_Creek` - America/Dawson_Creek\n* `America/Denver` - America/Denver\n* `America/Detroit` - America/Detroit\n* `America/Dominica` - America/Dominica\n* `America/Edmonton` - America/Edmonton\n* `America/Eirunepe` - America/Eirunepe\n* `America/El_Salvador` - America/El_Salvador\n* `America/Ensenada` - America/Ensenada\n* `America/Fort_Nelson` - America/Fort_Nelson\n* `America/Fort_Wayne` - America/Fort_Wayne\n* `America/Fortaleza` - America/Fortaleza\n* `America/Glace_Bay` - America/Glace_Bay\n* `America/Godthab` - America/Godthab\n* `America/Goose_Bay` - America/Goose_Bay\n* `America/Grand_Turk` - America/Grand_Turk\n* `America/Grenada` - America/Grenada\n* `America/Guadeloupe` - America/Guadeloupe\n* `America/Guatemala` - America/Guatemala\n* `America/Guayaquil` - America/Guayaquil\n* `America/Guyana` - America/Guyana\n* `America/Halifax` - America/Halifax\n* `America/Havana` - America/Havana\n* `America/Hermosillo` - America/Hermosillo\n* `America/Indiana/Indianapolis` - America/Indiana/Indianapolis\n* `America/Indiana/Knox` - America/Indiana/Knox\n* `America/Indiana/Marengo` - America/Indiana/Marengo\n* `America/Indiana/Petersburg` - America/Indiana/Petersburg\n* `America/Indiana/Tell_City` - America/Indiana/Tell_City\n* `America/Indiana/Vevay` - America/Indiana/Vevay\n* `America/Indiana/Vincennes` - America/Indiana/Vincennes\n* `America/Indiana/Winamac` - America/Indiana/Winamac\n* `America/Indianapolis` - America/Indianapolis\n* `America/Inuvik` - America/Inuvik\n* `America/Iqaluit` - America/Iqaluit\n* `America/Jamaica` - America/Jamaica\n* `America/Jujuy` - America/Jujuy\n* `America/Juneau` - America/Juneau\n* `America/Kentucky/Louisville` - America/Kentucky/Louisville\n* `America/Kentucky/Monticello` - America/Kentucky/Monticello\n* `America/Knox_IN` - America/Knox_IN\n* `America/Kralendijk` - America/Kralendijk\n* `America/La_Paz` - America/La_Paz\n* `America/Lima` - America/Lima\n* `America/Los_Angeles` - America/Los_Angeles\n* `America/Louisville` - America/Louisville\n* `America/Lower_Princes` - America/Lower_Princes\n* `America/Maceio` - America/Maceio\n* `America/Managua` - America/Managua\n* `America/Manaus` - America/Manaus\n* `America/Marigot` - America/Marigot\n* `America/Martinique` - America/Martinique\n* `America/Matamoros` - America/Matamoros\n* `America/Mazatlan` - America/Mazatlan\n* `America/Mendoza` - America/Mendoza\n* `America/Menominee` - America/Menominee\n* `America/Merida` - America/Merida\n* `America/Metlakatla` - America/Metlakatla\n* `America/Mexico_City` - America/Mexico_City\n* `America/Miquelon` - America/Miquelon\n* `America/Moncton` - America/Moncton\n* `America/Monterrey` - America/Monterrey\n* `America/Montevideo` - America/Montevideo\n* `America/Montreal` - America/Montreal\n* `America/Montserrat` - America/Montserrat\n* `America/Nassau` - America/Nassau\n* `America/New_York` - America/New_York\n* `America/Nipigon` - America/Nipigon\n* `America/Nome` - America/Nome\n* `America/Noronha` - America/Noronha\n* `America/North_Dakota/Beulah` - America/North_Dakota/Beulah\n* `America/North_Dakota/Center` - America/North_Dakota/Center\n* `America/North_Dakota/New_Salem` - America/North_Dakota/New_Salem\n* `America/Nuuk` - America/Nuuk\n* `America/Ojinaga` - America/Ojinaga\n* `America/Panama` - America/Panama\n* `America/Pangnirtung` - America/Pangnirtung\n* `America/Paramaribo` - America/Paramaribo\n* `America/Phoenix` - America/Phoenix\n* `America/Port-au-Prince` - America/Port-au-Prince\n* `America/Port_of_Spain` - America/Port_of_Spain\n* `America/Porto_Acre` - America/Porto_Acre\n* `America/Porto_Velho` - America/Porto_Velho\n* `America/Puerto_Rico` - America/Puerto_Rico\n* `America/Punta_Arenas` - America/Punta_Arenas\n* `America/Rainy_River` - America/Rainy_River\n* `America/Rankin_Inlet` - America/Rankin_Inlet\n* `America/Recife` - America/Recife\n* `America/Regina` - America/Regina\n* `America/Resolute` - America/Resolute\n* `America/Rio_Branco` - America/Rio_Branco\n* `America/Rosario` - America/Rosario\n* `America/Santa_Isabel` - America/Santa_Isabel\n* `America/Santarem` - America/Santarem\n* `America/Santiago` - America/Santiago\n* `America/Santo_Domingo` - America/Santo_Domingo\n* `America/Sao_Paulo` - America/Sao_Paulo\n* `America/Scoresbysund` - America/Scoresbysund\n* `America/Shiprock` - America/Shiprock\n* `America/Sitka` - America/Sitka\n* `America/St_Barthelemy` - America/St_Barthelemy\n* `America/St_Johns` - America/St_Johns\n* `America/St_Kitts` - America/St_Kitts\n* `America/St_Lucia` - America/St_Lucia\n* `America/St_Thomas` - America/St_Thomas\n* `America/St_Vincent` - America/St_Vincent\n* `America/Swift_Current` - America/Swift_Current\n* `America/Tegucigalpa` - America/Tegucigalpa\n* `America/Thule` - America/Thule\n* `America/Thunder_Bay` - America/Thunder_Bay\n* `America/Tijuana` - America/Tijuana\n* `America/Toronto` - America/Toronto\n* `America/Tortola` - America/Tortola\n* `America/Vancouver` - America/Vancouver\n* `America/Virgin` - America/Virgin\n* `America/Whitehorse` - America/Whitehorse\n* `America/Winnipeg` - America/Winnipeg\n* `America/Yakutat` - America/Yakutat\n* `America/Yellowknife` - America/Yellowknife\n* `Antarctica/Casey` - Antarctica/Casey\n* `Antarctica/Davis` - Antarctica/Davis\n* `Antarctica/DumontDUrville` - Antarctica/DumontDUrville\n* `Antarctica/Macquarie` - Antarctica/Macquarie\n* `Antarctica/Mawson` - Antarctica/Mawson\n* `Antarctica/McMurdo` - Antarctica/McMurdo\n* `Antarctica/Palmer` - Antarctica/Palmer\n* `Antarctica/Rothera` - Antarctica/Rothera\n* `Antarctica/South_Pole` - Antarctica/South_Pole\n* `Antarctica/Syowa` - Antarctica/Syowa\n* `Antarctica/Troll` - Antarctica/Troll\n* `Antarctica/Vostok` - Antarctica/Vostok\n* `Arctic/Longyearbyen` - Arctic/Longyearbyen\n* `Asia/Aden` - Asia/Aden\n* `Asia/Almaty` - Asia/Almaty\n* `Asia/Amman` - Asia/Amman\n* `Asia/Anadyr` - Asia/Anadyr\n* `Asia/Aqtau` - Asia/Aqtau\n* `Asia/Aqtobe` - Asia/Aqtobe\n* `Asia/Ashgabat` - Asia/Ashgabat\n* `Asia/Ashkhabad` - Asia/Ashkhabad\n* `Asia/Atyrau` - Asia/Atyrau\n* `Asia/Baghdad` - Asia/Baghdad\n* `Asia/Bahrain` - Asia/Bahrain\n* `Asia/Baku` - Asia/Baku\n* `Asia/Bangkok` - Asia/Bangkok\n* `Asia/Barnaul` - Asia/Barnaul\n* `Asia/Beirut` - Asia/Beirut\n* `Asia/Bishkek` - Asia/Bishkek\n* `Asia/Brunei` - Asia/Brunei\n* `Asia/Calcutta` - Asia/Calcutta\n* `Asia/Chita` - Asia/Chita\n* `Asia/Choibalsan` - Asia/Choibalsan\n* `Asia/Chongqing` - Asia/Chongqing\n* `Asia/Chungking` - Asia/Chungking\n* `Asia/Colombo` - Asia/Colombo\n* `Asia/Dacca` - Asia/Dacca\n* `Asia/Damascus` - Asia/Damascus\n* `Asia/Dhaka` - Asia/Dhaka\n* `Asia/Dili` - Asia/Dili\n* `Asia/Dubai` - Asia/Dubai\n* `Asia/Dushanbe` - Asia/Dushanbe\n* `Asia/Famagusta` - Asia/Famagusta\n* `Asia/Gaza` - Asia/Gaza\n* `Asia/Harbin` - Asia/Harbin\n* `Asia/Hebron` - Asia/Hebron\n* `Asia/Ho_Chi_Minh` - Asia/Ho_Chi_Minh\n* `Asia/Hong_Kong` - Asia/Hong_Kong\n* `Asia/Hovd` - Asia/Hovd\n* `Asia/Irkutsk` - Asia/Irkutsk\n* `Asia/Istanbul` - Asia/Istanbul\n* `Asia/Jakarta` - Asia/Jakarta\n* `Asia/Jayapura` - Asia/Jayapura\n* `Asia/Jerusalem` - Asia/Jerusalem\n* `Asia/Kabul` - Asia/Kabul\n* `Asia/Kamchatka` - Asia/Kamchatka\n* `Asia/Karachi` - Asia/Karachi\n* `Asia/Kashgar` - Asia/Kashgar\n* `Asia/Kathmandu` - Asia/Kathmandu\n* `Asia/Katmandu` - Asia/Katmandu\n* `Asia/Khandyga` - Asia/Khandyga\n* `Asia/Kolkata` - Asia/Kolkata\n* `Asia/Krasnoyarsk` - Asia/Krasnoyarsk\n* `Asia/Kuala_Lumpur` - Asia/Kuala_Lumpur\n* `Asia/Kuching` - Asia/Kuching\n* `Asia/Kuwait` - Asia/Kuwait\n* `Asia/Macao` - Asia/Macao\n* `Asia/Macau` - Asia/Macau\n* `Asia/Magadan` - Asia/Magadan\n* `Asia/Makassar` - Asia/Makassar\n* `Asia/Manila` - Asia/Manila\n* `Asia/Muscat` - Asia/Muscat\n* `Asia/Nicosia` - Asia/Nicosia\n* `Asia/Novokuznetsk` - Asia/Novokuznetsk\n* `Asia/Novosibirsk` - Asia/Novosibirsk\n* `Asia/Omsk` - Asia/Omsk\n* `Asia/Oral` - Asia/Oral\n* `Asia/Phnom_Penh` - Asia/Phnom_Penh\n* `Asia/Pontianak` - Asia/Pontianak\n* `Asia/Pyongyang` - Asia/Pyongyang\n* `Asia/Qatar` - Asia/Qatar\n* `Asia/Qostanay` - Asia/Qostanay\n* `Asia/Qyzylorda` - Asia/Qyzylorda\n* `Asia/Rangoon` - Asia/Rangoon\n* `Asia/Riyadh` - Asia/Riyadh\n* `Asia/Saigon` - Asia/Saigon\n* `Asia/Sakhalin` - Asia/Sakhalin\n* `Asia/Samarkand` - Asia/Samarkand\n* `Asia/Seoul` - Asia/Seoul\n* `Asia/Shanghai` - Asia/Shanghai\n* `Asia/Singapore` - Asia/Singapore\n* `Asia/Srednekolymsk` - Asia/Srednekolymsk\n* `Asia/Taipei` - Asia/Taipei\n* `Asia/Tashkent` - Asia/Tashkent\n* `Asia/Tbilisi` - Asia/Tbilisi\n* `Asia/Tehran` - Asia/Tehran\n* `Asia/Tel_Aviv` - Asia/Tel_Aviv\n* `Asia/Thimbu` - Asia/Thimbu\n* `Asia/Thimphu` - Asia/Thimphu\n* `Asia/Tokyo` - Asia/Tokyo\n* `Asia/Tomsk` - Asia/Tomsk\n* `Asia/Ujung_Pandang` - Asia/Ujung_Pandang\n* `Asia/Ulaanbaatar` - Asia/Ulaanbaatar\n* `Asia/Ulan_Bator` - Asia/Ulan_Bator\n* `Asia/Urumqi` - Asia/Urumqi\n* `Asia/Ust-Nera` - Asia/Ust-Nera\n* `Asia/Vientiane` - Asia/Vientiane\n* `Asia/Vladivostok` - Asia/Vladivostok\n* `Asia/Yakutsk` - Asia/Yakutsk\n* `Asia/Yangon` - Asia/Yangon\n* `Asia/Yekaterinburg` - Asia/Yekaterinburg\n* `Asia/Yerevan` - Asia/Yerevan\n* `Atlantic/Azores` - Atlantic/Azores\n* `Atlantic/Bermuda` - Atlantic/Bermuda\n* `Atlantic/Canary` - Atlantic/Canary\n* `Atlantic/Cape_Verde` - Atlantic/Cape_Verde\n* `Atlantic/Faeroe` - Atlantic/Faeroe\n* `Atlantic/Faroe` - Atlantic/Faroe\n* `Atlantic/Jan_Mayen` - Atlantic/Jan_Mayen\n* `Atlantic/Madeira` - Atlantic/Madeira\n* `Atlantic/Reykjavik` - Atlantic/Reykjavik\n* `Atlantic/South_Georgia` - Atlantic/South_Georgia\n* `Atlantic/St_Helena` - Atlantic/St_Helena\n* `Atlantic/Stanley` - Atlantic/Stanley\n* `Australia/ACT` - Australia/ACT\n* `Australia/Adelaide` - Australia/Adelaide\n* `Australia/Brisbane` - Australia/Brisbane\n* `Australia/Broken_Hill` - Australia/Broken_Hill\n* `Australia/Canberra` - Australia/Canberra\n* `Australia/Currie` - Australia/Currie\n* `Australia/Darwin` - Australia/Darwin\n* `Australia/Eucla` - Australia/Eucla\n* `Australia/Hobart` - Australia/Hobart\n* `Australia/LHI` - Australia/LHI\n* `Australia/Lindeman` - Australia/Lindeman\n* `Australia/Lord_Howe` - Australia/Lord_Howe\n* `Australia/Melbourne` - Australia/Melbourne\n* `Australia/NSW` - Australia/NSW\n* `Australia/North` - Australia/North\n* `Australia/Perth` - Australia/Perth\n* `Australia/Queensland` - Australia/Queensland\n* `Australia/South` - Australia/South\n* `Australia/Sydney` - Australia/Sydney\n* `Australia/Tasmania` - Australia/Tasmania\n* `Australia/Victoria` - Australia/Victoria\n* `Australia/West` - Australia/West\n* `Australia/Yancowinna` - Australia/Yancowinna\n* `Brazil/Acre` - Brazil/Acre\n* `Brazil/DeNoronha` - Brazil/DeNoronha\n* `Brazil/East` - Brazil/East\n* `Brazil/West` - Brazil/West\n* `CET` - CET\n* `CST6CDT` - CST6CDT\n* `Canada/Atlantic` - Canada/Atlantic\n* `Canada/Central` - Canada/Central\n* `Canada/Eastern` - Canada/Eastern\n* `Canada/Mountain` - Canada/Mountain\n* `Canada/Newfoundland` - Canada/Newfoundland\n* `Canada/Pacific` - Canada/Pacific\n* `Canada/Saskatchewan` - Canada/Saskatchewan\n* `Canada/Yukon` - Canada/Yukon\n* `Chile/Continental` - Chile/Continental\n* `Chile/EasterIsland` - Chile/EasterIsland\n* `Cuba` - Cuba\n* `EET` - EET\n* `EST` - EST\n* `EST5EDT` - EST5EDT\n* `Egypt` - Egypt\n* `Eire` - Eire\n* `Etc/GMT` - Etc/GMT\n* `Etc/GMT+0` - Etc/GMT+0\n* `Etc/GMT+1` - Etc/GMT+1\n* `Etc/GMT+10` - Etc/GMT+10\n* `Etc/GMT+11` - Etc/GMT+11\n* `Etc/GMT+12` - Etc/GMT+12\n* `Etc/GMT+2` - Etc/GMT+2\n* `Etc/GMT+3` - Etc/GMT+3\n* `Etc/GMT+4` - Etc/GMT+4\n* `Etc/GMT+5` - Etc/GMT+5\n* `Etc/GMT+6` - Etc/GMT+6\n* `Etc/GMT+7` - Etc/GMT+7\n* `Etc/GMT+8` - Etc/GMT+8\n* `Etc/GMT+9` - Etc/GMT+9\n* `Etc/GMT-0` - Etc/GMT-0\n* `Etc/GMT-1` - Etc/GMT-1\n* `Etc/GMT-10` - Etc/GMT-10\n* `Etc/GMT-11` - Etc/GMT-11\n* `Etc/GMT-12` - Etc/GMT-12\n* `Etc/GMT-13` - Etc/GMT-13\n* `Etc/GMT-14` - Etc/GMT-14\n* `Etc/GMT-2` - Etc/GMT-2\n* `Etc/GMT-3` - Etc/GMT-3\n* `Etc/GMT-4` - Etc/GMT-4\n* `Etc/GMT-5` - Etc/GMT-5\n* `Etc/GMT-6` - Etc/GMT-6\n* `Etc/GMT-7` - Etc/GMT-7\n* `Etc/GMT-8` - Etc/GMT-8\n* `Etc/GMT-9` - Etc/GMT-9\n* `Etc/GMT0` - Etc/GMT0\n* `Etc/Greenwich` - Etc/Greenwich\n* `Etc/UCT` - Etc/UCT\n* `Etc/UTC` - Etc/UTC\n* `Etc/Universal` - Etc/Universal\n* `Etc/Zulu` - Etc/Zulu\n* `Europe/Amsterdam` - Europe/Amsterdam\n* `Europe/Andorra` - Europe/Andorra\n* `Europe/Astrakhan` - Europe/Astrakhan\n* `Europe/Athens` - Europe/Athens\n* `Europe/Belfast` - Europe/Belfast\n* `Europe/Belgrade` - Europe/Belgrade\n* `Europe/Berlin` - Europe/Berlin\n* `Europe/Bratislava` - Europe/Bratislava\n* `Europe/Brussels` - Europe/Brussels\n* `Europe/Bucharest` - Europe/Bucharest\n* `Europe/Budapest` - Europe/Budapest\n* `Europe/Busingen` - Europe/Busingen\n* `Europe/Chisinau` - Europe/Chisinau\n* `Europe/Copenhagen` - Europe/Copenhagen\n* `Europe/Dublin` - Europe/Dublin\n* `Europe/Gibraltar` - Europe/Gibraltar\n* `Europe/Guernsey` - Europe/Guernsey\n* `Europe/Helsinki` - Europe/Helsinki\n* `Europe/Isle_of_Man` - Europe/Isle_of_Man\n* `Europe/Istanbul` - Europe/Istanbul\n* `Europe/Jersey` - Europe/Jersey\n* `Europe/Kaliningrad` - Europe/Kaliningrad\n* `Europe/Kiev` - Europe/Kiev\n* `Europe/Kirov` - Europe/Kirov\n* `Europe/Kyiv` - Europe/Kyiv\n* `Europe/Lisbon` - Europe/Lisbon\n* `Europe/Ljubljana` - Europe/Ljubljana\n* `Europe/London` - Europe/London\n* `Europe/Luxembourg` - Europe/Luxembourg\n* `Europe/Madrid` - Europe/Madrid\n* `Europe/Malta` - Europe/Malta\n* `Europe/Mariehamn` - Europe/Mariehamn\n* `Europe/Minsk` - Europe/Minsk\n* `Europe/Monaco` - Europe/Monaco\n* `Europe/Moscow` - Europe/Moscow\n* `Europe/Nicosia` - Europe/Nicosia\n* `Europe/Oslo` - Europe/Oslo\n* `Europe/Paris` - Europe/Paris\n* `Europe/Podgorica` - Europe/Podgorica\n* `Europe/Prague` - Europe/Prague\n* `Europe/Riga` - Europe/Riga\n* `Europe/Rome` - Europe/Rome\n* `Europe/Samara` - Europe/Samara\n* `Europe/San_Marino` - Europe/San_Marino\n* `Europe/Sarajevo` - Europe/Sarajevo\n* `Europe/Saratov` - Europe/Saratov\n* `Europe/Simferopol` - Europe/Simferopol\n* `Europe/Skopje` - Europe/Skopje\n* `Europe/Sofia` - Europe/Sofia\n* `Europe/Stockholm` - Europe/Stockholm\n* `Europe/Tallinn` - Europe/Tallinn\n* `Europe/Tirane` - Europe/Tirane\n* `Europe/Tiraspol` - Europe/Tiraspol\n* `Europe/Ulyanovsk` - Europe/Ulyanovsk\n* `Europe/Uzhgorod` - Europe/Uzhgorod\n* `Europe/Vaduz` - Europe/Vaduz\n* `Europe/Vatican` - Europe/Vatican\n* `Europe/Vienna` - Europe/Vienna\n* `Europe/Vilnius` - Europe/Vilnius\n* `Europe/Volgograd` - Europe/Volgograd\n* `Europe/Warsaw` - Europe/Warsaw\n* `Europe/Zagreb` - Europe/Zagreb\n* `Europe/Zaporozhye` - Europe/Zaporozhye\n* `Europe/Zurich` - Europe/Zurich\n* `GB` - GB\n* `GB-Eire` - GB-Eire\n* `GMT` - GMT\n* `GMT+0` - GMT+0\n* `GMT-0` - GMT-0\n* `GMT0` - GMT0\n* `Greenwich` - Greenwich\n* `HST` - HST\n* `Hongkong` - Hongkong\n* `Iceland` - Iceland\n* `Indian/Antananarivo` - Indian/Antananarivo\n* `Indian/Chagos` - Indian/Chagos\n* `Indian/Christmas` - Indian/Christmas\n* `Indian/Cocos` - Indian/Cocos\n* `Indian/Comoro` - Indian/Comoro\n* `Indian/Kerguelen` - Indian/Kerguelen\n* `Indian/Mahe` - Indian/Mahe\n* `Indian/Maldives` - Indian/Maldives\n* `Indian/Mauritius` - Indian/Mauritius\n* `Indian/Mayotte` - Indian/Mayotte\n* `Indian/Reunion` - Indian/Reunion\n* `Iran` - Iran\n* `Israel` - Israel\n* `Jamaica` - Jamaica\n* `Japan` - Japan\n* `Kwajalein` - Kwajalein\n* `Libya` - Libya\n* `MET` - MET\n* `MST` - MST\n* `MST7MDT` - MST7MDT\n* `Mexico/BajaNorte` - Mexico/BajaNorte\n* `Mexico/BajaSur` - Mexico/BajaSur\n* `Mexico/General` - Mexico/General\n* `NZ` - NZ\n* `NZ-CHAT` - NZ-CHAT\n* `Navajo` - Navajo\n* `PRC` - PRC\n* `PST8PDT` - PST8PDT\n* `Pacific/Apia` - Pacific/Apia\n* `Pacific/Auckland` - Pacific/Auckland\n* `Pacific/Bougainville` - Pacific/Bougainville\n* `Pacific/Chatham` - Pacific/Chatham\n* `Pacific/Chuuk` - Pacific/Chuuk\n* `Pacific/Easter` - Pacific/Easter\n* `Pacific/Efate` - Pacific/Efate\n* `Pacific/Enderbury` - Pacific/Enderbury\n* `Pacific/Fakaofo` - Pacific/Fakaofo\n* `Pacific/Fiji` - Pacific/Fiji\n* `Pacific/Funafuti` - Pacific/Funafuti\n* `Pacific/Galapagos` - Pacific/Galapagos\n* `Pacific/Gambier` - Pacific/Gambier\n* `Pacific/Guadalcanal` - Pacific/Guadalcanal\n* `Pacific/Guam` - Pacific/Guam\n* `Pacific/Honolulu` - Pacific/Honolulu\n* `Pacific/Johnston` - Pacific/Johnston\n* `Pacific/Kanton` - Pacific/Kanton\n* `Pacific/Kiritimati` - Pacific/Kiritimati\n* `Pacific/Kosrae` - Pacific/Kosrae\n* `Pacific/Kwajalein` - Pacific/Kwajalein\n* `Pacific/Majuro` - Pacific/Majuro\n* `Pacific/Marquesas` - Pacific/Marquesas\n* `Pacific/Midway` - Pacific/Midway\n* `Pacific/Nauru` - Pacific/Nauru\n* `Pacific/Niue` - Pacific/Niue\n* `Pacific/Norfolk` - Pacific/Norfolk\n* `Pacific/Noumea` - Pacific/Noumea\n* `Pacific/Pago_Pago` - Pacific/Pago_Pago\n* `Pacific/Palau` - Pacific/Palau\n* `Pacific/Pitcairn` - Pacific/Pitcairn\n* `Pacific/Pohnpei` - Pacific/Pohnpei\n* `Pacific/Ponape` - Pacific/Ponape\n* `Pacific/Port_Moresby` - Pacific/Port_Moresby\n* `Pacific/Rarotonga` - Pacific/Rarotonga\n* `Pacific/Saipan` - Pacific/Saipan\n* `Pacific/Samoa` - Pacific/Samoa\n* `Pacific/Tahiti` - Pacific/Tahiti\n* `Pacific/Tarawa` - Pacific/Tarawa\n* `Pacific/Tongatapu` - Pacific/Tongatapu\n* `Pacific/Truk` - Pacific/Truk\n* `Pacific/Wake` - Pacific/Wake\n* `Pacific/Wallis` - Pacific/Wallis\n* `Pacific/Yap` - Pacific/Yap\n* `Poland` - Poland\n* `Portugal` - Portugal\n* `ROC` - ROC\n* `ROK` - ROK\n* `Singapore` - Singapore\n* `Turkey` - Turkey\n* `UCT` - UCT\n* `US/Alaska` - US/Alaska\n* `US/Aleutian` - US/Aleutian\n* `US/Arizona` - US/Arizona\n* `US/Central` - US/Central\n* `US/East-Indiana` - US/East-Indiana\n* `US/Eastern` - US/Eastern\n* `US/Hawaii` - US/Hawaii\n* `US/Indiana-Starke` - US/Indiana-Starke\n* `US/Michigan` - US/Michigan\n* `US/Mountain` - US/Mountain\n* `US/Pacific` - US/Pacific\n* `US/Samoa` - US/Samoa\n* `UTC` - UTC\n* `Universal` - Universal\n* `W-SU` - W-SU\n* `WET` - WET\n* `Zulu` - Zulu'+ ),offset_day: zod.number().min(batchExportsRunTestStepCreateBodyOffsetDayMin).max(batchExportsRunTestStepCreateBodyOffsetDayMax)- .nullish(),+ .nullish()+ .describe(+ "Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday). Only valid when interval is 'week'."+ ),offset_hour: zod.number().min(batchExportsRunTestStepCreateBodyOffsetHourMin).max(batchExportsRunTestStepCreateBodyOffsetHourMax)- .nullish(),+ .nullish()+ .describe(+ "Hour-of-day offset (0-23) for daily and weekly intervals. Only valid when interval is 'day' or 'week'."+ ),}).describe('Serializer for a BatchExport model.')/*** Unpause a BatchExport.*/+export const batchExportsUnpauseCreateBodyDestinationOneConfigOneOneUseVariantTypeDefault = true+export const batchExportsUnpauseCreateBodyDestinationOneConfigOneOneUseAutomaticSchemaEvolutionDefault = true+export const batchExportsUnpauseCreateBodyDestinationOneConfigOneTwoPrefixDefault = ``+export const batchExportsUnpauseCreateBodyDestinationOneConfigOneTwoFileFormatDefault = `JSONLines`export const batchExportsUnpauseCreateBodyOffsetDayMin = 0export const batchExportsUnpauseCreateBodyOffsetDayMax = 6@@ -726,19 +1078,91 @@ export const BatchExportsUnpauseCreateBody = /* @__PURE__ */ zod'A choice of supported BatchExportDestination types.\n\n* `S3` - S3\n* `Snowflake` - Snowflake\n* `Postgres` - Postgres\n* `Redshift` - Redshift\n* `BigQuery` - Bigquery\n* `Databricks` - Databricks\n* `AzureBlob` - Azure Blob\n* `Workflows` - Workflows\n* `HTTP` - Http\n* `NoOp` - Noop\n* `FileDownload` - File Download'),config: zod- .unknown()- .optional()+ .union([+ zod+ .object({+ http_path: zod.string().describe('Databricks SQL warehouse HTTP path.'),+ catalog: zod.string().describe('Unity Catalog name.'),+ schema: zod.string().describe('Schema (database) name inside the catalog.'),+ table_name: zod.string().describe('Destination table name.'),+ use_variant_type: zod+ .boolean()+ .default(+ batchExportsUnpauseCreateBodyDestinationOneConfigOneOneUseVariantTypeDefault+ )+ .describe('Whether to use the Databricks VARIANT type for JSON-like columns.'),+ use_automatic_schema_evolution: zod+ .boolean()+ .default(+ batchExportsUnpauseCreateBodyDestinationOneConfigOneOneUseAutomaticSchemaEvolutionDefault+ )+ .describe(+ 'Whether to let Databricks evolve the destination table schema automatically.'+ ),+ })+ .describe(+ 'Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ zod+ .object({+ container_name: zod.string().describe('Azure Blob Storage container name.'),+ prefix: zod+ .string()+ .default(batchExportsUnpauseCreateBodyDestinationOneConfigOneTwoPrefixDefault)+ .describe('Object key prefix applied to every exported file.'),+ compression: zod+ .union([+ zod+ .enum(['brotli', 'gzip', 'lz4', 'snappy', 'zstd'])+ .describe(+ '* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ zod.literal(null),+ ])+ .nullish()+ .describe(+ 'Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ file_format: zod+ .enum(['JSONLines', 'Parquet'])+ .describe('* `JSONLines` - JSONLines\n* `Parquet` - Parquet')+ .default(batchExportsUnpauseCreateBodyDestinationOneConfigOneTwoFileFormatDefault)+ .describe(+ 'File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet'+ ),+ max_file_size_mb: zod+ .number()+ .nullish()+ .describe(+ 'If set, rolls to a new file once the current file exceeds this size in MB.'+ ),+ })+ .describe(+ 'Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ ]).describe(- 'A JSON field to store all configuration parameters required to access a BatchExportDestination.'+ 'Destination-specific configuration. Fields depend on `type`. Credentials for integration-backed destinations (Databricks, AzureBlob) are NOT stored here — they live in the linked Integration. Secret fields are stripped from responses.'+ ),+ integration: zod.number().nullish().describe('The integration for this destination.'),+ integration_id: zod+ .number()+ .nullish()+ .describe(+ 'ID of a team-scoped Integration providing credentials. Required for Databricks and AzureBlob destinations; optional for BigQuery; unused for other types.'),- integration: zod.number().nullish(),- integration_id: zod.number().nullish(),})- .describe('Serializer for an BatchExportDestination model.'),+ .describe(+ 'Serializer for an BatchExportDestination model.\n\nThe `config` field is polymorphic and typed only for destinations that keep\ncredentials in the linked Integration (currently Databricks and AzureBlob).\nOther destination types accept the same JSON shape but without a typed\nOpenAPI schema. Secret fields are stripped from `config` on read.'+ )+ .describe('Destination configuration (type, config, and optional integration).'),interval: zod.enum(['hour', 'day', 'week', 'every 5 minutes', 'every 15 minutes']).describe('* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ )+ .describe(+ 'How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'),paused: zod.boolean().optional().describe('Whether this BatchExport is paused or not.'),last_paused_at: zod.iso@@ -750,22 +1174,40 @@ export const BatchExportsUnpauseCreateBody = /* @__PURE__ */ zod.nullish().describe("Time before which any Batch Export runs won't be triggered."),end_at: zod.iso.datetime({}).nullish().describe("Time after which any Batch Export runs won't be triggered."),- hogql_query: zod.string().optional(),+ hogql_query: zod+ .string()+ .optional()+ .describe('Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases.'),filters: zod.unknown().nullish(),- timezone: zod.union([zod.string(), zod.literal(null)]).nullish(),+ timezone: zod+ .union([zod.string(), zod.literal(null)])+ .nullish()+ .describe(+ 'IANA timezone name controlling daily and weekly interval boundaries. Defaults to UTC.\n\n* `Africa/Abidjan` - Africa/Abidjan\n* `Africa/Accra` - Africa/Accra\n* `Africa/Addis_Ababa` - Africa/Addis_Ababa\n* `Africa/Algiers` - Africa/Algiers\n* `Africa/Asmara` - Africa/Asmara\n* `Africa/Asmera` - Africa/Asmera\n* `Africa/Bamako` - Africa/Bamako\n* `Africa/Bangui` - Africa/Bangui\n* `Africa/Banjul` - Africa/Banjul\n* `Africa/Bissau` - Africa/Bissau\n* `Africa/Blantyre` - Africa/Blantyre\n* `Africa/Brazzaville` - Africa/Brazzaville\n* `Africa/Bujumbura` - Africa/Bujumbura\n* `Africa/Cairo` - Africa/Cairo\n* `Africa/Casablanca` - Africa/Casablanca\n* `Africa/Ceuta` - Africa/Ceuta\n* `Africa/Conakry` - Africa/Conakry\n* `Africa/Dakar` - Africa/Dakar\n* `Africa/Dar_es_Salaam` - Africa/Dar_es_Salaam\n* `Africa/Djibouti` - Africa/Djibouti\n* `Africa/Douala` - Africa/Douala\n* `Africa/El_Aaiun` - Africa/El_Aaiun\n* `Africa/Freetown` - Africa/Freetown\n* `Africa/Gaborone` - Africa/Gaborone\n* `Africa/Harare` - Africa/Harare\n* `Africa/Johannesburg` - Africa/Johannesburg\n* `Africa/Juba` - Africa/Juba\n* `Africa/Kampala` - Africa/Kampala\n* `Africa/Khartoum` - Africa/Khartoum\n* `Africa/Kigali` - Africa/Kigali\n* `Africa/Kinshasa` - Africa/Kinshasa\n* `Africa/Lagos` - Africa/Lagos\n* `Africa/Libreville` - Africa/Libreville\n* `Africa/Lome` - Africa/Lome\n* `Africa/Luanda` - Africa/Luanda\n* `Africa/Lubumbashi` - Africa/Lubumbashi\n* `Africa/Lusaka` - Africa/Lusaka\n* `Africa/Malabo` - Africa/Malabo\n* `Africa/Maputo` - Africa/Maputo\n* `Africa/Maseru` - Africa/Maseru\n* `Africa/Mbabane` - Africa/Mbabane\n* `Africa/Mogadishu` - Africa/Mogadishu\n* `Africa/Monrovia` - Africa/Monrovia\n* `Africa/Nairobi` - Africa/Nairobi\n* `Africa/Ndjamena` - Africa/Ndjamena\n* `Africa/Niamey` - Africa/Niamey\n* `Africa/Nouakchott` - Africa/Nouakchott\n* `Africa/Ouagadougou` - Africa/Ouagadougou\n* `Africa/Porto-Novo` - Africa/Porto-Novo\n* `Africa/Sao_Tome` - Africa/Sao_Tome\n* `Africa/Timbuktu` - Africa/Timbuktu\n* `Africa/Tripoli` - Africa/Tripoli\n* `Africa/Tunis` - Africa/Tunis\n* `Africa/Windhoek` - Africa/Windhoek\n* `America/Adak` - America/Adak\n* `America/Anchorage` - America/Anchorage\n* `America/Anguilla` - America/Anguilla\n* `America/Antigua` - America/Antigua\n* `America/Araguaina` - America/Araguaina\n* `America/Argentina/Buenos_Aires` - America/Argentina/Buenos_Aires\n* `America/Argentina/Catamarca` - America/Argentina/Catamarca\n* `America/Argentina/ComodRivadavia` - America/Argentina/ComodRivadavia\n* `America/Argentina/Cordoba` - America/Argentina/Cordoba\n* `America/Argentina/Jujuy` - America/Argentina/Jujuy\n* `America/Argentina/La_Rioja` - America/Argentina/La_Rioja\n* `America/Argentina/Mendoza` - America/Argentina/Mendoza\n* `America/Argentina/Rio_Gallegos` - America/Argentina/Rio_Gallegos\n* `America/Argentina/Salta` - America/Argentina/Salta\n* `America/Argentina/San_Juan` - America/Argentina/San_Juan\n* `America/Argentina/San_Luis` - America/Argentina/San_Luis\n* `America/Argentina/Tucuman` - America/Argentina/Tucuman\n* `America/Argentina/Ushuaia` - America/Argentina/Ushuaia\n* `America/Aruba` - America/Aruba\n* `America/Asuncion` - America/Asuncion\n* `America/Atikokan` - America/Atikokan\n* `America/Atka` - America/Atka\n* `America/Bahia` - America/Bahia\n* `America/Bahia_Banderas` - America/Bahia_Banderas\n* `America/Barbados` - America/Barbados\n* `America/Belem` - America/Belem\n* `America/Belize` - America/Belize\n* `America/Blanc-Sablon` - America/Blanc-Sablon\n* `America/Boa_Vista` - America/Boa_Vista\n* `America/Bogota` - America/Bogota\n* `America/Boise` - America/Boise\n* `America/Buenos_Aires` - America/Buenos_Aires\n* `America/Cambridge_Bay` - America/Cambridge_Bay\n* `America/Campo_Grande` - America/Campo_Grande\n* `America/Cancun` - America/Cancun\n* `America/Caracas` - America/Caracas\n* `America/Catamarca` - America/Catamarca\n* `America/Cayenne` - America/Cayenne\n* `America/Cayman` - America/Cayman\n* `America/Chicago` - America/Chicago\n* `America/Chihuahua` - America/Chihuahua\n* `America/Ciudad_Juarez` - America/Ciudad_Juarez\n* `America/Coral_Harbour` - America/Coral_Harbour\n* `America/Cordoba` - America/Cordoba\n* `America/Costa_Rica` - America/Costa_Rica\n* `America/Creston` - America/Creston\n* `America/Cuiaba` - America/Cuiaba\n* `America/Curacao` - America/Curacao\n* `America/Danmarkshavn` - America/Danmarkshavn\n* `America/Dawson` - America/Dawson\n* `America/Dawson_Creek` - America/Dawson_Creek\n* `America/Denver` - America/Denver\n* `America/Detroit` - America/Detroit\n* `America/Dominica` - America/Dominica\n* `America/Edmonton` - America/Edmonton\n* `America/Eirunepe` - America/Eirunepe\n* `America/El_Salvador` - America/El_Salvador\n* `America/Ensenada` - America/Ensenada\n* `America/Fort_Nelson` - America/Fort_Nelson\n* `America/Fort_Wayne` - America/Fort_Wayne\n* `America/Fortaleza` - America/Fortaleza\n* `America/Glace_Bay` - America/Glace_Bay\n* `America/Godthab` - America/Godthab\n* `America/Goose_Bay` - America/Goose_Bay\n* `America/Grand_Turk` - America/Grand_Turk\n* `America/Grenada` - America/Grenada\n* `America/Guadeloupe` - America/Guadeloupe\n* `America/Guatemala` - America/Guatemala\n* `America/Guayaquil` - America/Guayaquil\n* `America/Guyana` - America/Guyana\n* `America/Halifax` - America/Halifax\n* `America/Havana` - America/Havana\n* `America/Hermosillo` - America/Hermosillo\n* `America/Indiana/Indianapolis` - America/Indiana/Indianapolis\n* `America/Indiana/Knox` - America/Indiana/Knox\n* `America/Indiana/Marengo` - America/Indiana/Marengo\n* `America/Indiana/Petersburg` - America/Indiana/Petersburg\n* `America/Indiana/Tell_City` - America/Indiana/Tell_City\n* `America/Indiana/Vevay` - America/Indiana/Vevay\n* `America/Indiana/Vincennes` - America/Indiana/Vincennes\n* `America/Indiana/Winamac` - America/Indiana/Winamac\n* `America/Indianapolis` - America/Indianapolis\n* `America/Inuvik` - America/Inuvik\n* `America/Iqaluit` - America/Iqaluit\n* `America/Jamaica` - America/Jamaica\n* `America/Jujuy` - America/Jujuy\n* `America/Juneau` - America/Juneau\n* `America/Kentucky/Louisville` - America/Kentucky/Louisville\n* `America/Kentucky/Monticello` - America/Kentucky/Monticello\n* `America/Knox_IN` - America/Knox_IN\n* `America/Kralendijk` - America/Kralendijk\n* `America/La_Paz` - America/La_Paz\n* `America/Lima` - America/Lima\n* `America/Los_Angeles` - America/Los_Angeles\n* `America/Louisville` - America/Louisville\n* `America/Lower_Princes` - America/Lower_Princes\n* `America/Maceio` - America/Maceio\n* `America/Managua` - America/Managua\n* `America/Manaus` - America/Manaus\n* `America/Marigot` - America/Marigot\n* `America/Martinique` - America/Martinique\n* `America/Matamoros` - America/Matamoros\n* `America/Mazatlan` - America/Mazatlan\n* `America/Mendoza` - America/Mendoza\n* `America/Menominee` - America/Menominee\n* `America/Merida` - America/Merida\n* `America/Metlakatla` - America/Metlakatla\n* `America/Mexico_City` - America/Mexico_City\n* `America/Miquelon` - America/Miquelon\n* `America/Moncton` - America/Moncton\n* `America/Monterrey` - America/Monterrey\n* `America/Montevideo` - America/Montevideo\n* `America/Montreal` - America/Montreal\n* `America/Montserrat` - America/Montserrat\n* `America/Nassau` - America/Nassau\n* `America/New_York` - America/New_York\n* `America/Nipigon` - America/Nipigon\n* `America/Nome` - America/Nome\n* `America/Noronha` - America/Noronha\n* `America/North_Dakota/Beulah` - America/North_Dakota/Beulah\n* `America/North_Dakota/Center` - America/North_Dakota/Center\n* `America/North_Dakota/New_Salem` - America/North_Dakota/New_Salem\n* `America/Nuuk` - America/Nuuk\n* `America/Ojinaga` - America/Ojinaga\n* `America/Panama` - America/Panama\n* `America/Pangnirtung` - America/Pangnirtung\n* `America/Paramaribo` - America/Paramaribo\n* `America/Phoenix` - America/Phoenix\n* `America/Port-au-Prince` - America/Port-au-Prince\n* `America/Port_of_Spain` - America/Port_of_Spain\n* `America/Porto_Acre` - America/Porto_Acre\n* `America/Porto_Velho` - America/Porto_Velho\n* `America/Puerto_Rico` - America/Puerto_Rico\n* `America/Punta_Arenas` - America/Punta_Arenas\n* `America/Rainy_River` - America/Rainy_River\n* `America/Rankin_Inlet` - America/Rankin_Inlet\n* `America/Recife` - America/Recife\n* `America/Regina` - America/Regina\n* `America/Resolute` - America/Resolute\n* `America/Rio_Branco` - America/Rio_Branco\n* `America/Rosario` - America/Rosario\n* `America/Santa_Isabel` - America/Santa_Isabel\n* `America/Santarem` - America/Santarem\n* `America/Santiago` - America/Santiago\n* `America/Santo_Domingo` - America/Santo_Domingo\n* `America/Sao_Paulo` - America/Sao_Paulo\n* `America/Scoresbysund` - America/Scoresbysund\n* `America/Shiprock` - America/Shiprock\n* `America/Sitka` - America/Sitka\n* `America/St_Barthelemy` - America/St_Barthelemy\n* `America/St_Johns` - America/St_Johns\n* `America/St_Kitts` - America/St_Kitts\n* `America/St_Lucia` - America/St_Lucia\n* `America/St_Thomas` - America/St_Thomas\n* `America/St_Vincent` - America/St_Vincent\n* `America/Swift_Current` - America/Swift_Current\n* `America/Tegucigalpa` - America/Tegucigalpa\n* `America/Thule` - America/Thule\n* `America/Thunder_Bay` - America/Thunder_Bay\n* `America/Tijuana` - America/Tijuana\n* `America/Toronto` - America/Toronto\n* `America/Tortola` - America/Tortola\n* `America/Vancouver` - America/Vancouver\n* `America/Virgin` - America/Virgin\n* `America/Whitehorse` - America/Whitehorse\n* `America/Winnipeg` - America/Winnipeg\n* `America/Yakutat` - America/Yakutat\n* `America/Yellowknife` - America/Yellowknife\n* `Antarctica/Casey` - Antarctica/Casey\n* `Antarctica/Davis` - Antarctica/Davis\n* `Antarctica/DumontDUrville` - Antarctica/DumontDUrville\n* `Antarctica/Macquarie` - Antarctica/Macquarie\n* `Antarctica/Mawson` - Antarctica/Mawson\n* `Antarctica/McMurdo` - Antarctica/McMurdo\n* `Antarctica/Palmer` - Antarctica/Palmer\n* `Antarctica/Rothera` - Antarctica/Rothera\n* `Antarctica/South_Pole` - Antarctica/South_Pole\n* `Antarctica/Syowa` - Antarctica/Syowa\n* `Antarctica/Troll` - Antarctica/Troll\n* `Antarctica/Vostok` - Antarctica/Vostok\n* `Arctic/Longyearbyen` - Arctic/Longyearbyen\n* `Asia/Aden` - Asia/Aden\n* `Asia/Almaty` - Asia/Almaty\n* `Asia/Amman` - Asia/Amman\n* `Asia/Anadyr` - Asia/Anadyr\n* `Asia/Aqtau` - Asia/Aqtau\n* `Asia/Aqtobe` - Asia/Aqtobe\n* `Asia/Ashgabat` - Asia/Ashgabat\n* `Asia/Ashkhabad` - Asia/Ashkhabad\n* `Asia/Atyrau` - Asia/Atyrau\n* `Asia/Baghdad` - Asia/Baghdad\n* `Asia/Bahrain` - Asia/Bahrain\n* `Asia/Baku` - Asia/Baku\n* `Asia/Bangkok` - Asia/Bangkok\n* `Asia/Barnaul` - Asia/Barnaul\n* `Asia/Beirut` - Asia/Beirut\n* `Asia/Bishkek` - Asia/Bishkek\n* `Asia/Brunei` - Asia/Brunei\n* `Asia/Calcutta` - Asia/Calcutta\n* `Asia/Chita` - Asia/Chita\n* `Asia/Choibalsan` - Asia/Choibalsan\n* `Asia/Chongqing` - Asia/Chongqing\n* `Asia/Chungking` - Asia/Chungking\n* `Asia/Colombo` - Asia/Colombo\n* `Asia/Dacca` - Asia/Dacca\n* `Asia/Damascus` - Asia/Damascus\n* `Asia/Dhaka` - Asia/Dhaka\n* `Asia/Dili` - Asia/Dili\n* `Asia/Dubai` - Asia/Dubai\n* `Asia/Dushanbe` - Asia/Dushanbe\n* `Asia/Famagusta` - Asia/Famagusta\n* `Asia/Gaza` - Asia/Gaza\n* `Asia/Harbin` - Asia/Harbin\n* `Asia/Hebron` - Asia/Hebron\n* `Asia/Ho_Chi_Minh` - Asia/Ho_Chi_Minh\n* `Asia/Hong_Kong` - Asia/Hong_Kong\n* `Asia/Hovd` - Asia/Hovd\n* `Asia/Irkutsk` - Asia/Irkutsk\n* `Asia/Istanbul` - Asia/Istanbul\n* `Asia/Jakarta` - Asia/Jakarta\n* `Asia/Jayapura` - Asia/Jayapura\n* `Asia/Jerusalem` - Asia/Jerusalem\n* `Asia/Kabul` - Asia/Kabul\n* `Asia/Kamchatka` - Asia/Kamchatka\n* `Asia/Karachi` - Asia/Karachi\n* `Asia/Kashgar` - Asia/Kashgar\n* `Asia/Kathmandu` - Asia/Kathmandu\n* `Asia/Katmandu` - Asia/Katmandu\n* `Asia/Khandyga` - Asia/Khandyga\n* `Asia/Kolkata` - Asia/Kolkata\n* `Asia/Krasnoyarsk` - Asia/Krasnoyarsk\n* `Asia/Kuala_Lumpur` - Asia/Kuala_Lumpur\n* `Asia/Kuching` - Asia/Kuching\n* `Asia/Kuwait` - Asia/Kuwait\n* `Asia/Macao` - Asia/Macao\n* `Asia/Macau` - Asia/Macau\n* `Asia/Magadan` - Asia/Magadan\n* `Asia/Makassar` - Asia/Makassar\n* `Asia/Manila` - Asia/Manila\n* `Asia/Muscat` - Asia/Muscat\n* `Asia/Nicosia` - Asia/Nicosia\n* `Asia/Novokuznetsk` - Asia/Novokuznetsk\n* `Asia/Novosibirsk` - Asia/Novosibirsk\n* `Asia/Omsk` - Asia/Omsk\n* `Asia/Oral` - Asia/Oral\n* `Asia/Phnom_Penh` - Asia/Phnom_Penh\n* `Asia/Pontianak` - Asia/Pontianak\n* `Asia/Pyongyang` - Asia/Pyongyang\n* `Asia/Qatar` - Asia/Qatar\n* `Asia/Qostanay` - Asia/Qostanay\n* `Asia/Qyzylorda` - Asia/Qyzylorda\n* `Asia/Rangoon` - Asia/Rangoon\n* `Asia/Riyadh` - Asia/Riyadh\n* `Asia/Saigon` - Asia/Saigon\n* `Asia/Sakhalin` - Asia/Sakhalin\n* `Asia/Samarkand` - Asia/Samarkand\n* `Asia/Seoul` - Asia/Seoul\n* `Asia/Shanghai` - Asia/Shanghai\n* `Asia/Singapore` - Asia/Singapore\n* `Asia/Srednekolymsk` - Asia/Srednekolymsk\n* `Asia/Taipei` - Asia/Taipei\n* `Asia/Tashkent` - Asia/Tashkent\n* `Asia/Tbilisi` - Asia/Tbilisi\n* `Asia/Tehran` - Asia/Tehran\n* `Asia/Tel_Aviv` - Asia/Tel_Aviv\n* `Asia/Thimbu` - Asia/Thimbu\n* `Asia/Thimphu` - Asia/Thimphu\n* `Asia/Tokyo` - Asia/Tokyo\n* `Asia/Tomsk` - Asia/Tomsk\n* `Asia/Ujung_Pandang` - Asia/Ujung_Pandang\n* `Asia/Ulaanbaatar` - Asia/Ulaanbaatar\n* `Asia/Ulan_Bator` - Asia/Ulan_Bator\n* `Asia/Urumqi` - Asia/Urumqi\n* `Asia/Ust-Nera` - Asia/Ust-Nera\n* `Asia/Vientiane` - Asia/Vientiane\n* `Asia/Vladivostok` - Asia/Vladivostok\n* `Asia/Yakutsk` - Asia/Yakutsk\n* `Asia/Yangon` - Asia/Yangon\n* `Asia/Yekaterinburg` - Asia/Yekaterinburg\n* `Asia/Yerevan` - Asia/Yerevan\n* `Atlantic/Azores` - Atlantic/Azores\n* `Atlantic/Bermuda` - Atlantic/Bermuda\n* `Atlantic/Canary` - Atlantic/Canary\n* `Atlantic/Cape_Verde` - Atlantic/Cape_Verde\n* `Atlantic/Faeroe` - Atlantic/Faeroe\n* `Atlantic/Faroe` - Atlantic/Faroe\n* `Atlantic/Jan_Mayen` - Atlantic/Jan_Mayen\n* `Atlantic/Madeira` - Atlantic/Madeira\n* `Atlantic/Reykjavik` - Atlantic/Reykjavik\n* `Atlantic/South_Georgia` - Atlantic/South_Georgia\n* `Atlantic/St_Helena` - Atlantic/St_Helena\n* `Atlantic/Stanley` - Atlantic/Stanley\n* `Australia/ACT` - Australia/ACT\n* `Australia/Adelaide` - Australia/Adelaide\n* `Australia/Brisbane` - Australia/Brisbane\n* `Australia/Broken_Hill` - Australia/Broken_Hill\n* `Australia/Canberra` - Australia/Canberra\n* `Australia/Currie` - Australia/Currie\n* `Australia/Darwin` - Australia/Darwin\n* `Australia/Eucla` - Australia/Eucla\n* `Australia/Hobart` - Australia/Hobart\n* `Australia/LHI` - Australia/LHI\n* `Australia/Lindeman` - Australia/Lindeman\n* `Australia/Lord_Howe` - Australia/Lord_Howe\n* `Australia/Melbourne` - Australia/Melbourne\n* `Australia/NSW` - Australia/NSW\n* `Australia/North` - Australia/North\n* `Australia/Perth` - Australia/Perth\n* `Australia/Queensland` - Australia/Queensland\n* `Australia/South` - Australia/South\n* `Australia/Sydney` - Australia/Sydney\n* `Australia/Tasmania` - Australia/Tasmania\n* `Australia/Victoria` - Australia/Victoria\n* `Australia/West` - Australia/West\n* `Australia/Yancowinna` - Australia/Yancowinna\n* `Brazil/Acre` - Brazil/Acre\n* `Brazil/DeNoronha` - Brazil/DeNoronha\n* `Brazil/East` - Brazil/East\n* `Brazil/West` - Brazil/West\n* `CET` - CET\n* `CST6CDT` - CST6CDT\n* `Canada/Atlantic` - Canada/Atlantic\n* `Canada/Central` - Canada/Central\n* `Canada/Eastern` - Canada/Eastern\n* `Canada/Mountain` - Canada/Mountain\n* `Canada/Newfoundland` - Canada/Newfoundland\n* `Canada/Pacific` - Canada/Pacific\n* `Canada/Saskatchewan` - Canada/Saskatchewan\n* `Canada/Yukon` - Canada/Yukon\n* `Chile/Continental` - Chile/Continental\n* `Chile/EasterIsland` - Chile/EasterIsland\n* `Cuba` - Cuba\n* `EET` - EET\n* `EST` - EST\n* `EST5EDT` - EST5EDT\n* `Egypt` - Egypt\n* `Eire` - Eire\n* `Etc/GMT` - Etc/GMT\n* `Etc/GMT+0` - Etc/GMT+0\n* `Etc/GMT+1` - Etc/GMT+1\n* `Etc/GMT+10` - Etc/GMT+10\n* `Etc/GMT+11` - Etc/GMT+11\n* `Etc/GMT+12` - Etc/GMT+12\n* `Etc/GMT+2` - Etc/GMT+2\n* `Etc/GMT+3` - Etc/GMT+3\n* `Etc/GMT+4` - Etc/GMT+4\n* `Etc/GMT+5` - Etc/GMT+5\n* `Etc/GMT+6` - Etc/GMT+6\n* `Etc/GMT+7` - Etc/GMT+7\n* `Etc/GMT+8` - Etc/GMT+8\n* `Etc/GMT+9` - Etc/GMT+9\n* `Etc/GMT-0` - Etc/GMT-0\n* `Etc/GMT-1` - Etc/GMT-1\n* `Etc/GMT-10` - Etc/GMT-10\n* `Etc/GMT-11` - Etc/GMT-11\n* `Etc/GMT-12` - Etc/GMT-12\n* `Etc/GMT-13` - Etc/GMT-13\n* `Etc/GMT-14` - Etc/GMT-14\n* `Etc/GMT-2` - Etc/GMT-2\n* `Etc/GMT-3` - Etc/GMT-3\n* `Etc/GMT-4` - Etc/GMT-4\n* `Etc/GMT-5` - Etc/GMT-5\n* `Etc/GMT-6` - Etc/GMT-6\n* `Etc/GMT-7` - Etc/GMT-7\n* `Etc/GMT-8` - Etc/GMT-8\n* `Etc/GMT-9` - Etc/GMT-9\n* `Etc/GMT0` - Etc/GMT0\n* `Etc/Greenwich` - Etc/Greenwich\n* `Etc/UCT` - Etc/UCT\n* `Etc/UTC` - Etc/UTC\n* `Etc/Universal` - Etc/Universal\n* `Etc/Zulu` - Etc/Zulu\n* `Europe/Amsterdam` - Europe/Amsterdam\n* `Europe/Andorra` - Europe/Andorra\n* `Europe/Astrakhan` - Europe/Astrakhan\n* `Europe/Athens` - Europe/Athens\n* `Europe/Belfast` - Europe/Belfast\n* `Europe/Belgrade` - Europe/Belgrade\n* `Europe/Berlin` - Europe/Berlin\n* `Europe/Bratislava` - Europe/Bratislava\n* `Europe/Brussels` - Europe/Brussels\n* `Europe/Bucharest` - Europe/Bucharest\n* `Europe/Budapest` - Europe/Budapest\n* `Europe/Busingen` - Europe/Busingen\n* `Europe/Chisinau` - Europe/Chisinau\n* `Europe/Copenhagen` - Europe/Copenhagen\n* `Europe/Dublin` - Europe/Dublin\n* `Europe/Gibraltar` - Europe/Gibraltar\n* `Europe/Guernsey` - Europe/Guernsey\n* `Europe/Helsinki` - Europe/Helsinki\n* `Europe/Isle_of_Man` - Europe/Isle_of_Man\n* `Europe/Istanbul` - Europe/Istanbul\n* `Europe/Jersey` - Europe/Jersey\n* `Europe/Kaliningrad` - Europe/Kaliningrad\n* `Europe/Kiev` - Europe/Kiev\n* `Europe/Kirov` - Europe/Kirov\n* `Europe/Kyiv` - Europe/Kyiv\n* `Europe/Lisbon` - Europe/Lisbon\n* `Europe/Ljubljana` - Europe/Ljubljana\n* `Europe/London` - Europe/London\n* `Europe/Luxembourg` - Europe/Luxembourg\n* `Europe/Madrid` - Europe/Madrid\n* `Europe/Malta` - Europe/Malta\n* `Europe/Mariehamn` - Europe/Mariehamn\n* `Europe/Minsk` - Europe/Minsk\n* `Europe/Monaco` - Europe/Monaco\n* `Europe/Moscow` - Europe/Moscow\n* `Europe/Nicosia` - Europe/Nicosia\n* `Europe/Oslo` - Europe/Oslo\n* `Europe/Paris` - Europe/Paris\n* `Europe/Podgorica` - Europe/Podgorica\n* `Europe/Prague` - Europe/Prague\n* `Europe/Riga` - Europe/Riga\n* `Europe/Rome` - Europe/Rome\n* `Europe/Samara` - Europe/Samara\n* `Europe/San_Marino` - Europe/San_Marino\n* `Europe/Sarajevo` - Europe/Sarajevo\n* `Europe/Saratov` - Europe/Saratov\n* `Europe/Simferopol` - Europe/Simferopol\n* `Europe/Skopje` - Europe/Skopje\n* `Europe/Sofia` - Europe/Sofia\n* `Europe/Stockholm` - Europe/Stockholm\n* `Europe/Tallinn` - Europe/Tallinn\n* `Europe/Tirane` - Europe/Tirane\n* `Europe/Tiraspol` - Europe/Tiraspol\n* `Europe/Ulyanovsk` - Europe/Ulyanovsk\n* `Europe/Uzhgorod` - Europe/Uzhgorod\n* `Europe/Vaduz` - Europe/Vaduz\n* `Europe/Vatican` - Europe/Vatican\n* `Europe/Vienna` - Europe/Vienna\n* `Europe/Vilnius` - Europe/Vilnius\n* `Europe/Volgograd` - Europe/Volgograd\n* `Europe/Warsaw` - Europe/Warsaw\n* `Europe/Zagreb` - Europe/Zagreb\n* `Europe/Zaporozhye` - Europe/Zaporozhye\n* `Europe/Zurich` - Europe/Zurich\n* `GB` - GB\n* `GB-Eire` - GB-Eire\n* `GMT` - GMT\n* `GMT+0` - GMT+0\n* `GMT-0` - GMT-0\n* `GMT0` - GMT0\n* `Greenwich` - Greenwich\n* `HST` - HST\n* `Hongkong` - Hongkong\n* `Iceland` - Iceland\n* `Indian/Antananarivo` - Indian/Antananarivo\n* `Indian/Chagos` - Indian/Chagos\n* `Indian/Christmas` - Indian/Christmas\n* `Indian/Cocos` - Indian/Cocos\n* `Indian/Comoro` - Indian/Comoro\n* `Indian/Kerguelen` - Indian/Kerguelen\n* `Indian/Mahe` - Indian/Mahe\n* `Indian/Maldives` - Indian/Maldives\n* `Indian/Mauritius` - Indian/Mauritius\n* `Indian/Mayotte` - Indian/Mayotte\n* `Indian/Reunion` - Indian/Reunion\n* `Iran` - Iran\n* `Israel` - Israel\n* `Jamaica` - Jamaica\n* `Japan` - Japan\n* `Kwajalein` - Kwajalein\n* `Libya` - Libya\n* `MET` - MET\n* `MST` - MST\n* `MST7MDT` - MST7MDT\n* `Mexico/BajaNorte` - Mexico/BajaNorte\n* `Mexico/BajaSur` - Mexico/BajaSur\n* `Mexico/General` - Mexico/General\n* `NZ` - NZ\n* `NZ-CHAT` - NZ-CHAT\n* `Navajo` - Navajo\n* `PRC` - PRC\n* `PST8PDT` - PST8PDT\n* `Pacific/Apia` - Pacific/Apia\n* `Pacific/Auckland` - Pacific/Auckland\n* `Pacific/Bougainville` - Pacific/Bougainville\n* `Pacific/Chatham` - Pacific/Chatham\n* `Pacific/Chuuk` - Pacific/Chuuk\n* `Pacific/Easter` - Pacific/Easter\n* `Pacific/Efate` - Pacific/Efate\n* `Pacific/Enderbury` - Pacific/Enderbury\n* `Pacific/Fakaofo` - Pacific/Fakaofo\n* `Pacific/Fiji` - Pacific/Fiji\n* `Pacific/Funafuti` - Pacific/Funafuti\n* `Pacific/Galapagos` - Pacific/Galapagos\n* `Pacific/Gambier` - Pacific/Gambier\n* `Pacific/Guadalcanal` - Pacific/Guadalcanal\n* `Pacific/Guam` - Pacific/Guam\n* `Pacific/Honolulu` - Pacific/Honolulu\n* `Pacific/Johnston` - Pacific/Johnston\n* `Pacific/Kanton` - Pacific/Kanton\n* `Pacific/Kiritimati` - Pacific/Kiritimati\n* `Pacific/Kosrae` - Pacific/Kosrae\n* `Pacific/Kwajalein` - Pacific/Kwajalein\n* `Pacific/Majuro` - Pacific/Majuro\n* `Pacific/Marquesas` - Pacific/Marquesas\n* `Pacific/Midway` - Pacific/Midway\n* `Pacific/Nauru` - Pacific/Nauru\n* `Pacific/Niue` - Pacific/Niue\n* `Pacific/Norfolk` - Pacific/Norfolk\n* `Pacific/Noumea` - Pacific/Noumea\n* `Pacific/Pago_Pago` - Pacific/Pago_Pago\n* `Pacific/Palau` - Pacific/Palau\n* `Pacific/Pitcairn` - Pacific/Pitcairn\n* `Pacific/Pohnpei` - Pacific/Pohnpei\n* `Pacific/Ponape` - Pacific/Ponape\n* `Pacific/Port_Moresby` - Pacific/Port_Moresby\n* `Pacific/Rarotonga` - Pacific/Rarotonga\n* `Pacific/Saipan` - Pacific/Saipan\n* `Pacific/Samoa` - Pacific/Samoa\n* `Pacific/Tahiti` - Pacific/Tahiti\n* `Pacific/Tarawa` - Pacific/Tarawa\n* `Pacific/Tongatapu` - Pacific/Tongatapu\n* `Pacific/Truk` - Pacific/Truk\n* `Pacific/Wake` - Pacific/Wake\n* `Pacific/Wallis` - Pacific/Wallis\n* `Pacific/Yap` - Pacific/Yap\n* `Poland` - Poland\n* `Portugal` - Portugal\n* `ROC` - ROC\n* `ROK` - ROK\n* `Singapore` - Singapore\n* `Turkey` - Turkey\n* `UCT` - UCT\n* `US/Alaska` - US/Alaska\n* `US/Aleutian` - US/Aleutian\n* `US/Arizona` - US/Arizona\n* `US/Central` - US/Central\n* `US/East-Indiana` - US/East-Indiana\n* `US/Eastern` - US/Eastern\n* `US/Hawaii` - US/Hawaii\n* `US/Indiana-Starke` - US/Indiana-Starke\n* `US/Michigan` - US/Michigan\n* `US/Mountain` - US/Mountain\n* `US/Pacific` - US/Pacific\n* `US/Samoa` - US/Samoa\n* `UTC` - UTC\n* `Universal` - Universal\n* `W-SU` - W-SU\n* `WET` - WET\n* `Zulu` - Zulu'+ ),offset_day: zod.number().min(batchExportsUnpauseCreateBodyOffsetDayMin).max(batchExportsUnpauseCreateBodyOffsetDayMax)- .nullish(),+ .nullish()+ .describe(+ "Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday). Only valid when interval is 'week'."+ ),offset_hour: zod.number().min(batchExportsUnpauseCreateBodyOffsetHourMin).max(batchExportsUnpauseCreateBodyOffsetHourMax)- .nullish(),+ .nullish()+ .describe(+ "Hour-of-day offset (0-23) for daily and weekly intervals. Only valid when interval is 'day' or 'week'."+ ),}).describe('Serializer for a BatchExport model.')+export const batchExportsRunTestStepNewCreateBodyDestinationOneConfigOneOneUseVariantTypeDefault = true+export const batchExportsRunTestStepNewCreateBodyDestinationOneConfigOneOneUseAutomaticSchemaEvolutionDefault = true+export const batchExportsRunTestStepNewCreateBodyDestinationOneConfigOneTwoPrefixDefault = ``+export const batchExportsRunTestStepNewCreateBodyDestinationOneConfigOneTwoFileFormatDefault = `JSONLines`export const batchExportsRunTestStepNewCreateBodyOffsetDayMin = 0export const batchExportsRunTestStepNewCreateBodyOffsetDayMax = 6@@ -810,19 +1252,95 @@ export const BatchExportsRunTestStepNewCreateBody = /* @__PURE__ */ zod'A choice of supported BatchExportDestination types.\n\n* `S3` - S3\n* `Snowflake` - Snowflake\n* `Postgres` - Postgres\n* `Redshift` - Redshift\n* `BigQuery` - Bigquery\n* `Databricks` - Databricks\n* `AzureBlob` - Azure Blob\n* `Workflows` - Workflows\n* `HTTP` - Http\n* `NoOp` - Noop\n* `FileDownload` - File Download'),config: zod- .unknown()- .optional()+ .union([+ zod+ .object({+ http_path: zod.string().describe('Databricks SQL warehouse HTTP path.'),+ catalog: zod.string().describe('Unity Catalog name.'),+ schema: zod.string().describe('Schema (database) name inside the catalog.'),+ table_name: zod.string().describe('Destination table name.'),+ use_variant_type: zod+ .boolean()+ .default(+ batchExportsRunTestStepNewCreateBodyDestinationOneConfigOneOneUseVariantTypeDefault+ )+ .describe('Whether to use the Databricks VARIANT type for JSON-like columns.'),+ use_automatic_schema_evolution: zod+ .boolean()+ .default(+ batchExportsRunTestStepNewCreateBodyDestinationOneConfigOneOneUseAutomaticSchemaEvolutionDefault+ )+ .describe(+ 'Whether to let Databricks evolve the destination table schema automatically.'+ ),+ })+ .describe(+ 'Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ zod+ .object({+ container_name: zod.string().describe('Azure Blob Storage container name.'),+ prefix: zod+ .string()+ .default(+ batchExportsRunTestStepNewCreateBodyDestinationOneConfigOneTwoPrefixDefault+ )+ .describe('Object key prefix applied to every exported file.'),+ compression: zod+ .union([+ zod+ .enum(['brotli', 'gzip', 'lz4', 'snappy', 'zstd'])+ .describe(+ '* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ zod.literal(null),+ ])+ .nullish()+ .describe(+ 'Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ file_format: zod+ .enum(['JSONLines', 'Parquet'])+ .describe('* `JSONLines` - JSONLines\n* `Parquet` - Parquet')+ .default(+ batchExportsRunTestStepNewCreateBodyDestinationOneConfigOneTwoFileFormatDefault+ )+ .describe(+ 'File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet'+ ),+ max_file_size_mb: zod+ .number()+ .nullish()+ .describe(+ 'If set, rolls to a new file once the current file exceeds this size in MB.'+ ),+ })+ .describe(+ 'Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ ])+ .describe(+ 'Destination-specific configuration. Fields depend on `type`. Credentials for integration-backed destinations (Databricks, AzureBlob) are NOT stored here — they live in the linked Integration. Secret fields are stripped from responses.'+ ),+ integration: zod.number().nullish().describe('The integration for this destination.'),+ integration_id: zod+ .number()+ .nullish().describe(- 'A JSON field to store all configuration parameters required to access a BatchExportDestination.'+ 'ID of a team-scoped Integration providing credentials. Required for Databricks and AzureBlob destinations; optional for BigQuery; unused for other types.'),- integration: zod.number().nullish(),- integration_id: zod.number().nullish(),})- .describe('Serializer for an BatchExportDestination model.'),+ .describe(+ 'Serializer for an BatchExportDestination model.\n\nThe `config` field is polymorphic and typed only for destinations that keep\ncredentials in the linked Integration (currently Databricks and AzureBlob).\nOther destination types accept the same JSON shape but without a typed\nOpenAPI schema. Secret fields are stripped from `config` on read.'+ )+ .describe('Destination configuration (type, config, and optional integration).'),interval: zod.enum(['hour', 'day', 'week', 'every 5 minutes', 'every 15 minutes']).describe('* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ )+ .describe(+ 'How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'),paused: zod.boolean().optional().describe('Whether this BatchExport is paused or not.'),last_paused_at: zod.iso@@ -834,18 +1352,32 @@ export const BatchExportsRunTestStepNewCreateBody = /* @__PURE__ */ zod.nullish().describe("Time before which any Batch Export runs won't be triggered."),end_at: zod.iso.datetime({}).nullish().describe("Time after which any Batch Export runs won't be triggered."),- hogql_query: zod.string().optional(),+ hogql_query: zod+ .string()+ .optional()+ .describe('Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases.'),filters: zod.unknown().nullish(),- timezone: zod.union([zod.string(), zod.literal(null)]).nullish(),+ timezone: zod+ .union([zod.string(), zod.literal(null)])+ .nullish()+ .describe(+ 'IANA timezone name controlling daily and weekly interval boundaries. Defaults to UTC.\n\n* `Africa/Abidjan` - Africa/Abidjan\n* `Africa/Accra` - Africa/Accra\n* `Africa/Addis_Ababa` - Africa/Addis_Ababa\n* `Africa/Algiers` - Africa/Algiers\n* `Africa/Asmara` - Africa/Asmara\n* `Africa/Asmera` - Africa/Asmera\n* `Africa/Bamako` - Africa/Bamako\n* `Africa/Bangui` - Africa/Bangui\n* `Africa/Banjul` - Africa/Banjul\n* `Africa/Bissau` - Africa/Bissau\n* `Africa/Blantyre` - Africa/Blantyre\n* `Africa/Brazzaville` - Africa/Brazzaville\n* `Africa/Bujumbura` - Africa/Bujumbura\n* `Africa/Cairo` - Africa/Cairo\n* `Africa/Casablanca` - Africa/Casablanca\n* `Africa/Ceuta` - Africa/Ceuta\n* `Africa/Conakry` - Africa/Conakry\n* `Africa/Dakar` - Africa/Dakar\n* `Africa/Dar_es_Salaam` - Africa/Dar_es_Salaam\n* `Africa/Djibouti` - Africa/Djibouti\n* `Africa/Douala` - Africa/Douala\n* `Africa/El_Aaiun` - Africa/El_Aaiun\n* `Africa/Freetown` - Africa/Freetown\n* `Africa/Gaborone` - Africa/Gaborone\n* `Africa/Harare` - Africa/Harare\n* `Africa/Johannesburg` - Africa/Johannesburg\n* `Africa/Juba` - Africa/Juba\n* `Africa/Kampala` - Africa/Kampala\n* `Africa/Khartoum` - Africa/Khartoum\n* `Africa/Kigali` - Africa/Kigali\n* `Africa/Kinshasa` - Africa/Kinshasa\n* `Africa/Lagos` - Africa/Lagos\n* `Africa/Libreville` - Africa/Libreville\n* `Africa/Lome` - Africa/Lome\n* `Africa/Luanda` - Africa/Luanda\n* `Africa/Lubumbashi` - Africa/Lubumbashi\n* `Africa/Lusaka` - Africa/Lusaka\n* `Africa/Malabo` - Africa/Malabo\n* `Africa/Maputo` - Africa/Maputo\n* `Africa/Maseru` - Africa/Maseru\n* `Africa/Mbabane` - Africa/Mbabane\n* `Africa/Mogadishu` - Africa/Mogadishu\n* `Africa/Monrovia` - Africa/Monrovia\n* `Africa/Nairobi` - Africa/Nairobi\n* `Africa/Ndjamena` - Africa/Ndjamena\n* `Africa/Niamey` - Africa/Niamey\n* `Africa/Nouakchott` - Africa/Nouakchott\n* `Africa/Ouagadougou` - Africa/Ouagadougou\n* `Africa/Porto-Novo` - Africa/Porto-Novo\n* `Africa/Sao_Tome` - Africa/Sao_Tome\n* `Africa/Timbuktu` - Africa/Timbuktu\n* `Africa/Tripoli` - Africa/Tripoli\n* `Africa/Tunis` - Africa/Tunis\n* `Africa/Windhoek` - Africa/Windhoek\n* `America/Adak` - America/Adak\n* `America/Anchorage` - America/Anchorage\n* `America/Anguilla` - America/Anguilla\n* `America/Antigua` - America/Antigua\n* `America/Araguaina` - America/Araguaina\n* `America/Argentina/Buenos_Aires` - America/Argentina/Buenos_Aires\n* `America/Argentina/Catamarca` - America/Argentina/Catamarca\n* `America/Argentina/ComodRivadavia` - America/Argentina/ComodRivadavia\n* `America/Argentina/Cordoba` - America/Argentina/Cordoba\n* `America/Argentina/Jujuy` - America/Argentina/Jujuy\n* `America/Argentina/La_Rioja` - America/Argentina/La_Rioja\n* `America/Argentina/Mendoza` - America/Argentina/Mendoza\n* `America/Argentina/Rio_Gallegos` - America/Argentina/Rio_Gallegos\n* `America/Argentina/Salta` - America/Argentina/Salta\n* `America/Argentina/San_Juan` - America/Argentina/San_Juan\n* `America/Argentina/San_Luis` - America/Argentina/San_Luis\n* `America/Argentina/Tucuman` - America/Argentina/Tucuman\n* `America/Argentina/Ushuaia` - America/Argentina/Ushuaia\n* `America/Aruba` - America/Aruba\n* `America/Asuncion` - America/Asuncion\n* `America/Atikokan` - America/Atikokan\n* `America/Atka` - America/Atka\n* `America/Bahia` - America/Bahia\n* `America/Bahia_Banderas` - America/Bahia_Banderas\n* `America/Barbados` - America/Barbados\n* `America/Belem` - America/Belem\n* `America/Belize` - America/Belize\n* `America/Blanc-Sablon` - America/Blanc-Sablon\n* `America/Boa_Vista` - America/Boa_Vista\n* `America/Bogota` - America/Bogota\n* `America/Boise` - America/Boise\n* `America/Buenos_Aires` - America/Buenos_Aires\n* `America/Cambridge_Bay` - America/Cambridge_Bay\n* `America/Campo_Grande` - America/Campo_Grande\n* `America/Cancun` - America/Cancun\n* `America/Caracas` - America/Caracas\n* `America/Catamarca` - America/Catamarca\n* `America/Cayenne` - America/Cayenne\n* `America/Cayman` - America/Cayman\n* `America/Chicago` - America/Chicago\n* `America/Chihuahua` - America/Chihuahua\n* `America/Ciudad_Juarez` - America/Ciudad_Juarez\n* `America/Coral_Harbour` - America/Coral_Harbour\n* `America/Cordoba` - America/Cordoba\n* `America/Costa_Rica` - America/Costa_Rica\n* `America/Creston` - America/Creston\n* `America/Cuiaba` - America/Cuiaba\n* `America/Curacao` - America/Curacao\n* `America/Danmarkshavn` - America/Danmarkshavn\n* `America/Dawson` - America/Dawson\n* `America/Dawson_Creek` - America/Dawson_Creek\n* `America/Denver` - America/Denver\n* `America/Detroit` - America/Detroit\n* `America/Dominica` - America/Dominica\n* `America/Edmonton` - America/Edmonton\n* `America/Eirunepe` - America/Eirunepe\n* `America/El_Salvador` - America/El_Salvador\n* `America/Ensenada` - America/Ensenada\n* `America/Fort_Nelson` - America/Fort_Nelson\n* `America/Fort_Wayne` - America/Fort_Wayne\n* `America/Fortaleza` - America/Fortaleza\n* `America/Glace_Bay` - America/Glace_Bay\n* `America/Godthab` - America/Godthab\n* `America/Goose_Bay` - America/Goose_Bay\n* `America/Grand_Turk` - America/Grand_Turk\n* `America/Grenada` - America/Grenada\n* `America/Guadeloupe` - America/Guadeloupe\n* `America/Guatemala` - America/Guatemala\n* `America/Guayaquil` - America/Guayaquil\n* `America/Guyana` - America/Guyana\n* `America/Halifax` - America/Halifax\n* `America/Havana` - America/Havana\n* `America/Hermosillo` - America/Hermosillo\n* `America/Indiana/Indianapolis` - America/Indiana/Indianapolis\n* `America/Indiana/Knox` - America/Indiana/Knox\n* `America/Indiana/Marengo` - America/Indiana/Marengo\n* `America/Indiana/Petersburg` - America/Indiana/Petersburg\n* `America/Indiana/Tell_City` - America/Indiana/Tell_City\n* `America/Indiana/Vevay` - America/Indiana/Vevay\n* `America/Indiana/Vincennes` - America/Indiana/Vincennes\n* `America/Indiana/Winamac` - America/Indiana/Winamac\n* `America/Indianapolis` - America/Indianapolis\n* `America/Inuvik` - America/Inuvik\n* `America/Iqaluit` - America/Iqaluit\n* `America/Jamaica` - America/Jamaica\n* `America/Jujuy` - America/Jujuy\n* `America/Juneau` - America/Juneau\n* `America/Kentucky/Louisville` - America/Kentucky/Louisville\n* `America/Kentucky/Monticello` - America/Kentucky/Monticello\n* `America/Knox_IN` - America/Knox_IN\n* `America/Kralendijk` - America/Kralendijk\n* `America/La_Paz` - America/La_Paz\n* `America/Lima` - America/Lima\n* `America/Los_Angeles` - America/Los_Angeles\n* `America/Louisville` - America/Louisville\n* `America/Lower_Princes` - America/Lower_Princes\n* `America/Maceio` - America/Maceio\n* `America/Managua` - America/Managua\n* `America/Manaus` - America/Manaus\n* `America/Marigot` - America/Marigot\n* `America/Martinique` - America/Martinique\n* `America/Matamoros` - America/Matamoros\n* `America/Mazatlan` - America/Mazatlan\n* `America/Mendoza` - America/Mendoza\n* `America/Menominee` - America/Menominee\n* `America/Merida` - America/Merida\n* `America/Metlakatla` - America/Metlakatla\n* `America/Mexico_City` - America/Mexico_City\n* `America/Miquelon` - America/Miquelon\n* `America/Moncton` - America/Moncton\n* `America/Monterrey` - America/Monterrey\n* `America/Montevideo` - America/Montevideo\n* `America/Montreal` - America/Montreal\n* `America/Montserrat` - America/Montserrat\n* `America/Nassau` - America/Nassau\n* `America/New_York` - America/New_York\n* `America/Nipigon` - America/Nipigon\n* `America/Nome` - America/Nome\n* `America/Noronha` - America/Noronha\n* `America/North_Dakota/Beulah` - America/North_Dakota/Beulah\n* `America/North_Dakota/Center` - America/North_Dakota/Center\n* `America/North_Dakota/New_Salem` - America/North_Dakota/New_Salem\n* `America/Nuuk` - America/Nuuk\n* `America/Ojinaga` - America/Ojinaga\n* `America/Panama` - America/Panama\n* `America/Pangnirtung` - America/Pangnirtung\n* `America/Paramaribo` - America/Paramaribo\n* `America/Phoenix` - America/Phoenix\n* `America/Port-au-Prince` - America/Port-au-Prince\n* `America/Port_of_Spain` - America/Port_of_Spain\n* `America/Porto_Acre` - America/Porto_Acre\n* `America/Porto_Velho` - America/Porto_Velho\n* `America/Puerto_Rico` - America/Puerto_Rico\n* `America/Punta_Arenas` - America/Punta_Arenas\n* `America/Rainy_River` - America/Rainy_River\n* `America/Rankin_Inlet` - America/Rankin_Inlet\n* `America/Recife` - America/Recife\n* `America/Regina` - America/Regina\n* `America/Resolute` - America/Resolute\n* `America/Rio_Branco` - America/Rio_Branco\n* `America/Rosario` - America/Rosario\n* `America/Santa_Isabel` - America/Santa_Isabel\n* `America/Santarem` - America/Santarem\n* `America/Santiago` - America/Santiago\n* `America/Santo_Domingo` - America/Santo_Domingo\n* `America/Sao_Paulo` - America/Sao_Paulo\n* `America/Scoresbysund` - America/Scoresbysund\n* `America/Shiprock` - America/Shiprock\n* `America/Sitka` - America/Sitka\n* `America/St_Barthelemy` - America/St_Barthelemy\n* `America/St_Johns` - America/St_Johns\n* `America/St_Kitts` - America/St_Kitts\n* `America/St_Lucia` - America/St_Lucia\n* `America/St_Thomas` - America/St_Thomas\n* `America/St_Vincent` - America/St_Vincent\n* `America/Swift_Current` - America/Swift_Current\n* `America/Tegucigalpa` - America/Tegucigalpa\n* `America/Thule` - America/Thule\n* `America/Thunder_Bay` - America/Thunder_Bay\n* `America/Tijuana` - America/Tijuana\n* `America/Toronto` - America/Toronto\n* `America/Tortola` - America/Tortola\n* `America/Vancouver` - America/Vancouver\n* `America/Virgin` - America/Virgin\n* `America/Whitehorse` - America/Whitehorse\n* `America/Winnipeg` - America/Winnipeg\n* `America/Yakutat` - America/Yakutat\n* `America/Yellowknife` - America/Yellowknife\n* `Antarctica/Casey` - Antarctica/Casey\n* `Antarctica/Davis` - Antarctica/Davis\n* `Antarctica/DumontDUrville` - Antarctica/DumontDUrville\n* `Antarctica/Macquarie` - Antarctica/Macquarie\n* `Antarctica/Mawson` - Antarctica/Mawson\n* `Antarctica/McMurdo` - Antarctica/McMurdo\n* `Antarctica/Palmer` - Antarctica/Palmer\n* `Antarctica/Rothera` - Antarctica/Rothera\n* `Antarctica/South_Pole` - Antarctica/South_Pole\n* `Antarctica/Syowa` - Antarctica/Syowa\n* `Antarctica/Troll` - Antarctica/Troll\n* `Antarctica/Vostok` - Antarctica/Vostok\n* `Arctic/Longyearbyen` - Arctic/Longyearbyen\n* `Asia/Aden` - Asia/Aden\n* `Asia/Almaty` - Asia/Almaty\n* `Asia/Amman` - Asia/Amman\n* `Asia/Anadyr` - Asia/Anadyr\n* `Asia/Aqtau` - Asia/Aqtau\n* `Asia/Aqtobe` - Asia/Aqtobe\n* `Asia/Ashgabat` - Asia/Ashgabat\n* `Asia/Ashkhabad` - Asia/Ashkhabad\n* `Asia/Atyrau` - Asia/Atyrau\n* `Asia/Baghdad` - Asia/Baghdad\n* `Asia/Bahrain` - Asia/Bahrain\n* `Asia/Baku` - Asia/Baku\n* `Asia/Bangkok` - Asia/Bangkok\n* `Asia/Barnaul` - Asia/Barnaul\n* `Asia/Beirut` - Asia/Beirut\n* `Asia/Bishkek` - Asia/Bishkek\n* `Asia/Brunei` - Asia/Brunei\n* `Asia/Calcutta` - Asia/Calcutta\n* `Asia/Chita` - Asia/Chita\n* `Asia/Choibalsan` - Asia/Choibalsan\n* `Asia/Chongqing` - Asia/Chongqing\n* `Asia/Chungking` - Asia/Chungking\n* `Asia/Colombo` - Asia/Colombo\n* `Asia/Dacca` - Asia/Dacca\n* `Asia/Damascus` - Asia/Damascus\n* `Asia/Dhaka` - Asia/Dhaka\n* `Asia/Dili` - Asia/Dili\n* `Asia/Dubai` - Asia/Dubai\n* `Asia/Dushanbe` - Asia/Dushanbe\n* `Asia/Famagusta` - Asia/Famagusta\n* `Asia/Gaza` - Asia/Gaza\n* `Asia/Harbin` - Asia/Harbin\n* `Asia/Hebron` - Asia/Hebron\n* `Asia/Ho_Chi_Minh` - Asia/Ho_Chi_Minh\n* `Asia/Hong_Kong` - Asia/Hong_Kong\n* `Asia/Hovd` - Asia/Hovd\n* `Asia/Irkutsk` - Asia/Irkutsk\n* `Asia/Istanbul` - Asia/Istanbul\n* `Asia/Jakarta` - Asia/Jakarta\n* `Asia/Jayapura` - Asia/Jayapura\n* `Asia/Jerusalem` - Asia/Jerusalem\n* `Asia/Kabul` - Asia/Kabul\n* `Asia/Kamchatka` - Asia/Kamchatka\n* `Asia/Karachi` - Asia/Karachi\n* `Asia/Kashgar` - Asia/Kashgar\n* `Asia/Kathmandu` - Asia/Kathmandu\n* `Asia/Katmandu` - Asia/Katmandu\n* `Asia/Khandyga` - Asia/Khandyga\n* `Asia/Kolkata` - Asia/Kolkata\n* `Asia/Krasnoyarsk` - Asia/Krasnoyarsk\n* `Asia/Kuala_Lumpur` - Asia/Kuala_Lumpur\n* `Asia/Kuching` - Asia/Kuching\n* `Asia/Kuwait` - Asia/Kuwait\n* `Asia/Macao` - Asia/Macao\n* `Asia/Macau` - Asia/Macau\n* `Asia/Magadan` - Asia/Magadan\n* `Asia/Makassar` - Asia/Makassar\n* `Asia/Manila` - Asia/Manila\n* `Asia/Muscat` - Asia/Muscat\n* `Asia/Nicosia` - Asia/Nicosia\n* `Asia/Novokuznetsk` - Asia/Novokuznetsk\n* `Asia/Novosibirsk` - Asia/Novosibirsk\n* `Asia/Omsk` - Asia/Omsk\n* `Asia/Oral` - Asia/Oral\n* `Asia/Phnom_Penh` - Asia/Phnom_Penh\n* `Asia/Pontianak` - Asia/Pontianak\n* `Asia/Pyongyang` - Asia/Pyongyang\n* `Asia/Qatar` - Asia/Qatar\n* `Asia/Qostanay` - Asia/Qostanay\n* `Asia/Qyzylorda` - Asia/Qyzylorda\n* `Asia/Rangoon` - Asia/Rangoon\n* `Asia/Riyadh` - Asia/Riyadh\n* `Asia/Saigon` - Asia/Saigon\n* `Asia/Sakhalin` - Asia/Sakhalin\n* `Asia/Samarkand` - Asia/Samarkand\n* `Asia/Seoul` - Asia/Seoul\n* `Asia/Shanghai` - Asia/Shanghai\n* `Asia/Singapore` - Asia/Singapore\n* `Asia/Srednekolymsk` - Asia/Srednekolymsk\n* `Asia/Taipei` - Asia/Taipei\n* `Asia/Tashkent` - Asia/Tashkent\n* `Asia/Tbilisi` - Asia/Tbilisi\n* `Asia/Tehran` - Asia/Tehran\n* `Asia/Tel_Aviv` - Asia/Tel_Aviv\n* `Asia/Thimbu` - Asia/Thimbu\n* `Asia/Thimphu` - Asia/Thimphu\n* `Asia/Tokyo` - Asia/Tokyo\n* `Asia/Tomsk` - Asia/Tomsk\n* `Asia/Ujung_Pandang` - Asia/Ujung_Pandang\n* `Asia/Ulaanbaatar` - Asia/Ulaanbaatar\n* `Asia/Ulan_Bator` - Asia/Ulan_Bator\n* `Asia/Urumqi` - Asia/Urumqi\n* `Asia/Ust-Nera` - Asia/Ust-Nera\n* `Asia/Vientiane` - Asia/Vientiane\n* `Asia/Vladivostok` - Asia/Vladivostok\n* `Asia/Yakutsk` - Asia/Yakutsk\n* `Asia/Yangon` - Asia/Yangon\n* `Asia/Yekaterinburg` - Asia/Yekaterinburg\n* `Asia/Yerevan` - Asia/Yerevan\n* `Atlantic/Azores` - Atlantic/Azores\n* `Atlantic/Bermuda` - Atlantic/Bermuda\n* `Atlantic/Canary` - Atlantic/Canary\n* `Atlantic/Cape_Verde` - Atlantic/Cape_Verde\n* `Atlantic/Faeroe` - Atlantic/Faeroe\n* `Atlantic/Faroe` - Atlantic/Faroe\n* `Atlantic/Jan_Mayen` - Atlantic/Jan_Mayen\n* `Atlantic/Madeira` - Atlantic/Madeira\n* `Atlantic/Reykjavik` - Atlantic/Reykjavik\n* `Atlantic/South_Georgia` - Atlantic/South_Georgia\n* `Atlantic/St_Helena` - Atlantic/St_Helena\n* `Atlantic/Stanley` - Atlantic/Stanley\n* `Australia/ACT` - Australia/ACT\n* `Australia/Adelaide` - Australia/Adelaide\n* `Australia/Brisbane` - Australia/Brisbane\n* `Australia/Broken_Hill` - Australia/Broken_Hill\n* `Australia/Canberra` - Australia/Canberra\n* `Australia/Currie` - Australia/Currie\n* `Australia/Darwin` - Australia/Darwin\n* `Australia/Eucla` - Australia/Eucla\n* `Australia/Hobart` - Australia/Hobart\n* `Australia/LHI` - Australia/LHI\n* `Australia/Lindeman` - Australia/Lindeman\n* `Australia/Lord_Howe` - Australia/Lord_Howe\n* `Australia/Melbourne` - Australia/Melbourne\n* `Australia/NSW` - Australia/NSW\n* `Australia/North` - Australia/North\n* `Australia/Perth` - Australia/Perth\n* `Australia/Queensland` - Australia/Queensland\n* `Australia/South` - Australia/South\n* `Australia/Sydney` - Australia/Sydney\n* `Australia/Tasmania` - Australia/Tasmania\n* `Australia/Victoria` - Australia/Victoria\n* `Australia/West` - Australia/West\n* `Australia/Yancowinna` - Australia/Yancowinna\n* `Brazil/Acre` - Brazil/Acre\n* `Brazil/DeNoronha` - Brazil/DeNoronha\n* `Brazil/East` - Brazil/East\n* `Brazil/West` - Brazil/West\n* `CET` - CET\n* `CST6CDT` - CST6CDT\n* `Canada/Atlantic` - Canada/Atlantic\n* `Canada/Central` - Canada/Central\n* `Canada/Eastern` - Canada/Eastern\n* `Canada/Mountain` - Canada/Mountain\n* `Canada/Newfoundland` - Canada/Newfoundland\n* `Canada/Pacific` - Canada/Pacific\n* `Canada/Saskatchewan` - Canada/Saskatchewan\n* `Canada/Yukon` - Canada/Yukon\n* `Chile/Continental` - Chile/Continental\n* `Chile/EasterIsland` - Chile/EasterIsland\n* `Cuba` - Cuba\n* `EET` - EET\n* `EST` - EST\n* `EST5EDT` - EST5EDT\n* `Egypt` - Egypt\n* `Eire` - Eire\n* `Etc/GMT` - Etc/GMT\n* `Etc/GMT+0` - Etc/GMT+0\n* `Etc/GMT+1` - Etc/GMT+1\n* `Etc/GMT+10` - Etc/GMT+10\n* `Etc/GMT+11` - Etc/GMT+11\n* `Etc/GMT+12` - Etc/GMT+12\n* `Etc/GMT+2` - Etc/GMT+2\n* `Etc/GMT+3` - Etc/GMT+3\n* `Etc/GMT+4` - Etc/GMT+4\n* `Etc/GMT+5` - Etc/GMT+5\n* `Etc/GMT+6` - Etc/GMT+6\n* `Etc/GMT+7` - Etc/GMT+7\n* `Etc/GMT+8` - Etc/GMT+8\n* `Etc/GMT+9` - Etc/GMT+9\n* `Etc/GMT-0` - Etc/GMT-0\n* `Etc/GMT-1` - Etc/GMT-1\n* `Etc/GMT-10` - Etc/GMT-10\n* `Etc/GMT-11` - Etc/GMT-11\n* `Etc/GMT-12` - Etc/GMT-12\n* `Etc/GMT-13` - Etc/GMT-13\n* `Etc/GMT-14` - Etc/GMT-14\n* `Etc/GMT-2` - Etc/GMT-2\n* `Etc/GMT-3` - Etc/GMT-3\n* `Etc/GMT-4` - Etc/GMT-4\n* `Etc/GMT-5` - Etc/GMT-5\n* `Etc/GMT-6` - Etc/GMT-6\n* `Etc/GMT-7` - Etc/GMT-7\n* `Etc/GMT-8` - Etc/GMT-8\n* `Etc/GMT-9` - Etc/GMT-9\n* `Etc/GMT0` - Etc/GMT0\n* `Etc/Greenwich` - Etc/Greenwich\n* `Etc/UCT` - Etc/UCT\n* `Etc/UTC` - Etc/UTC\n* `Etc/Universal` - Etc/Universal\n* `Etc/Zulu` - Etc/Zulu\n* `Europe/Amsterdam` - Europe/Amsterdam\n* `Europe/Andorra` - Europe/Andorra\n* `Europe/Astrakhan` - Europe/Astrakhan\n* `Europe/Athens` - Europe/Athens\n* `Europe/Belfast` - Europe/Belfast\n* `Europe/Belgrade` - Europe/Belgrade\n* `Europe/Berlin` - Europe/Berlin\n* `Europe/Bratislava` - Europe/Bratislava\n* `Europe/Brussels` - Europe/Brussels\n* `Europe/Bucharest` - Europe/Bucharest\n* `Europe/Budapest` - Europe/Budapest\n* `Europe/Busingen` - Europe/Busingen\n* `Europe/Chisinau` - Europe/Chisinau\n* `Europe/Copenhagen` - Europe/Copenhagen\n* `Europe/Dublin` - Europe/Dublin\n* `Europe/Gibraltar` - Europe/Gibraltar\n* `Europe/Guernsey` - Europe/Guernsey\n* `Europe/Helsinki` - Europe/Helsinki\n* `Europe/Isle_of_Man` - Europe/Isle_of_Man\n* `Europe/Istanbul` - Europe/Istanbul\n* `Europe/Jersey` - Europe/Jersey\n* `Europe/Kaliningrad` - Europe/Kaliningrad\n* `Europe/Kiev` - Europe/Kiev\n* `Europe/Kirov` - Europe/Kirov\n* `Europe/Kyiv` - Europe/Kyiv\n* `Europe/Lisbon` - Europe/Lisbon\n* `Europe/Ljubljana` - Europe/Ljubljana\n* `Europe/London` - Europe/London\n* `Europe/Luxembourg` - Europe/Luxembourg\n* `Europe/Madrid` - Europe/Madrid\n* `Europe/Malta` - Europe/Malta\n* `Europe/Mariehamn` - Europe/Mariehamn\n* `Europe/Minsk` - Europe/Minsk\n* `Europe/Monaco` - Europe/Monaco\n* `Europe/Moscow` - Europe/Moscow\n* `Europe/Nicosia` - Europe/Nicosia\n* `Europe/Oslo` - Europe/Oslo\n* `Europe/Paris` - Europe/Paris\n* `Europe/Podgorica` - Europe/Podgorica\n* `Europe/Prague` - Europe/Prague\n* `Europe/Riga` - Europe/Riga\n* `Europe/Rome` - Europe/Rome\n* `Europe/Samara` - Europe/Samara\n* `Europe/San_Marino` - Europe/San_Marino\n* `Europe/Sarajevo` - Europe/Sarajevo\n* `Europe/Saratov` - Europe/Saratov\n* `Europe/Simferopol` - Europe/Simferopol\n* `Europe/Skopje` - Europe/Skopje\n* `Europe/Sofia` - Europe/Sofia\n* `Europe/Stockholm` - Europe/Stockholm\n* `Europe/Tallinn` - Europe/Tallinn\n* `Europe/Tirane` - Europe/Tirane\n* `Europe/Tiraspol` - Europe/Tiraspol\n* `Europe/Ulyanovsk` - Europe/Ulyanovsk\n* `Europe/Uzhgorod` - Europe/Uzhgorod\n* `Europe/Vaduz` - Europe/Vaduz\n* `Europe/Vatican` - Europe/Vatican\n* `Europe/Vienna` - Europe/Vienna\n* `Europe/Vilnius` - Europe/Vilnius\n* `Europe/Volgograd` - Europe/Volgograd\n* `Europe/Warsaw` - Europe/Warsaw\n* `Europe/Zagreb` - Europe/Zagreb\n* `Europe/Zaporozhye` - Europe/Zaporozhye\n* `Europe/Zurich` - Europe/Zurich\n* `GB` - GB\n* `GB-Eire` - GB-Eire\n* `GMT` - GMT\n* `GMT+0` - GMT+0\n* `GMT-0` - GMT-0\n* `GMT0` - GMT0\n* `Greenwich` - Greenwich\n* `HST` - HST\n* `Hongkong` - Hongkong\n* `Iceland` - Iceland\n* `Indian/Antananarivo` - Indian/Antananarivo\n* `Indian/Chagos` - Indian/Chagos\n* `Indian/Christmas` - Indian/Christmas\n* `Indian/Cocos` - Indian/Cocos\n* `Indian/Comoro` - Indian/Comoro\n* `Indian/Kerguelen` - Indian/Kerguelen\n* `Indian/Mahe` - Indian/Mahe\n* `Indian/Maldives` - Indian/Maldives\n* `Indian/Mauritius` - Indian/Mauritius\n* `Indian/Mayotte` - Indian/Mayotte\n* `Indian/Reunion` - Indian/Reunion\n* `Iran` - Iran\n* `Israel` - Israel\n* `Jamaica` - Jamaica\n* `Japan` - Japan\n* `Kwajalein` - Kwajalein\n* `Libya` - Libya\n* `MET` - MET\n* `MST` - MST\n* `MST7MDT` - MST7MDT\n* `Mexico/BajaNorte` - Mexico/BajaNorte\n* `Mexico/BajaSur` - Mexico/BajaSur\n* `Mexico/General` - Mexico/General\n* `NZ` - NZ\n* `NZ-CHAT` - NZ-CHAT\n* `Navajo` - Navajo\n* `PRC` - PRC\n* `PST8PDT` - PST8PDT\n* `Pacific/Apia` - Pacific/Apia\n* `Pacific/Auckland` - Pacific/Auckland\n* `Pacific/Bougainville` - Pacific/Bougainville\n* `Pacific/Chatham` - Pacific/Chatham\n* `Pacific/Chuuk` - Pacific/Chuuk\n* `Pacific/Easter` - Pacific/Easter\n* `Pacific/Efate` - Pacific/Efate\n* `Pacific/Enderbury` - Pacific/Enderbury\n* `Pacific/Fakaofo` - Pacific/Fakaofo\n* `Pacific/Fiji` - Pacific/Fiji\n* `Pacific/Funafuti` - Pacific/Funafuti\n* `Pacific/Galapagos` - Pacific/Galapagos\n* `Pacific/Gambier` - Pacific/Gambier\n* `Pacific/Guadalcanal` - Pacific/Guadalcanal\n* `Pacific/Guam` - Pacific/Guam\n* `Pacific/Honolulu` - Pacific/Honolulu\n* `Pacific/Johnston` - Pacific/Johnston\n* `Pacific/Kanton` - Pacific/Kanton\n* `Pacific/Kiritimati` - Pacific/Kiritimati\n* `Pacific/Kosrae` - Pacific/Kosrae\n* `Pacific/Kwajalein` - Pacific/Kwajalein\n* `Pacific/Majuro` - Pacific/Majuro\n* `Pacific/Marquesas` - Pacific/Marquesas\n* `Pacific/Midway` - Pacific/Midway\n* `Pacific/Nauru` - Pacific/Nauru\n* `Pacific/Niue` - Pacific/Niue\n* `Pacific/Norfolk` - Pacific/Norfolk\n* `Pacific/Noumea` - Pacific/Noumea\n* `Pacific/Pago_Pago` - Pacific/Pago_Pago\n* `Pacific/Palau` - Pacific/Palau\n* `Pacific/Pitcairn` - Pacific/Pitcairn\n* `Pacific/Pohnpei` - Pacific/Pohnpei\n* `Pacific/Ponape` - Pacific/Ponape\n* `Pacific/Port_Moresby` - Pacific/Port_Moresby\n* `Pacific/Rarotonga` - Pacific/Rarotonga\n* `Pacific/Saipan` - Pacific/Saipan\n* `Pacific/Samoa` - Pacific/Samoa\n* `Pacific/Tahiti` - Pacific/Tahiti\n* `Pacific/Tarawa` - Pacific/Tarawa\n* `Pacific/Tongatapu` - Pacific/Tongatapu\n* `Pacific/Truk` - Pacific/Truk\n* `Pacific/Wake` - Pacific/Wake\n* `Pacific/Wallis` - Pacific/Wallis\n* `Pacific/Yap` - Pacific/Yap\n* `Poland` - Poland\n* `Portugal` - Portugal\n* `ROC` - ROC\n* `ROK` - ROK\n* `Singapore` - Singapore\n* `Turkey` - Turkey\n* `UCT` - UCT\n* `US/Alaska` - US/Alaska\n* `US/Aleutian` - US/Aleutian\n* `US/Arizona` - US/Arizona\n* `US/Central` - US/Central\n* `US/East-Indiana` - US/East-Indiana\n* `US/Eastern` - US/Eastern\n* `US/Hawaii` - US/Hawaii\n* `US/Indiana-Starke` - US/Indiana-Starke\n* `US/Michigan` - US/Michigan\n* `US/Mountain` - US/Mountain\n* `US/Pacific` - US/Pacific\n* `US/Samoa` - US/Samoa\n* `UTC` - UTC\n* `Universal` - Universal\n* `W-SU` - W-SU\n* `WET` - WET\n* `Zulu` - Zulu'+ ),offset_day: zod.number().min(batchExportsRunTestStepNewCreateBodyOffsetDayMin).max(batchExportsRunTestStepNewCreateBodyOffsetDayMax)- .nullish(),+ .nullish()+ .describe(+ "Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday). Only valid when interval is 'week'."+ ),offset_hour: zod.number().min(batchExportsRunTestStepNewCreateBodyOffsetHourMin).max(batchExportsRunTestStepNewCreateBodyOffsetHourMax)- .nullish(),+ .nullish()+ .describe(+ "Hour-of-day offset (0-23) for daily and weekly intervals. Only valid when interval is 'day' or 'week'."+ ),}).describe('Serializer for a BatchExport model.')diff --git a/products/batch_exports/mcp/tools.yaml b/products/batch_exports/mcp/tools.yamlnew file mode 100644index 000000000000..01f0014d077c--- /dev/null+++ b/products/batch_exports/mcp/tools.yaml@@ -0,0 +1,178 @@+# MCP tool definition — tool entries are scaffolded from the OpenAPI schema.+# The tool list and operation IDs are kept in sync automatically:+# pnpm --filter=@posthog/mcp run scaffold-yaml -- --sync-all+#+# To enable a tool, set enabled: true and add required scopes + annotations.+# All other fields (title, description, enrich_url, etc.) are yours to configure.+category: Data pipelines+feature: batch_exports+url_prefix: /data-pipelines/destinations+ui_apps: {}+tools:+ batch-export-create:+ operation: batch_exports_create+ enabled: true+ scopes:+ - batch_export:write+ annotations:+ readOnly: false+ destructive: false+ idempotent: false+ title: Create batch export+ description: >+ Create a new batch export. Typed destination config schemas are available for Databricks and AzureBlob+ destinations — both require a team-scoped Integration (use integrations-list to find one). Other destination+ types are permitted by the API but typically must be created via the PostHog UI because their credentials+ are stored in the destination config. Always specify the model field (events, persons, or sessions) —+ omitting it defaults to events but the field should be set explicitly.+ exclude_params:+ - id+ - team_id+ - created_at+ - last_updated_at+ - last_paused_at+ - latest_runs+ - filters+ - hogql_query+ - start_at+ - end_at+ - integration+ batch-export-delete:+ operation: batch_exports_destroy+ enabled: true+ scopes:+ - batch_export:write+ annotations:+ readOnly: false+ destructive: true+ idempotent: true+ title: Delete batch export+ description: >+ Soft-delete a batch export. Stops all future scheduled runs and hides the export from list and get+ operations. Historic run records remain attached to the deleted export in the database.+ batch-export-get:+ operation: batch_exports_retrieve+ enabled: true+ scopes:+ - batch_export:read+ annotations:+ readOnly: true+ destructive: false+ idempotent: true+ title: Get batch export+ description: >+ Get a batch export by ID. Returns full non-sensitive configuration including destination type and config,+ linked Integration id (for Databricks and AzureBlob), schedule, model, and the 10 most recent runs.+ batch-export-update:+ operation: batch_exports_partial_update+ enabled: true+ scopes:+ - batch_export:write+ annotations:+ readOnly: false+ destructive: false+ idempotent: true+ title: Update batch export+ description: >+ Partially update a batch export. Top-level fields (name, paused, interval, schema, filters) work for any+ destination type. Destination config updates are only typed for Databricks and AzureBlob destinations. Do+ not change the model field on an existing export — the destination table schema is created on the first run,+ so switching models causes errors unless the table name is also changed.+ exclude_params:+ - id+ - team_id+ - created_at+ - last_updated_at+ - last_paused_at+ - latest_runs+ - filters+ - hogql_query+ - integration+ batch-exports-backfills-cancel-create:+ operation: batch_exports_backfills_cancel_create+ enabled: false+ batch-exports-backfills-create:+ operation: batch_exports_backfills_create+ enabled: false+ batch-exports-backfills-list:+ operation: batch_exports_backfills_list+ enabled: false+ batch-exports-backfills-retrieve:+ operation: batch_exports_backfills_retrieve+ enabled: false+ batch-exports-create:+ operation: batch_exports_create+ enabled: false+ batch-exports-destroy:+ operation: batch_exports_destroy+ enabled: false+ batch-exports-list:+ operation: batch_exports_list+ enabled: true+ scopes:+ - batch_export:read+ annotations:+ readOnly: true+ destructive: false+ idempotent: true+ list: true+ title: List batch exports+ description: >+ List batch exports in the project. Batch exports send event, person, or session data on a schedule to+ destinations like S3, Snowflake, BigQuery, Databricks, Azure Blob, Postgres, Redshift, or HTTP. Returns+ destination type, interval, paused state, and non-sensitive config; credentials are never exposed. Use+ batch-export-get with the ID for full details including latest runs, query, and filters.+ response:+ include:+ - id+ - name+ - model+ - destination+ - interval+ - paused+ - created_at+ - last_updated_at+ - start_at+ - end_at+ batch-exports-logs-retrieve:+ operation: batch_exports_logs_retrieve+ enabled: false+ batch-exports-partial-update:+ operation: batch_exports_partial_update+ enabled: false+ batch-exports-pause-create:+ operation: batch_exports_pause_create+ enabled: false+ batch-exports-retrieve:+ operation: batch_exports_retrieve+ enabled: false+ batch-exports-run-test-step-create:+ operation: batch_exports_run_test_step_create+ enabled: false+ batch-exports-run-test-step-new-create:+ operation: batch_exports_run_test_step_new_create+ enabled: false+ batch-exports-runs-cancel-create:+ operation: batch_exports_runs_cancel_create+ enabled: false+ batch-exports-runs-list:+ operation: batch_exports_runs_list+ enabled: false+ batch-exports-runs-logs-retrieve:+ operation: batch_exports_runs_logs_retrieve+ enabled: false+ batch-exports-runs-retrieve:+ operation: batch_exports_runs_retrieve+ enabled: false+ batch-exports-runs-retry-create:+ operation: batch_exports_runs_retry_create+ enabled: false+ batch-exports-test-retrieve:+ operation: batch_exports_test_retrieve+ enabled: false+ batch-exports-unpause-create:+ operation: batch_exports_unpause_create+ enabled: false+ batch-exports-update:+ operation: batch_exports_update+ enabled: falsediff --git a/services/mcp/schema/generated-tool-definitions.json b/services/mcp/schema/generated-tool-definitions.jsonindex 9280c6793c1e..9ac4d95d7b1b 100644--- a/services/mcp/schema/generated-tool-definitions.json+++ b/services/mcp/schema/generated-tool-definitions.json@@ -378,6 +378,81 @@"readOnlyHint": true}},+ "batch-export-create": {+ "description": "Create a new batch export. Typed destination config schemas are available for Databricks and AzureBlob destinations — both require a team-scoped Integration (use integrations-list to find one). Other destination types are permitted by the API but typically must be created via the PostHog UI because their credentials are stored in the destination config. Always specify the model field (events, persons, or sessions) — omitting it defaults to events but the field should be set explicitly.",+ "category": "Data pipelines",+ "feature": "batch_exports",+ "summary": "Create batch export",+ "title": "Create batch export",+ "required_scopes": ["batch_export:write"],+ "new_mcp": true,+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": false,+ "openWorldHint": true,+ "readOnlyHint": false+ }+ },+ "batch-export-delete": {+ "description": "Soft-delete a batch export. Stops all future scheduled runs and hides the export from list and get operations. Historic run records remain attached to the deleted export in the database.",+ "category": "Data pipelines",+ "feature": "batch_exports",+ "summary": "Delete batch export",+ "title": "Delete batch export",+ "required_scopes": ["batch_export:write"],+ "new_mcp": true,+ "annotations": {+ "destructiveHint": true,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": false+ }+ },+ "batch-export-get": {+ "description": "Get a batch export by ID. Returns full non-sensitive configuration including destination type and config, linked Integration id (for Databricks and AzureBlob), schedule, model, and the 10 most recent runs.",+ "category": "Data pipelines",+ "feature": "batch_exports",+ "summary": "Get batch export",+ "title": "Get batch export",+ "required_scopes": ["batch_export:read"],+ "new_mcp": true,+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": true+ }+ },+ "batch-export-update": {+ "description": "Partially update a batch export. Top-level fields (name, paused, interval, schema, filters) work for any destination type. Destination config updates are only typed for Databricks and AzureBlob destinations. Do not change the model field on an existing export — the destination table schema is created on the first run, so switching models causes errors unless the table name is also changed.",+ "category": "Data pipelines",+ "feature": "batch_exports",+ "summary": "Update batch export",+ "title": "Update batch export",+ "required_scopes": ["batch_export:write"],+ "new_mcp": true,+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": false+ }+ },+ "batch-exports-list": {+ "description": "List batch exports in the project. Batch exports send event, person, or session data on a schedule to destinations like S3, Snowflake, BigQuery, Databricks, Azure Blob, Postgres, Redshift, or HTTP. Returns destination type, interval, paused state, and non-sensitive config; credentials are never exposed. Use batch-export-get with the ID for full details including latest runs, query, and filters.",+ "category": "Data pipelines",+ "feature": "batch_exports",+ "summary": "List batch exports",+ "title": "List batch exports",+ "required_scopes": ["batch_export:read"],+ "new_mcp": true,+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": true+ }+ },"cdp-function-templates-list": {"description": "List available function templates. Templates are pre-built function configurations for common integrations (Slack, webhooks, email, etc.) and transformations (GeoIP, etc.). Filter by type (destination, site_destination, site_app, transformation, etc.) via the 'type' query parameter. Results are sorted by popularity (number of active functions using each template).","category": "Function templates",diff --git a/services/mcp/schema/tool-definitions-all.json b/services/mcp/schema/tool-definitions-all.jsonindex 3671111fd129..b54c3ff946e8 100644--- a/services/mcp/schema/tool-definitions-all.json+++ b/services/mcp/schema/tool-definitions-all.json@@ -395,6 +395,81 @@"readOnlyHint": true}},+ "batch-export-create": {+ "description": "Create a new batch export. Typed destination config schemas are available for Databricks and AzureBlob destinations — both require a team-scoped Integration (use integrations-list to find one). Other destination types are permitted by the API but typically must be created via the PostHog UI because their credentials are stored in the destination config. Always specify the model field (events, persons, or sessions) — omitting it defaults to events but the field should be set explicitly.",+ "category": "Data pipelines",+ "feature": "batch_exports",+ "summary": "Create batch export",+ "title": "Create batch export",+ "required_scopes": ["batch_export:write"],+ "new_mcp": true,+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": false,+ "openWorldHint": true,+ "readOnlyHint": false+ }+ },+ "batch-export-delete": {+ "description": "Soft-delete a batch export. Stops all future scheduled runs and hides the export from list and get operations. Historic run records remain attached to the deleted export in the database.",+ "category": "Data pipelines",+ "feature": "batch_exports",+ "summary": "Delete batch export",+ "title": "Delete batch export",+ "required_scopes": ["batch_export:write"],+ "new_mcp": true,+ "annotations": {+ "destructiveHint": true,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": false+ }+ },+ "batch-export-get": {+ "description": "Get a batch export by ID. Returns full non-sensitive configuration including destination type and config, linked Integration id (for Databricks and AzureBlob), schedule, model, and the 10 most recent runs.",+ "category": "Data pipelines",+ "feature": "batch_exports",+ "summary": "Get batch export",+ "title": "Get batch export",+ "required_scopes": ["batch_export:read"],+ "new_mcp": true,+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": true+ }+ },+ "batch-export-update": {+ "description": "Partially update a batch export. Top-level fields (name, paused, interval, schema, filters) work for any destination type. Destination config updates are only typed for Databricks and AzureBlob destinations. Do not change the model field on an existing export — the destination table schema is created on the first run, so switching models causes errors unless the table name is also changed.",+ "category": "Data pipelines",+ "feature": "batch_exports",+ "summary": "Update batch export",+ "title": "Update batch export",+ "required_scopes": ["batch_export:write"],+ "new_mcp": true,+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": false+ }+ },+ "batch-exports-list": {+ "description": "List batch exports in the project. Batch exports send event, person, or session data on a schedule to destinations like S3, Snowflake, BigQuery, Databricks, Azure Blob, Postgres, Redshift, or HTTP. Returns destination type, interval, paused state, and non-sensitive config; credentials are never exposed. Use batch-export-get with the ID for full details including latest runs, query, and filters.",+ "category": "Data pipelines",+ "feature": "batch_exports",+ "summary": "List batch exports",+ "title": "List batch exports",+ "required_scopes": ["batch_export:read"],+ "new_mcp": true,+ "annotations": {+ "destructiveHint": false,+ "idempotentHint": true,+ "openWorldHint": true,+ "readOnlyHint": true+ }+ },"cdp-function-templates-list": {"description": "List available function templates. Templates are pre-built function configurations for common integrations (Slack, webhooks, email, etc.) and transformations (GeoIP, etc.). Filter by type (destination, site_destination, site_app, transformation, etc.) via the 'type' query parameter. Results are sorted by popularity (number of active functions using each template).","category": "Function templates",diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.tsindex 0902861a60a4..4e2e6563dec6 100644--- a/services/mcp/src/api/generated.ts+++ b/services/mcp/src/api/generated.ts@@ -6160,6 +6160,94 @@ export namespace Schemas {UpdateFeatureStage: 'update_feature_stage',} as const;+ /**+ * * `brotli` - brotli+ * `gzip` - gzip+ * `lz4` - lz4+ * `snappy` - snappy+ * `zstd` - zstd+ */+ export type CompressionEnum = typeof CompressionEnum[keyof typeof CompressionEnum];+++ export const CompressionEnum = {+ Brotli: 'brotli',+ Gzip: 'gzip',+ Lz4: 'lz4',+ Snappy: 'snappy',+ Zstd: 'zstd',+ } as const;++ /**+ * * `JSONLines` - JSONLines+ * `Parquet` - Parquet+ */+ export type FileFormatEnum = typeof FileFormatEnum[keyof typeof FileFormatEnum];+++ export const FileFormatEnum = {+ JSONLines: 'JSONLines',+ Parquet: 'Parquet',+ } as const;++ /**+ * Typed configuration for an Azure Blob Storage batch-export destination.++ Credentials live in the linked Integration, not in this config. Mirrors+ `AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.+ */+ export interface AzureBlobDestinationConfig {+ /** Azure Blob Storage container name. */+ container_name: string;+ /** Object key prefix applied to every exported file. */+ prefix?: string;+ /** Optional compression codec applied to exported files. Valid codecs depend on file_format.++ * `brotli` - brotli+ * `gzip` - gzip+ * `lz4` - lz4+ * `snappy` - snappy+ * `zstd` - zstd */+ compression?: CompressionEnum | NullEnum | null;+ /** File format used for exported objects.++ * `JSONLines` - JSONLines+ * `Parquet` - Parquet */+ file_format?: FileFormatEnum;+ /**+ * If set, rolls to a new file once the current file exceeds this size in MB.+ * @nullable+ */+ max_file_size_mb?: number | null;+ }++ export type AzureBlobDestinationRequestType = typeof AzureBlobDestinationRequestType[keyof typeof AzureBlobDestinationRequestType];+++ export const AzureBlobDestinationRequestType = {+ AzureBlob: 'AzureBlob',+ } as const;++ /**+ * Request shape for creating or updating an Azure Blob Storage batch-export destination.+ */+ export interface AzureBlobDestinationRequest {+ type: AzureBlobDestinationRequestType;+ /** ID of an azure-blob-kind Integration. Use the integrations-list MCP tool to find one. */+ integration_id: number;+ config: AzureBlobDestinationConfig;+ }++ /**+ * * `AzureBlob` - AzureBlob+ */+ export type AzureBlobDestinationRequestTypeEnum = typeof AzureBlobDestinationRequestTypeEnum[keyof typeof AzureBlobDestinationRequestTypeEnum];+++ export const AzureBlobDestinationRequestTypeEnum = {+ AzureBlob: 'AzureBlob',+ } as const;+/*** * `AED` - AED* `AFN` - AFN@@ -6593,8 +6681,36 @@ export namespace Schemas {FileDownload: 'FileDownload',} as const;+ /**+ * Typed configuration for a Databricks batch-export destination.++ Credentials live in the linked Integration, not in this config. Mirrors+ `DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.+ */+ export interface DatabricksDestinationConfig {+ /** Databricks SQL warehouse HTTP path. */+ http_path: string;+ /** Unity Catalog name. */+ catalog: string;+ /** Schema (database) name inside the catalog. */+ schema: string;+ /** Destination table name. */+ table_name: string;+ /** Whether to use the Databricks VARIANT type for JSON-like columns. */+ use_variant_type?: boolean;+ /** Whether to let Databricks evolve the destination table schema automatically. */+ use_automatic_schema_evolution?: boolean;+ }++ export type BatchExportDestinationConfig = DatabricksDestinationConfig | AzureBlobDestinationConfig;+/*** Serializer for an BatchExportDestination model.++ The `config` field is polymorphic and typed only for destinations that keep+ credentials in the linked Integration (currently Databricks and AzureBlob).+ Other destination types accept the same JSON shape but without a typed+ OpenAPI schema. Secret fields are stripped from `config` on read.*/export interface BatchExportDestination {/** A choice of supported BatchExportDestination types.@@ -6611,11 +6727,17 @@ export namespace Schemas {* `NoOp` - Noop* `FileDownload` - File Download */type: BatchExportDestinationTypeEnum;- /** A JSON field to store all configuration parameters required to access a BatchExportDestination. */- config?: unknown;- /** @nullable */+ /** Destination-specific configuration. Fields depend on `type`. Credentials for integration-backed destinations (Databricks, AzureBlob) are NOT stored here — they live in the linked Integration. Secret fields are stripped from responses. */+ config: BatchExportDestinationConfig;+ /**+ * The integration for this destination.+ * @nullable+ */integration?: number | null;- /** @nullable */+ /**+ * ID of a team-scoped Integration providing credentials. Required for Databricks and AzureBlob destinations; optional for BigQuery; unused for other types.+ * @nullable+ */integration_id?: number | null;}@@ -6761,7 +6883,15 @@ export namespace Schemas {* `persons` - Persons* `sessions` - Sessions */model?: ModelEnum | BlankEnum | NullEnum | null;+ /** Destination configuration (type, config, and optional integration). */destination: BatchExportDestination;+ /** How often the batch export should run.++ * `hour` - hour+ * `day` - day+ * `week` - week+ * `every 5 minutes` - every 5 minutes+ * `every 15 minutes` - every 15 minutes */interval: IntervalEnum;/** Whether this BatchExport is paused or not. */paused?: boolean;@@ -6784,19 +6914,621 @@ export namespace Schemas {* @nullable*/end_at?: string | null;+ /** The 10 most recent runs of this batch export, ordered newest first. */readonly latest_runs: readonly BatchExportRun[];+ /** Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases. */hogql_query?: string;/** A schema of custom fields to select when exporting data. */readonly schema: unknown | null;filters?: unknown | null;+ /** IANA timezone name controlling daily and weekly interval boundaries. Defaults to UTC.++ * `Africa/Abidjan` - Africa/Abidjan+ * `Africa/Accra` - Africa/Accra+ * `Africa/Addis_Ababa` - Africa/Addis_Ababa+ * `Africa/Algiers` - Africa/Algiers+ * `Africa/Asmara` - Africa/Asmara+ * `Africa/Asmera` - Africa/Asmera+ * `Africa/Bamako` - Africa/Bamako+ * `Africa/Bangui` - Africa/Bangui+ * `Africa/Banjul` - Africa/Banjul+ * `Africa/Bissau` - Africa/Bissau+ * `Africa/Blantyre` - Africa/Blantyre+ * `Africa/Brazzaville` - Africa/Brazzaville+ * `Africa/Bujumbura` - Africa/Bujumbura+ * `Africa/Cairo` - Africa/Cairo+ * `Africa/Casablanca` - Africa/Casablanca+ * `Africa/Ceuta` - Africa/Ceuta+ * `Africa/Conakry` - Africa/Conakry+ * `Africa/Dakar` - Africa/Dakar+ * `Africa/Dar_es_Salaam` - Africa/Dar_es_Salaam+ * `Africa/Djibouti` - Africa/Djibouti+ * `Africa/Douala` - Africa/Douala+ * `Africa/El_Aaiun` - Africa/El_Aaiun+ * `Africa/Freetown` - Africa/Freetown+ * `Africa/Gaborone` - Africa/Gaborone+ * `Africa/Harare` - Africa/Harare+ * `Africa/Johannesburg` - Africa/Johannesburg+ * `Africa/Juba` - Africa/Juba+ * `Africa/Kampala` - Africa/Kampala+ * `Africa/Khartoum` - Africa/Khartoum+ * `Africa/Kigali` - Africa/Kigali+ * `Africa/Kinshasa` - Africa/Kinshasa+ * `Africa/Lagos` - Africa/Lagos+ * `Africa/Libreville` - Africa/Libreville+ * `Africa/Lome` - Africa/Lome+ * `Africa/Luanda` - Africa/Luanda+ * `Africa/Lubumbashi` - Africa/Lubumbashi+ * `Africa/Lusaka` - Africa/Lusaka+ * `Africa/Malabo` - Africa/Malabo+ * `Africa/Maputo` - Africa/Maputo+ * `Africa/Maseru` - Africa/Maseru+ * `Africa/Mbabane` - Africa/Mbabane+ * `Africa/Mogadishu` - Africa/Mogadishu+ * `Africa/Monrovia` - Africa/Monrovia+ * `Africa/Nairobi` - Africa/Nairobi+ * `Africa/Ndjamena` - Africa/Ndjamena+ * `Africa/Niamey` - Africa/Niamey+ * `Africa/Nouakchott` - Africa/Nouakchott+ * `Africa/Ouagadougou` - Africa/Ouagadougou+ * `Africa/Porto-Novo` - Africa/Porto-Novo+ * `Africa/Sao_Tome` - Africa/Sao_Tome+ * `Africa/Timbuktu` - Africa/Timbuktu+ * `Africa/Tripoli` - Africa/Tripoli+ * `Africa/Tunis` - Africa/Tunis+ * `Africa/Windhoek` - Africa/Windhoek+ * `America/Adak` - America/Adak+ * `America/Anchorage` - America/Anchorage+ * `America/Anguilla` - America/Anguilla+ * `America/Antigua` - America/Antigua+ * `America/Araguaina` - America/Araguaina+ * `America/Argentina/Buenos_Aires` - America/Argentina/Buenos_Aires+ * `America/Argentina/Catamarca` - America/Argentina/Catamarca+ * `America/Argentina/ComodRivadavia` - America/Argentina/ComodRivadavia+ * `America/Argentina/Cordoba` - America/Argentina/Cordoba+ * `America/Argentina/Jujuy` - America/Argentina/Jujuy+ * `America/Argentina/La_Rioja` - America/Argentina/La_Rioja+ * `America/Argentina/Mendoza` - America/Argentina/Mendoza+ * `America/Argentina/Rio_Gallegos` - America/Argentina/Rio_Gallegos+ * `America/Argentina/Salta` - America/Argentina/Salta+ * `America/Argentina/San_Juan` - America/Argentina/San_Juan+ * `America/Argentina/San_Luis` - America/Argentina/San_Luis+ * `America/Argentina/Tucuman` - America/Argentina/Tucuman+ * `America/Argentina/Ushuaia` - America/Argentina/Ushuaia+ * `America/Aruba` - America/Aruba+ * `America/Asuncion` - America/Asuncion+ * `America/Atikokan` - America/Atikokan+ * `America/Atka` - America/Atka+ * `America/Bahia` - America/Bahia+ * `America/Bahia_Banderas` - America/Bahia_Banderas+ * `America/Barbados` - America/Barbados+ * `America/Belem` - America/Belem+ * `America/Belize` - America/Belize+ * `America/Blanc-Sablon` - America/Blanc-Sablon+ * `America/Boa_Vista` - America/Boa_Vista+ * `America/Bogota` - America/Bogota+ * `America/Boise` - America/Boise+ * `America/Buenos_Aires` - America/Buenos_Aires+ * `America/Cambridge_Bay` - America/Cambridge_Bay+ * `America/Campo_Grande` - America/Campo_Grande+ * `America/Cancun` - America/Cancun+ * `America/Caracas` - America/Caracas+ * `America/Catamarca` - America/Catamarca+ * `America/Cayenne` - America/Cayenne+ * `America/Cayman` - America/Cayman+ * `America/Chicago` - America/Chicago+ * `America/Chihuahua` - America/Chihuahua+ * `America/Ciudad_Juarez` - America/Ciudad_Juarez+ * `America/Coral_Harbour` - America/Coral_Harbour+ * `America/Cordoba` - America/Cordoba+ * `America/Costa_Rica` - America/Costa_Rica+ * `America/Creston` - America/Creston+ * `America/Cuiaba` - America/Cuiaba+ * `America/Curacao` - America/Curacao+ * `America/Danmarkshavn` - America/Danmarkshavn+ * `America/Dawson` - America/Dawson+ * `America/Dawson_Creek` - America/Dawson_Creek+ * `America/Denver` - America/Denver+ * `America/Detroit` - America/Detroit+ * `America/Dominica` - America/Dominica+ * `America/Edmonton` - America/Edmonton+ * `America/Eirunepe` - America/Eirunepe+ * `America/El_Salvador` - America/El_Salvador+ * `America/Ensenada` - America/Ensenada+ * `America/Fort_Nelson` - America/Fort_Nelson+ * `America/Fort_Wayne` - America/Fort_Wayne+ * `America/Fortaleza` - America/Fortaleza+ * `America/Glace_Bay` - America/Glace_Bay+ * `America/Godthab` - America/Godthab+ * `America/Goose_Bay` - America/Goose_Bay+ * `America/Grand_Turk` - America/Grand_Turk+ * `America/Grenada` - America/Grenada+ * `America/Guadeloupe` - America/Guadeloupe+ * `America/Guatemala` - America/Guatemala+ * `America/Guayaquil` - America/Guayaquil+ * `America/Guyana` - America/Guyana+ * `America/Halifax` - America/Halifax+ * `America/Havana` - America/Havana+ * `America/Hermosillo` - America/Hermosillo+ * `America/Indiana/Indianapolis` - America/Indiana/Indianapolis+ * `America/Indiana/Knox` - America/Indiana/Knox+ * `America/Indiana/Marengo` - America/Indiana/Marengo+ * `America/Indiana/Petersburg` - America/Indiana/Petersburg+ * `America/Indiana/Tell_City` - America/Indiana/Tell_City+ * `America/Indiana/Vevay` - America/Indiana/Vevay+ * `America/Indiana/Vincennes` - America/Indiana/Vincennes+ * `America/Indiana/Winamac` - America/Indiana/Winamac+ * `America/Indianapolis` - America/Indianapolis+ * `America/Inuvik` - America/Inuvik+ * `America/Iqaluit` - America/Iqaluit+ * `America/Jamaica` - America/Jamaica+ * `America/Jujuy` - America/Jujuy+ * `America/Juneau` - America/Juneau+ * `America/Kentucky/Louisville` - America/Kentucky/Louisville+ * `America/Kentucky/Monticello` - America/Kentucky/Monticello+ * `America/Knox_IN` - America/Knox_IN+ * `America/Kralendijk` - America/Kralendijk+ * `America/La_Paz` - America/La_Paz+ * `America/Lima` - America/Lima+ * `America/Los_Angeles` - America/Los_Angeles+ * `America/Louisville` - America/Louisville+ * `America/Lower_Princes` - America/Lower_Princes+ * `America/Maceio` - America/Maceio+ * `America/Managua` - America/Managua+ * `America/Manaus` - America/Manaus+ * `America/Marigot` - America/Marigot+ * `America/Martinique` - America/Martinique+ * `America/Matamoros` - America/Matamoros+ * `America/Mazatlan` - America/Mazatlan+ * `America/Mendoza` - America/Mendoza+ * `America/Menominee` - America/Menominee+ * `America/Merida` - America/Merida+ * `America/Metlakatla` - America/Metlakatla+ * `America/Mexico_City` - America/Mexico_City+ * `America/Miquelon` - America/Miquelon+ * `America/Moncton` - America/Moncton+ * `America/Monterrey` - America/Monterrey+ * `America/Montevideo` - America/Montevideo+ * `America/Montreal` - America/Montreal+ * `America/Montserrat` - America/Montserrat+ * `America/Nassau` - America/Nassau+ * `America/New_York` - America/New_York+ * `America/Nipigon` - America/Nipigon+ * `America/Nome` - America/Nome+ * `America/Noronha` - America/Noronha+ * `America/North_Dakota/Beulah` - America/North_Dakota/Beulah+ * `America/North_Dakota/Center` - America/North_Dakota/Center+ * `America/North_Dakota/New_Salem` - America/North_Dakota/New_Salem+ * `America/Nuuk` - America/Nuuk+ * `America/Ojinaga` - America/Ojinaga+ * `America/Panama` - America/Panama+ * `America/Pangnirtung` - America/Pangnirtung+ * `America/Paramaribo` - America/Paramaribo+ * `America/Phoenix` - America/Phoenix+ * `America/Port-au-Prince` - America/Port-au-Prince+ * `America/Port_of_Spain` - America/Port_of_Spain+ * `America/Porto_Acre` - America/Porto_Acre+ * `America/Porto_Velho` - America/Porto_Velho+ * `America/Puerto_Rico` - America/Puerto_Rico+ * `America/Punta_Arenas` - America/Punta_Arenas+ * `America/Rainy_River` - America/Rainy_River+ * `America/Rankin_Inlet` - America/Rankin_Inlet+ * `America/Recife` - America/Recife+ * `America/Regina` - America/Regina+ * `America/Resolute` - America/Resolute+ * `America/Rio_Branco` - America/Rio_Branco+ * `America/Rosario` - America/Rosario+ * `America/Santa_Isabel` - America/Santa_Isabel+ * `America/Santarem` - America/Santarem+ * `America/Santiago` - America/Santiago+ * `America/Santo_Domingo` - America/Santo_Domingo+ * `America/Sao_Paulo` - America/Sao_Paulo+ * `America/Scoresbysund` - America/Scoresbysund+ * `America/Shiprock` - America/Shiprock+ * `America/Sitka` - America/Sitka+ * `America/St_Barthelemy` - America/St_Barthelemy+ * `America/St_Johns` - America/St_Johns+ * `America/St_Kitts` - America/St_Kitts+ * `America/St_Lucia` - America/St_Lucia+ * `America/St_Thomas` - America/St_Thomas+ * `America/St_Vincent` - America/St_Vincent+ * `America/Swift_Current` - America/Swift_Current+ * `America/Tegucigalpa` - America/Tegucigalpa+ * `America/Thule` - America/Thule+ * `America/Thunder_Bay` - America/Thunder_Bay+ * `America/Tijuana` - America/Tijuana+ * `America/Toronto` - America/Toronto+ * `America/Tortola` - America/Tortola+ * `America/Vancouver` - America/Vancouver+ * `America/Virgin` - America/Virgin+ * `America/Whitehorse` - America/Whitehorse+ * `America/Winnipeg` - America/Winnipeg+ * `America/Yakutat` - America/Yakutat+ * `America/Yellowknife` - America/Yellowknife+ * `Antarctica/Casey` - Antarctica/Casey+ * `Antarctica/Davis` - Antarctica/Davis+ * `Antarctica/DumontDUrville` - Antarctica/DumontDUrville+ * `Antarctica/Macquarie` - Antarctica/Macquarie+ * `Antarctica/Mawson` - Antarctica/Mawson+ * `Antarctica/McMurdo` - Antarctica/McMurdo+ * `Antarctica/Palmer` - Antarctica/Palmer+ * `Antarctica/Rothera` - Antarctica/Rothera+ * `Antarctica/South_Pole` - Antarctica/South_Pole+ * `Antarctica/Syowa` - Antarctica/Syowa+ * `Antarctica/Troll` - Antarctica/Troll+ * `Antarctica/Vostok` - Antarctica/Vostok+ * `Arctic/Longyearbyen` - Arctic/Longyearbyen+ * `Asia/Aden` - Asia/Aden+ * `Asia/Almaty` - Asia/Almaty+ * `Asia/Amman` - Asia/Amman+ * `Asia/Anadyr` - Asia/Anadyr+ * `Asia/Aqtau` - Asia/Aqtau+ * `Asia/Aqtobe` - Asia/Aqtobe+ * `Asia/Ashgabat` - Asia/Ashgabat+ * `Asia/Ashkhabad` - Asia/Ashkhabad+ * `Asia/Atyrau` - Asia/Atyrau+ * `Asia/Baghdad` - Asia/Baghdad+ * `Asia/Bahrain` - Asia/Bahrain+ * `Asia/Baku` - Asia/Baku+ * `Asia/Bangkok` - Asia/Bangkok+ * `Asia/Barnaul` - Asia/Barnaul+ * `Asia/Beirut` - Asia/Beirut+ * `Asia/Bishkek` - Asia/Bishkek+ * `Asia/Brunei` - Asia/Brunei+ * `Asia/Calcutta` - Asia/Calcutta+ * `Asia/Chita` - Asia/Chita+ * `Asia/Choibalsan` - Asia/Choibalsan+ * `Asia/Chongqing` - Asia/Chongqing+ * `Asia/Chungking` - Asia/Chungking+ * `Asia/Colombo` - Asia/Colombo+ * `Asia/Dacca` - Asia/Dacca+ * `Asia/Damascus` - Asia/Damascus+ * `Asia/Dhaka` - Asia/Dhaka+ * `Asia/Dili` - Asia/Dili+ * `Asia/Dubai` - Asia/Dubai+ * `Asia/Dushanbe` - Asia/Dushanbe+ * `Asia/Famagusta` - Asia/Famagusta+ * `Asia/Gaza` - Asia/Gaza+ * `Asia/Harbin` - Asia/Harbin+ * `Asia/Hebron` - Asia/Hebron+ * `Asia/Ho_Chi_Minh` - Asia/Ho_Chi_Minh+ * `Asia/Hong_Kong` - Asia/Hong_Kong+ * `Asia/Hovd` - Asia/Hovd+ * `Asia/Irkutsk` - Asia/Irkutsk+ * `Asia/Istanbul` - Asia/Istanbul+ * `Asia/Jakarta` - Asia/Jakarta+ * `Asia/Jayapura` - Asia/Jayapura+ * `Asia/Jerusalem` - Asia/Jerusalem+ * `Asia/Kabul` - Asia/Kabul+ * `Asia/Kamchatka` - Asia/Kamchatka+ * `Asia/Karachi` - Asia/Karachi+ * `Asia/Kashgar` - Asia/Kashgar+ * `Asia/Kathmandu` - Asia/Kathmandu+ * `Asia/Katmandu` - Asia/Katmandu+ * `Asia/Khandyga` - Asia/Khandyga+ * `Asia/Kolkata` - Asia/Kolkata+ * `Asia/Krasnoyarsk` - Asia/Krasnoyarsk+ * `Asia/Kuala_Lumpur` - Asia/Kuala_Lumpur+ * `Asia/Kuching` - Asia/Kuching+ * `Asia/Kuwait` - Asia/Kuwait+ * `Asia/Macao` - Asia/Macao+ * `Asia/Macau` - Asia/Macau+ * `Asia/Magadan` - Asia/Magadan+ * `Asia/Makassar` - Asia/Makassar+ * `Asia/Manila` - Asia/Manila+ * `Asia/Muscat` - Asia/Muscat+ * `Asia/Nicosia` - Asia/Nicosia+ * `Asia/Novokuznetsk` - Asia/Novokuznetsk+ * `Asia/Novosibirsk` - Asia/Novosibirsk+ * `Asia/Omsk` - Asia/Omsk+ * `Asia/Oral` - Asia/Oral+ * `Asia/Phnom_Penh` - Asia/Phnom_Penh+ * `Asia/Pontianak` - Asia/Pontianak+ * `Asia/Pyongyang` - Asia/Pyongyang+ * `Asia/Qatar` - Asia/Qatar+ * `Asia/Qostanay` - Asia/Qostanay+ * `Asia/Qyzylorda` - Asia/Qyzylorda+ * `Asia/Rangoon` - Asia/Rangoon+ * `Asia/Riyadh` - Asia/Riyadh+ * `Asia/Saigon` - Asia/Saigon+ * `Asia/Sakhalin` - Asia/Sakhalin+ * `Asia/Samarkand` - Asia/Samarkand+ * `Asia/Seoul` - Asia/Seoul+ * `Asia/Shanghai` - Asia/Shanghai+ * `Asia/Singapore` - Asia/Singapore+ * `Asia/Srednekolymsk` - Asia/Srednekolymsk+ * `Asia/Taipei` - Asia/Taipei+ * `Asia/Tashkent` - Asia/Tashkent+ * `Asia/Tbilisi` - Asia/Tbilisi+ * `Asia/Tehran` - Asia/Tehran+ * `Asia/Tel_Aviv` - Asia/Tel_Aviv+ * `Asia/Thimbu` - Asia/Thimbu+ * `Asia/Thimphu` - Asia/Thimphu+ * `Asia/Tokyo` - Asia/Tokyo+ * `Asia/Tomsk` - Asia/Tomsk+ * `Asia/Ujung_Pandang` - Asia/Ujung_Pandang+ * `Asia/Ulaanbaatar` - Asia/Ulaanbaatar+ * `Asia/Ulan_Bator` - Asia/Ulan_Bator+ * `Asia/Urumqi` - Asia/Urumqi+ * `Asia/Ust-Nera` - Asia/Ust-Nera+ * `Asia/Vientiane` - Asia/Vientiane+ * `Asia/Vladivostok` - Asia/Vladivostok+ * `Asia/Yakutsk` - Asia/Yakutsk+ * `Asia/Yangon` - Asia/Yangon+ * `Asia/Yekaterinburg` - Asia/Yekaterinburg+ * `Asia/Yerevan` - Asia/Yerevan+ * `Atlantic/Azores` - Atlantic/Azores+ * `Atlantic/Bermuda` - Atlantic/Bermuda+ * `Atlantic/Canary` - Atlantic/Canary+ * `Atlantic/Cape_Verde` - Atlantic/Cape_Verde+ * `Atlantic/Faeroe` - Atlantic/Faeroe+ * `Atlantic/Faroe` - Atlantic/Faroe+ * `Atlantic/Jan_Mayen` - Atlantic/Jan_Mayen+ * `Atlantic/Madeira` - Atlantic/Madeira+ * `Atlantic/Reykjavik` - Atlantic/Reykjavik+ * `Atlantic/South_Georgia` - Atlantic/South_Georgia+ * `Atlantic/St_Helena` - Atlantic/St_Helena+ * `Atlantic/Stanley` - Atlantic/Stanley+ * `Australia/ACT` - Australia/ACT+ * `Australia/Adelaide` - Australia/Adelaide+ * `Australia/Brisbane` - Australia/Brisbane+ * `Australia/Broken_Hill` - Australia/Broken_Hill+ * `Australia/Canberra` - Australia/Canberra+ * `Australia/Currie` - Australia/Currie+ * `Australia/Darwin` - Australia/Darwin+ * `Australia/Eucla` - Australia/Eucla+ * `Australia/Hobart` - Australia/Hobart+ * `Australia/LHI` - Australia/LHI+ * `Australia/Lindeman` - Australia/Lindeman+ * `Australia/Lord_Howe` - Australia/Lord_Howe+ * `Australia/Melbourne` - Australia/Melbourne+ * `Australia/NSW` - Australia/NSW+ * `Australia/North` - Australia/North+ * `Australia/Perth` - Australia/Perth+ * `Australia/Queensland` - Australia/Queensland+ * `Australia/South` - Australia/South+ * `Australia/Sydney` - Australia/Sydney+ * `Australia/Tasmania` - Australia/Tasmania+ * `Australia/Victoria` - Australia/Victoria+ * `Australia/West` - Australia/West+ * `Australia/Yancowinna` - Australia/Yancowinna+ * `Brazil/Acre` - Brazil/Acre+ * `Brazil/DeNoronha` - Brazil/DeNoronha+ * `Brazil/East` - Brazil/East+ * `Brazil/West` - Brazil/West+ * `CET` - CET+ * `CST6CDT` - CST6CDT+ * `Canada/Atlantic` - Canada/Atlantic+ * `Canada/Central` - Canada/Central+ * `Canada/Eastern` - Canada/Eastern+ * `Canada/Mountain` - Canada/Mountain+ * `Canada/Newfoundland` - Canada/Newfoundland+ * `Canada/Pacific` - Canada/Pacific+ * `Canada/Saskatchewan` - Canada/Saskatchewan+ * `Canada/Yukon` - Canada/Yukon+ * `Chile/Continental` - Chile/Continental+ * `Chile/EasterIsland` - Chile/EasterIsland+ * `Cuba` - Cuba+ * `EET` - EET+ * `EST` - EST+ * `EST5EDT` - EST5EDT+ * `Egypt` - Egypt+ * `Eire` - Eire+ * `Etc/GMT` - Etc/GMT+ * `Etc/GMT+0` - Etc/GMT+0+ * `Etc/GMT+1` - Etc/GMT+1+ * `Etc/GMT+10` - Etc/GMT+10+ * `Etc/GMT+11` - Etc/GMT+11+ * `Etc/GMT+12` - Etc/GMT+12+ * `Etc/GMT+2` - Etc/GMT+2+ * `Etc/GMT+3` - Etc/GMT+3+ * `Etc/GMT+4` - Etc/GMT+4+ * `Etc/GMT+5` - Etc/GMT+5+ * `Etc/GMT+6` - Etc/GMT+6+ * `Etc/GMT+7` - Etc/GMT+7+ * `Etc/GMT+8` - Etc/GMT+8+ * `Etc/GMT+9` - Etc/GMT+9+ * `Etc/GMT-0` - Etc/GMT-0+ * `Etc/GMT-1` - Etc/GMT-1+ * `Etc/GMT-10` - Etc/GMT-10+ * `Etc/GMT-11` - Etc/GMT-11+ * `Etc/GMT-12` - Etc/GMT-12+ * `Etc/GMT-13` - Etc/GMT-13+ * `Etc/GMT-14` - Etc/GMT-14+ * `Etc/GMT-2` - Etc/GMT-2+ * `Etc/GMT-3` - Etc/GMT-3+ * `Etc/GMT-4` - Etc/GMT-4+ * `Etc/GMT-5` - Etc/GMT-5+ * `Etc/GMT-6` - Etc/GMT-6+ * `Etc/GMT-7` - Etc/GMT-7+ * `Etc/GMT-8` - Etc/GMT-8+ * `Etc/GMT-9` - Etc/GMT-9+ * `Etc/GMT0` - Etc/GMT0+ * `Etc/Greenwich` - Etc/Greenwich+ * `Etc/UCT` - Etc/UCT+ * `Etc/UTC` - Etc/UTC+ * `Etc/Universal` - Etc/Universal+ * `Etc/Zulu` - Etc/Zulu+ * `Europe/Amsterdam` - Europe/Amsterdam+ * `Europe/Andorra` - Europe/Andorra+ * `Europe/Astrakhan` - Europe/Astrakhan+ * `Europe/Athens` - Europe/Athens+ * `Europe/Belfast` - Europe/Belfast+ * `Europe/Belgrade` - Europe/Belgrade+ * `Europe/Berlin` - Europe/Berlin+ * `Europe/Bratislava` - Europe/Bratislava+ * `Europe/Brussels` - Europe/Brussels+ * `Europe/Bucharest` - Europe/Bucharest+ * `Europe/Budapest` - Europe/Budapest+ * `Europe/Busingen` - Europe/Busingen+ * `Europe/Chisinau` - Europe/Chisinau+ * `Europe/Copenhagen` - Europe/Copenhagen+ * `Europe/Dublin` - Europe/Dublin+ * `Europe/Gibraltar` - Europe/Gibraltar+ * `Europe/Guernsey` - Europe/Guernsey+ * `Europe/Helsinki` - Europe/Helsinki+ * `Europe/Isle_of_Man` - Europe/Isle_of_Man+ * `Europe/Istanbul` - Europe/Istanbul+ * `Europe/Jersey` - Europe/Jersey+ * `Europe/Kaliningrad` - Europe/Kaliningrad+ * `Europe/Kiev` - Europe/Kiev+ * `Europe/Kirov` - Europe/Kirov+ * `Europe/Kyiv` - Europe/Kyiv+ * `Europe/Lisbon` - Europe/Lisbon+ * `Europe/Ljubljana` - Europe/Ljubljana+ * `Europe/London` - Europe/London+ * `Europe/Luxembourg` - Europe/Luxembourg+ * `Europe/Madrid` - Europe/Madrid+ * `Europe/Malta` - Europe/Malta+ * `Europe/Mariehamn` - Europe/Mariehamn+ * `Europe/Minsk` - Europe/Minsk+ * `Europe/Monaco` - Europe/Monaco+ * `Europe/Moscow` - Europe/Moscow+ * `Europe/Nicosia` - Europe/Nicosia+ * `Europe/Oslo` - Europe/Oslo+ * `Europe/Paris` - Europe/Paris+ * `Europe/Podgorica` - Europe/Podgorica+ * `Europe/Prague` - Europe/Prague+ * `Europe/Riga` - Europe/Riga+ * `Europe/Rome` - Europe/Rome+ * `Europe/Samara` - Europe/Samara+ * `Europe/San_Marino` - Europe/San_Marino+ * `Europe/Sarajevo` - Europe/Sarajevo+ * `Europe/Saratov` - Europe/Saratov+ * `Europe/Simferopol` - Europe/Simferopol+ * `Europe/Skopje` - Europe/Skopje+ * `Europe/Sofia` - Europe/Sofia+ * `Europe/Stockholm` - Europe/Stockholm+ * `Europe/Tallinn` - Europe/Tallinn+ * `Europe/Tirane` - Europe/Tirane+ * `Europe/Tiraspol` - Europe/Tiraspol+ * `Europe/Ulyanovsk` - Europe/Ulyanovsk+ * `Europe/Uzhgorod` - Europe/Uzhgorod+ * `Europe/Vaduz` - Europe/Vaduz+ * `Europe/Vatican` - Europe/Vatican+ * `Europe/Vienna` - Europe/Vienna+ * `Europe/Vilnius` - Europe/Vilnius+ * `Europe/Volgograd` - Europe/Volgograd+ * `Europe/Warsaw` - Europe/Warsaw+ * `Europe/Zagreb` - Europe/Zagreb+ * `Europe/Zaporozhye` - Europe/Zaporozhye+ * `Europe/Zurich` - Europe/Zurich+ * `GB` - GB+ * `GB-Eire` - GB-Eire+ * `GMT` - GMT+ * `GMT+0` - GMT+0+ * `GMT-0` - GMT-0+ * `GMT0` - GMT0+ * `Greenwich` - Greenwich+ * `HST` - HST+ * `Hongkong` - Hongkong+ * `Iceland` - Iceland+ * `Indian/Antananarivo` - Indian/Antananarivo+ * `Indian/Chagos` - Indian/Chagos+ * `Indian/Christmas` - Indian/Christmas+ * `Indian/Cocos` - Indian/Cocos+ * `Indian/Comoro` - Indian/Comoro+ * `Indian/Kerguelen` - Indian/Kerguelen+ * `Indian/Mahe` - Indian/Mahe+ * `Indian/Maldives` - Indian/Maldives+ * `Indian/Mauritius` - Indian/Mauritius+ * `Indian/Mayotte` - Indian/Mayotte+ * `Indian/Reunion` - Indian/Reunion+ * `Iran` - Iran+ * `Israel` - Israel+ * `Jamaica` - Jamaica+ * `Japan` - Japan+ * `Kwajalein` - Kwajalein+ * `Libya` - Libya+ * `MET` - MET+ * `MST` - MST+ * `MST7MDT` - MST7MDT+ * `Mexico/BajaNorte` - Mexico/BajaNorte+ * `Mexico/BajaSur` - Mexico/BajaSur+ * `Mexico/General` - Mexico/General+ * `NZ` - NZ+ * `NZ-CHAT` - NZ-CHAT+ * `Navajo` - Navajo+ * `PRC` - PRC+ * `PST8PDT` - PST8PDT+ * `Pacific/Apia` - Pacific/Apia+ * `Pacific/Auckland` - Pacific/Auckland+ * `Pacific/Bougainville` - Pacific/Bougainville+ * `Pacific/Chatham` - Pacific/Chatham+ * `Pacific/Chuuk` - Pacific/Chuuk+ * `Pacific/Easter` - Pacific/Easter+ * `Pacific/Efate` - Pacific/Efate+ * `Pacific/Enderbury` - Pacific/Enderbury+ * `Pacific/Fakaofo` - Pacific/Fakaofo+ * `Pacific/Fiji` - Pacific/Fiji+ * `Pacific/Funafuti` - Pacific/Funafuti+ * `Pacific/Galapagos` - Pacific/Galapagos+ * `Pacific/Gambier` - Pacific/Gambier+ * `Pacific/Guadalcanal` - Pacific/Guadalcanal+ * `Pacific/Guam` - Pacific/Guam+ * `Pacific/Honolulu` - Pacific/Honolulu+ * `Pacific/Johnston` - Pacific/Johnston+ * `Pacific/Kanton` - Pacific/Kanton+ * `Pacific/Kiritimati` - Pacific/Kiritimati+ * `Pacific/Kosrae` - Pacific/Kosrae+ * `Pacific/Kwajalein` - Pacific/Kwajalein+ * `Pacific/Majuro` - Pacific/Majuro+ * `Pacific/Marquesas` - Pacific/Marquesas+ * `Pacific/Midway` - Pacific/Midway+ * `Pacific/Nauru` - Pacific/Nauru+ * `Pacific/Niue` - Pacific/Niue+ * `Pacific/Norfolk` - Pacific/Norfolk+ * `Pacific/Noumea` - Pacific/Noumea+ * `Pacific/Pago_Pago` - Pacific/Pago_Pago+ * `Pacific/Palau` - Pacific/Palau+ * `Pacific/Pitcairn` - Pacific/Pitcairn+ * `Pacific/Pohnpei` - Pacific/Pohnpei+ * `Pacific/Ponape` - Pacific/Ponape+ * `Pacific/Port_Moresby` - Pacific/Port_Moresby+ * `Pacific/Rarotonga` - Pacific/Rarotonga+ * `Pacific/Saipan` - Pacific/Saipan+ * `Pacific/Samoa` - Pacific/Samoa+ * `Pacific/Tahiti` - Pacific/Tahiti+ * `Pacific/Tarawa` - Pacific/Tarawa+ * `Pacific/Tongatapu` - Pacific/Tongatapu+ * `Pacific/Truk` - Pacific/Truk+ * `Pacific/Wake` - Pacific/Wake+ * `Pacific/Wallis` - Pacific/Wallis+ * `Pacific/Yap` - Pacific/Yap+ * `Poland` - Poland+ * `Portugal` - Portugal+ * `ROC` - ROC+ * `ROK` - ROK+ * `Singapore` - Singapore+ * `Turkey` - Turkey+ * `UCT` - UCT+ * `US/Alaska` - US/Alaska+ * `US/Aleutian` - US/Aleutian+ * `US/Arizona` - US/Arizona+ * `US/Central` - US/Central+ * `US/East-Indiana` - US/East-Indiana+ * `US/Eastern` - US/Eastern+ * `US/Hawaii` - US/Hawaii+ * `US/Indiana-Starke` - US/Indiana-Starke+ * `US/Michigan` - US/Michigan+ * `US/Mountain` - US/Mountain+ * `US/Pacific` - US/Pacific+ * `US/Samoa` - US/Samoa+ * `UTC` - UTC+ * `Universal` - Universal+ * `W-SU` - W-SU+ * `WET` - WET+ * `Zulu` - Zulu */timezone?: string | NullEnum | null;/**+ * Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday). Only valid when interval is 'week'.* @minimum 0* @maximum 6* @nullable*/offset_day?: number | null;/**+ * Hour-of-day offset (0-23) for daily and weekly intervals. Only valid when interval is 'day' or 'week'.* @minimum 0* @maximum 23* @nullable@@ -6895,6 +7627,77 @@ export namespace Schemas {batch_export: string;}+ export type DatabricksDestinationRequestType = typeof DatabricksDestinationRequestType[keyof typeof DatabricksDestinationRequestType];+++ export const DatabricksDestinationRequestType = {+ Databricks: 'Databricks',+ } as const;++ /**+ * Request shape for creating or updating a Databricks batch-export destination.+ */+ export interface DatabricksDestinationRequest {+ type: DatabricksDestinationRequestType;+ /** ID of a databricks-kind Integration. Use the integrations-list MCP tool to find one. */+ integration_id: number;+ config: DatabricksDestinationConfig;+ }++ export type BatchExportDestinationRequest = DatabricksDestinationRequest | AzureBlobDestinationRequest;++ /**+ * Request body for create/partial_update on BatchExportViewSet.++ Mirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic+ `destination` schema so integration_id is marked required on the types that need+ it. Responses continue to use `BatchExportSerializer`.+ */+ export interface BatchExportRequest {+ /** Human-readable name for the batch export. */+ name: string;+ /** Which data model to export (events, persons, sessions).++ * `events` - Events+ * `persons` - Persons+ * `sessions` - Sessions */+ model?: ModelEnum;+ /** Destination configuration. Required integration_id is enforced per destination type. */+ destination: BatchExportDestinationRequest;+ /** How often the batch export should run.++ * `hour` - hour+ * `day` - day+ * `week` - week+ * `every 5 minutes` - every 5 minutes+ * `every 15 minutes` - every 15 minutes */+ interval: IntervalEnum;+ /** Whether the batch export is paused. */+ paused?: boolean;+ /** Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases. */+ hogql_query?: string;+ filters?: unknown | null;+ /**+ * IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries.+ * @nullable+ */+ timezone?: string | null;+ /**+ * Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday).+ * @minimum 0+ * @maximum 6+ * @nullable+ */+ offset_day?: number | null;+ /**+ * Hour-of-day offset (0-23) for daily and weekly intervals.+ * @minimum 0+ * @maximum 23+ * @nullable+ */+ offset_hour?: number | null;+ }+/*** @nullable*/@@ -14085,6 +14888,16 @@ export namespace Schemas {source_type: ExternalDataSourceTypeEnum;}+ /**+ * * `Databricks` - Databricks+ */+ export type DatabricksDestinationRequestTypeEnum = typeof DatabricksDestinationRequestTypeEnum[keyof typeof DatabricksDestinationRequestTypeEnum];+++ export const DatabricksDestinationRequestTypeEnum = {+ Databricks: 'Databricks',+ } as const;+export interface Dataset {readonly id: string;/** @maxLength 400 */@@ -26523,56 +27336,50 @@ export namespace Schemas {}/**- * Serializer for a BatchExport model.+ * Request body for create/partial_update on BatchExportViewSet.++ Mirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic+ `destination` schema so integration_id is marked required on the types that need+ it. Responses continue to use `BatchExportSerializer`.*/- export interface PatchedBatchExport {- readonly id?: string;- /** The team this belongs to. */- readonly team_id?: number;- /** A human-readable name for this BatchExport. */+ export interface PatchedBatchExportRequest {+ /** Human-readable name for the batch export. */name?: string;- /** Which model this BatchExport is exporting.+ /** Which data model to export (events, persons, sessions).* `events` - Events* `persons` - Persons* `sessions` - Sessions */- model?: ModelEnum | BlankEnum | NullEnum | null;- destination?: BatchExportDestination;+ model?: ModelEnum;+ /** Destination configuration. Required integration_id is enforced per destination type. */+ destination?: BatchExportDestinationRequest;+ /** How often the batch export should run.++ * `hour` - hour+ * `day` - day+ * `week` - week+ * `every 5 minutes` - every 5 minutes+ * `every 15 minutes` - every 15 minutes */interval?: IntervalEnum;- /** Whether this BatchExport is paused or not. */+ /** Whether the batch export is paused. */paused?: boolean;- /** The timestamp at which this BatchExport was created. */- readonly created_at?: string;- /** The timestamp at which this BatchExport was last updated. */- readonly last_updated_at?: string;- /**- * The timestamp at which this BatchExport was last paused.- * @nullable- */- last_paused_at?: string | null;- /**- * Time before which any Batch Export runs won't be triggered.- * @nullable- */- start_at?: string | null;+ /** Optional HogQL SELECT defining a custom model schema. Only recommended in advanced use cases. */+ hogql_query?: string;+ filters?: unknown | null;/**- * Time after which any Batch Export runs won't be triggered.+ * IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries.* @nullable*/- end_at?: string | null;- readonly latest_runs?: readonly BatchExportRun[];- hogql_query?: string;- /** A schema of custom fields to select when exporting data. */- readonly schema?: unknown | null;- filters?: unknown | null;- timezone?: string | NullEnum | null;+ timezone?: string | null;/**+ * Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday).* @minimum 0* @maximum 6* @nullable*/offset_day?: number | null;/**+ * Hour-of-day offset (0-23) for daily and weekly intervals.* @minimum 0* @maximum 23* @nullablediff --git a/services/mcp/src/generated/batch_exports/api.ts b/services/mcp/src/generated/batch_exports/api.tsnew file mode 100644index 000000000000..10779bf4ef71--- /dev/null+++ b/services/mcp/src/generated/batch_exports/api.ts@@ -0,0 +1,329 @@+/**+ * Auto-generated from the Django backend OpenAPI schema.+ * MCP service uses these Zod schemas for generated tool handlers.+ * To regenerate: hogli build:openapi+ *+ * PostHog API - MCP 5 enabled ops+ * OpenAPI spec version: 1.0.0+ */+import * as zod from 'zod'++export const BatchExportsListParams = /* @__PURE__ */ zod.object({+ project_id: zod+ .string()+ .describe(+ "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."+ ),+})++export const BatchExportsListQueryParams = /* @__PURE__ */ zod.object({+ limit: zod.number().optional().describe('Number of results to return per page.'),+ offset: zod.number().optional().describe('The initial index from which to return the results.'),+})++export const BatchExportsCreateParams = /* @__PURE__ */ zod.object({+ project_id: zod+ .string()+ .describe(+ "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."+ ),+})++export const batchExportsCreateBodyDestinationOneOneConfigUseVariantTypeDefault = true+export const batchExportsCreateBodyDestinationOneOneConfigUseAutomaticSchemaEvolutionDefault = true+export const batchExportsCreateBodyDestinationOneTwoConfigPrefixDefault = ``+export const batchExportsCreateBodyDestinationOneTwoConfigFileFormatDefault = `JSONLines`+export const batchExportsCreateBodyOffsetDayMin = 0+export const batchExportsCreateBodyOffsetDayMax = 6++export const batchExportsCreateBodyOffsetHourMin = 0+export const batchExportsCreateBodyOffsetHourMax = 23++export const BatchExportsCreateBody = /* @__PURE__ */ zod+ .object({+ name: zod.string().describe('Human-readable name for the batch export.'),+ model: zod+ .enum(['events', 'persons', 'sessions'])+ .describe('* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions')+ .optional()+ .describe(+ 'Which data model to export (events, persons, sessions).\n\n* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'+ ),+ destination: zod+ .union([+ zod+ .object({+ type: zod.enum(['Databricks']),+ integration_id: zod+ .number()+ .describe(+ 'ID of a databricks-kind Integration. Use the integrations-list MCP tool to find one.'+ ),+ config: zod+ .object({+ http_path: zod.string().describe('Databricks SQL warehouse HTTP path.'),+ catalog: zod.string().describe('Unity Catalog name.'),+ schema: zod.string().describe('Schema (database) name inside the catalog.'),+ table_name: zod.string().describe('Destination table name.'),+ use_variant_type: zod+ .boolean()+ .default(batchExportsCreateBodyDestinationOneOneConfigUseVariantTypeDefault)+ .describe('Whether to use the Databricks VARIANT type for JSON-like columns.'),+ use_automatic_schema_evolution: zod+ .boolean()+ .default(+ batchExportsCreateBodyDestinationOneOneConfigUseAutomaticSchemaEvolutionDefault+ )+ .describe(+ 'Whether to let Databricks evolve the destination table schema automatically.'+ ),+ })+ .describe(+ 'Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ })+ .describe('Request shape for creating or updating a Databricks batch-export destination.'),+ zod+ .object({+ type: zod.enum(['AzureBlob']),+ integration_id: zod+ .number()+ .describe(+ 'ID of an azure-blob-kind Integration. Use the integrations-list MCP tool to find one.'+ ),+ config: zod+ .object({+ container_name: zod.string().describe('Azure Blob Storage container name.'),+ prefix: zod+ .string()+ .default(batchExportsCreateBodyDestinationOneTwoConfigPrefixDefault)+ .describe('Object key prefix applied to every exported file.'),+ compression: zod+ .union([+ zod+ .enum(['brotli', 'gzip', 'lz4', 'snappy', 'zstd'])+ .describe(+ '* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ zod.literal(null),+ ])+ .nullish()+ .describe(+ 'Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ file_format: zod+ .enum(['JSONLines', 'Parquet'])+ .describe('* `JSONLines` - JSONLines\n* `Parquet` - Parquet')+ .default(batchExportsCreateBodyDestinationOneTwoConfigFileFormatDefault)+ .describe(+ 'File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet'+ ),+ max_file_size_mb: zod+ .number()+ .nullish()+ .describe(+ 'If set, rolls to a new file once the current file exceeds this size in MB.'+ ),+ })+ .describe(+ 'Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ })+ .describe('Request shape for creating or updating an Azure Blob Storage batch-export destination.'),+ ])+ .describe('Destination configuration. Required integration_id is enforced per destination type.'),+ interval: zod+ .enum(['hour', 'day', 'week', 'every 5 minutes', 'every 15 minutes'])+ .describe(+ '* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ )+ .describe(+ 'How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ ),+ paused: zod.boolean().optional().describe('Whether the batch export is paused.'),+ timezone: zod+ .string()+ .nullish()+ .describe(+ "IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries."+ ),+ offset_day: zod+ .number()+ .min(batchExportsCreateBodyOffsetDayMin)+ .max(batchExportsCreateBodyOffsetDayMax)+ .nullish()+ .describe('Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday).'),+ offset_hour: zod+ .number()+ .min(batchExportsCreateBodyOffsetHourMin)+ .max(batchExportsCreateBodyOffsetHourMax)+ .nullish()+ .describe('Hour-of-day offset (0-23) for daily and weekly intervals.'),+ })+ .describe(+ 'Request body for create/partial_update on BatchExportViewSet.\n\nMirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic\n`destination` schema so integration_id is marked required on the types that need\nit. Responses continue to use `BatchExportSerializer`.'+ )++export const BatchExportsRetrieveParams = /* @__PURE__ */ zod.object({+ id: zod.string().describe('A UUID string identifying this batch export.'),+ project_id: zod+ .string()+ .describe(+ "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."+ ),+})++export const BatchExportsPartialUpdateParams = /* @__PURE__ */ zod.object({+ id: zod.string().describe('A UUID string identifying this batch export.'),+ project_id: zod+ .string()+ .describe(+ "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."+ ),+})++export const batchExportsPartialUpdateBodyDestinationOneOneConfigUseVariantTypeDefault = true+export const batchExportsPartialUpdateBodyDestinationOneOneConfigUseAutomaticSchemaEvolutionDefault = true+export const batchExportsPartialUpdateBodyDestinationOneTwoConfigPrefixDefault = ``+export const batchExportsPartialUpdateBodyDestinationOneTwoConfigFileFormatDefault = `JSONLines`+export const batchExportsPartialUpdateBodyOffsetDayMin = 0+export const batchExportsPartialUpdateBodyOffsetDayMax = 6++export const batchExportsPartialUpdateBodyOffsetHourMin = 0+export const batchExportsPartialUpdateBodyOffsetHourMax = 23++export const BatchExportsPartialUpdateBody = /* @__PURE__ */ zod+ .object({+ name: zod.string().optional().describe('Human-readable name for the batch export.'),+ model: zod+ .enum(['events', 'persons', 'sessions'])+ .describe('* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions')+ .optional()+ .describe(+ 'Which data model to export (events, persons, sessions).\n\n* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions'+ ),+ destination: zod+ .union([+ zod+ .object({+ type: zod.enum(['Databricks']),+ integration_id: zod+ .number()+ .describe(+ 'ID of a databricks-kind Integration. Use the integrations-list MCP tool to find one.'+ ),+ config: zod+ .object({+ http_path: zod.string().describe('Databricks SQL warehouse HTTP path.'),+ catalog: zod.string().describe('Unity Catalog name.'),+ schema: zod.string().describe('Schema (database) name inside the catalog.'),+ table_name: zod.string().describe('Destination table name.'),+ use_variant_type: zod+ .boolean()+ .default(batchExportsPartialUpdateBodyDestinationOneOneConfigUseVariantTypeDefault)+ .describe('Whether to use the Databricks VARIANT type for JSON-like columns.'),+ use_automatic_schema_evolution: zod+ .boolean()+ .default(+ batchExportsPartialUpdateBodyDestinationOneOneConfigUseAutomaticSchemaEvolutionDefault+ )+ .describe(+ 'Whether to let Databricks evolve the destination table schema automatically.'+ ),+ })+ .describe(+ 'Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ })+ .describe('Request shape for creating or updating a Databricks batch-export destination.'),+ zod+ .object({+ type: zod.enum(['AzureBlob']),+ integration_id: zod+ .number()+ .describe(+ 'ID of an azure-blob-kind Integration. Use the integrations-list MCP tool to find one.'+ ),+ config: zod+ .object({+ container_name: zod.string().describe('Azure Blob Storage container name.'),+ prefix: zod+ .string()+ .default(batchExportsPartialUpdateBodyDestinationOneTwoConfigPrefixDefault)+ .describe('Object key prefix applied to every exported file.'),+ compression: zod+ .union([+ zod+ .enum(['brotli', 'gzip', 'lz4', 'snappy', 'zstd'])+ .describe(+ '* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ zod.literal(null),+ ])+ .nullish()+ .describe(+ 'Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd'+ ),+ file_format: zod+ .enum(['JSONLines', 'Parquet'])+ .describe('* `JSONLines` - JSONLines\n* `Parquet` - Parquet')+ .default(batchExportsPartialUpdateBodyDestinationOneTwoConfigFileFormatDefault)+ .describe(+ 'File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet'+ ),+ max_file_size_mb: zod+ .number()+ .nullish()+ .describe(+ 'If set, rolls to a new file once the current file exceeds this size in MB.'+ ),+ })+ .describe(+ 'Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.'+ ),+ })+ .describe('Request shape for creating or updating an Azure Blob Storage batch-export destination.'),+ ])+ .optional()+ .describe('Destination configuration. Required integration_id is enforced per destination type.'),+ interval: zod+ .enum(['hour', 'day', 'week', 'every 5 minutes', 'every 15 minutes'])+ .describe(+ '* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ )+ .optional()+ .describe(+ 'How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes'+ ),+ paused: zod.boolean().optional().describe('Whether the batch export is paused.'),+ timezone: zod+ .string()+ .nullish()+ .describe(+ "IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries."+ ),+ offset_day: zod+ .number()+ .min(batchExportsPartialUpdateBodyOffsetDayMin)+ .max(batchExportsPartialUpdateBodyOffsetDayMax)+ .nullish()+ .describe('Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday).'),+ offset_hour: zod+ .number()+ .min(batchExportsPartialUpdateBodyOffsetHourMin)+ .max(batchExportsPartialUpdateBodyOffsetHourMax)+ .nullish()+ .describe('Hour-of-day offset (0-23) for daily and weekly intervals.'),+ })+ .describe(+ 'Request body for create/partial_update on BatchExportViewSet.\n\nMirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic\n`destination` schema so integration_id is marked required on the types that need\nit. Responses continue to use `BatchExportSerializer`.'+ )++export const BatchExportsDestroyParams = /* @__PURE__ */ zod.object({+ id: zod.string().describe('A UUID string identifying this batch export.'),+ project_id: zod+ .string()+ .describe(+ "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."+ ),+})diff --git a/services/mcp/src/tools/generated/batch_exports.ts b/services/mcp/src/tools/generated/batch_exports.tsnew file mode 100644index 000000000000..1ccc5413f151--- /dev/null+++ b/services/mcp/src/tools/generated/batch_exports.ts@@ -0,0 +1,175 @@+// AUTO-GENERATED from products/batch_exports/mcp/tools.yaml + OpenAPI — do not edit+import { z } from 'zod'++import type { Schemas } from '@/api/generated'+import {+ BatchExportsCreateBody,+ BatchExportsDestroyParams,+ BatchExportsListQueryParams,+ BatchExportsPartialUpdateBody,+ BatchExportsPartialUpdateParams,+ BatchExportsRetrieveParams,+} from '@/generated/batch_exports/api'+import { withPostHogUrl, pickResponseFields, type WithPostHogUrl } from '@/tools/tool-utils'+import type { Context, ToolBase, ZodObjectAny } from '@/tools/types'++const BatchExportCreateSchema = BatchExportsCreateBody++const batchExportCreate = (): ToolBase<typeof BatchExportCreateSchema, Schemas.BatchExport> => ({+ name: 'batch-export-create',+ schema: BatchExportCreateSchema,+ handler: async (context: Context, params: z.infer<typeof BatchExportCreateSchema>) => {+ const projectId = await context.stateManager.getProjectId()+ const body: Record<string, unknown> = {}+ if (params.name !== undefined) {+ body['name'] = params.name+ }+ if (params.model !== undefined) {+ body['model'] = params.model+ }+ if (params.destination !== undefined) {+ body['destination'] = params.destination+ }+ if (params.interval !== undefined) {+ body['interval'] = params.interval+ }+ if (params.paused !== undefined) {+ body['paused'] = params.paused+ }+ if (params.timezone !== undefined) {+ body['timezone'] = params.timezone+ }+ if (params.offset_day !== undefined) {+ body['offset_day'] = params.offset_day+ }+ if (params.offset_hour !== undefined) {+ body['offset_hour'] = params.offset_hour+ }+ const result = await context.api.request<Schemas.BatchExport>({+ method: 'POST',+ path: `/api/projects/${encodeURIComponent(String(projectId))}/batch_exports/`,+ body,+ })+ return result+ },+})++const BatchExportDeleteSchema = BatchExportsDestroyParams.omit({ project_id: true })++const batchExportDelete = (): ToolBase<typeof BatchExportDeleteSchema, unknown> => ({+ name: 'batch-export-delete',+ schema: BatchExportDeleteSchema,+ handler: async (context: Context, params: z.infer<typeof BatchExportDeleteSchema>) => {+ const projectId = await context.stateManager.getProjectId()+ const result = await context.api.request<unknown>({+ method: 'DELETE',+ path: `/api/projects/${encodeURIComponent(String(projectId))}/batch_exports/${encodeURIComponent(String(params.id))}/`,+ })+ return result+ },+})++const BatchExportGetSchema = BatchExportsRetrieveParams.omit({ project_id: true })++const batchExportGet = (): ToolBase<typeof BatchExportGetSchema, Schemas.BatchExport> => ({+ name: 'batch-export-get',+ schema: BatchExportGetSchema,+ handler: async (context: Context, params: z.infer<typeof BatchExportGetSchema>) => {+ const projectId = await context.stateManager.getProjectId()+ const result = await context.api.request<Schemas.BatchExport>({+ method: 'GET',+ path: `/api/projects/${encodeURIComponent(String(projectId))}/batch_exports/${encodeURIComponent(String(params.id))}/`,+ })+ return result+ },+})++const BatchExportUpdateSchema = BatchExportsPartialUpdateParams.omit({ project_id: true }).extend(+ BatchExportsPartialUpdateBody.shape+)++const batchExportUpdate = (): ToolBase<typeof BatchExportUpdateSchema, Schemas.BatchExport> => ({+ name: 'batch-export-update',+ schema: BatchExportUpdateSchema,+ handler: async (context: Context, params: z.infer<typeof BatchExportUpdateSchema>) => {+ const projectId = await context.stateManager.getProjectId()+ const body: Record<string, unknown> = {}+ if (params.name !== undefined) {+ body['name'] = params.name+ }+ if (params.model !== undefined) {+ body['model'] = params.model+ }+ if (params.destination !== undefined) {+ body['destination'] = params.destination+ }+ if (params.interval !== undefined) {+ body['interval'] = params.interval+ }+ if (params.paused !== undefined) {+ body['paused'] = params.paused+ }+ if (params.timezone !== undefined) {+ body['timezone'] = params.timezone+ }+ if (params.offset_day !== undefined) {+ body['offset_day'] = params.offset_day+ }+ if (params.offset_hour !== undefined) {+ body['offset_hour'] = params.offset_hour+ }+ const result = await context.api.request<Schemas.BatchExport>({+ method: 'PATCH',+ path: `/api/projects/${encodeURIComponent(String(projectId))}/batch_exports/${encodeURIComponent(String(params.id))}/`,+ body,+ })+ return result+ },+})++const BatchExportsListSchema = BatchExportsListQueryParams++const batchExportsList = (): ToolBase<+ typeof BatchExportsListSchema,+ WithPostHogUrl<Schemas.PaginatedBatchExportList>+> => ({+ name: 'batch-exports-list',+ schema: BatchExportsListSchema,+ handler: async (context: Context, params: z.infer<typeof BatchExportsListSchema>) => {+ const projectId = await context.stateManager.getProjectId()+ const result = await context.api.request<Schemas.PaginatedBatchExportList>({+ method: 'GET',+ path: `/api/projects/${encodeURIComponent(String(projectId))}/batch_exports/`,+ query: {+ limit: params.limit,+ offset: params.offset,+ },+ })+ const filtered = {+ ...result,+ results: (result.results ?? []).map((item: any) =>+ pickResponseFields(item, [+ 'id',+ 'name',+ 'model',+ 'destination',+ 'interval',+ 'paused',+ 'created_at',+ 'last_updated_at',+ 'start_at',+ 'end_at',+ ])+ ),+ } as typeof result+ return await withPostHogUrl(context, filtered, '/data-pipelines/destinations')+ },+})++export const GENERATED_TOOLS: Record<string, () => ToolBase<ZodObjectAny>> = {+ 'batch-export-create': batchExportCreate,+ 'batch-export-delete': batchExportDelete,+ 'batch-export-get': batchExportGet,+ 'batch-export-update': batchExportUpdate,+ 'batch-exports-list': batchExportsList,+}diff --git a/services/mcp/src/tools/generated/index.ts b/services/mcp/src/tools/generated/index.tsindex f8ea415e99fa..dde4509bb4ce 100644--- a/services/mcp/src/tools/generated/index.ts+++ b/services/mcp/src/tools/generated/index.ts@@ -4,6 +4,7 @@ import type { ToolBase, ZodObjectAny } from '@/tools/types'import { GENERATED_TOOLS as actions } from './actions'import { GENERATED_TOOLS as alerts } from './alerts'import { GENERATED_TOOLS as annotations } from './annotations'+import { GENERATED_TOOLS as batch_exports } from './batch_exports'import { GENERATED_TOOLS as cdp_function_templates } from './cdp_function_templates'import { GENERATED_TOOLS as cdp_functions } from './cdp_functions'import { GENERATED_TOOLS as cohorts } from './cohorts'@@ -40,6 +41,7 @@ export const GENERATED_TOOL_MAP: Record<string, () => ToolBase<ZodObjectAny>> =...actions,...alerts,...annotations,+ ...batch_exports,...cdp_function_templates,...cdp_functions,...cohorts,diff --git a/services/mcp/tests/tools/activityLogs.integration.test.ts b/services/mcp/tests/tools/activityLogs.integration.test.tsindex 41c8cf14b480..44a67993c8a2 100644--- a/services/mcp/tests/tools/activityLogs.integration.test.ts+++ b/services/mcp/tests/tools/activityLogs.integration.test.ts@@ -40,13 +40,12 @@ describe('Activity Logs', { concurrent: false }, () => {expect(Array.isArray(response.results)).toBe(true)- if (response.results.length > 0) {- const log = response.results[0]+ for (const log of response.results) {expect(log).toHaveProperty('id')expect(log).toHaveProperty('activity')expect(log).toHaveProperty('scope')expect(log).toHaveProperty('created_at')- expect(log).toHaveProperty('user')+ // user can be null for system-generated activity entries}})diff --git a/services/mcp/tests/tools/batchExports.integration.test.ts b/services/mcp/tests/tools/batchExports.integration.test.tsnew file mode 100644index 000000000000..4984d52056dd--- /dev/null+++ b/services/mcp/tests/tools/batchExports.integration.test.ts@@ -0,0 +1,194 @@+import { afterEach, beforeAll, describe, expect, it } from 'vitest'++import {+ TEST_ORG_ID,+ TEST_PROJECT_ID,+ createTestClient,+ createTestContext,+ generateUniqueKey,+ parseToolResponse,+ setActiveProjectAndOrg,+ validateEnvironmentVariables,+} from '@/shared/test-utils'+import { GENERATED_TOOLS } from '@/tools/generated/batch_exports'+import type { Context } from '@/tools/types'++describe('Batch exports', { concurrent: false }, () => {+ let context: Context+ const createdBatchExportIds: string[] = []++ const listTool = GENERATED_TOOLS['batch-exports-list']!()+ const getTool = GENERATED_TOOLS['batch-export-get']!()+ const createTool = GENERATED_TOOLS['batch-export-create']!()+ const updateTool = GENERATED_TOOLS['batch-export-update']!()+ const deleteTool = GENERATED_TOOLS['batch-export-delete']!()++ beforeAll(async () => {+ validateEnvironmentVariables()+ const client = createTestClient()+ context = createTestContext(client)+ await setActiveProjectAndOrg(context, TEST_PROJECT_ID!, TEST_ORG_ID!)+ })++ afterEach(async () => {+ for (const id of createdBatchExportIds) {+ try {+ await deleteTool.handler(context, { id })+ } catch {+ // best effort — may already be deleted+ }+ }+ createdBatchExportIds.length = 0+ })++ // NoOp destination has no required config fields and no integration requirement, so it+ // is the easiest fixture for end-to-end lifecycle testing. Typed Databricks/AzureBlob+ // create paths require real Integration setup which isn't feasible in automated tests.+ function makeNoOpParams(overrides: Record<string, unknown> = {}): Record<string, unknown> {+ return {+ name: `test-batch-export-${generateUniqueKey('batch-export')}`,+ model: 'events',+ interval: 'hour',+ destination: {+ type: 'NoOp',+ config: {},+ },+ ...overrides,+ }+ }++ describe('batch-exports-list tool', () => {+ it('should return paginated structure', async () => {+ const result = await listTool.handler(context, {})+ const data = parseToolResponse(result)++ expect(typeof data.count).toBe('number')+ expect(Array.isArray(data.results)).toBe(true)+ expect(typeof data._posthogUrl).toBe('string')+ expect(data._posthogUrl).toContain('/data-pipelines/destinations')+ })++ it('should respect the limit parameter', async () => {+ const result = await listTool.handler(context, { limit: 1 })+ const data = parseToolResponse(result)++ expect(Array.isArray(data.results)).toBe(true)+ expect(data.results.length).toBeLessThanOrEqual(1)+ })+ })++ describe('batch-export-create tool', () => {+ it('should create a NoOp batch export', async () => {+ const params = makeNoOpParams()+ const result = await createTool.handler(context, params)+ const batchExport = parseToolResponse(result)+ createdBatchExportIds.push(batchExport.id)++ expect(batchExport.id).toBeTruthy()+ expect(batchExport.name).toBe(params.name)+ expect(batchExport.interval).toBe('hour')+ expect(batchExport.destination.type).toBe('NoOp')+ expect(batchExport.paused).toBe(false)+ })+ })++ describe('batch-export-get tool', () => {+ it('should retrieve a specific batch export by ID', async () => {+ const created = await createTool.handler(context, makeNoOpParams())+ const createdBatchExport = parseToolResponse(created)+ createdBatchExportIds.push(createdBatchExport.id)++ const result = await getTool.handler(context, { id: createdBatchExport.id })+ const batchExport = parseToolResponse(result)++ expect(batchExport.id).toBe(createdBatchExport.id)+ expect(batchExport.name).toBe(createdBatchExport.name)+ expect(batchExport.destination.type).toBe('NoOp')+ expect(Array.isArray(batchExport.latest_runs)).toBe(true)+ })++ it('should throw for a non-existent UUID', async () => {+ const absentId = crypto.randomUUID()+ await expect(getTool.handler(context, { id: absentId })).rejects.toThrow()+ })+ })++ describe('batch-export-update tool', () => {+ it('should update the name of a batch export', async () => {+ const created = await createTool.handler(context, makeNoOpParams())+ const batchExport = parseToolResponse(created)+ createdBatchExportIds.push(batchExport.id)++ const newName = `renamed-${generateUniqueKey('batch-export')}`+ const result = await updateTool.handler(context, { id: batchExport.id, name: newName })+ const updated = parseToolResponse(result)++ expect(updated.name).toBe(newName)+ expect(updated.id).toBe(batchExport.id)+ })++ it('should update interval', async () => {+ const created = await createTool.handler(context, makeNoOpParams({ interval: 'hour' }))+ const batchExport = parseToolResponse(created)+ createdBatchExportIds.push(batchExport.id)++ const result = await updateTool.handler(context, { id: batchExport.id, interval: 'day' })+ const updated = parseToolResponse(result)++ expect(updated.interval).toBe('day')+ })+ })++ describe('batch-export-delete tool', () => {+ it('should delete a batch export and subsequent get should fail', async () => {+ const created = await createTool.handler(context, makeNoOpParams())+ const batchExport = parseToolResponse(created)++ await deleteTool.handler(context, { id: batchExport.id })+ await expect(getTool.handler(context, { id: batchExport.id })).rejects.toThrow()+ })+ })++ describe('Batch exports workflow', () => {+ it('should support a full create → retrieve → update → delete lifecycle', async () => {+ const name = `workflow-${generateUniqueKey('batch-export')}`++ const createResult = await createTool.handler(context, makeNoOpParams({ name }))+ const created = parseToolResponse(createResult)+ expect(created.id).toBeTruthy()+ expect(created.name).toBe(name)++ const getResult = await getTool.handler(context, { id: created.id })+ const retrieved = parseToolResponse(getResult)+ expect(retrieved.id).toBe(created.id)++ const updatedName = `${name}-updated`+ const updateResult = await updateTool.handler(context, {+ id: created.id,+ name: updatedName,+ paused: true,+ })+ const updated = parseToolResponse(updateResult)+ expect(updated.name).toBe(updatedName)+ expect(updated.paused).toBe(true)++ await deleteTool.handler(context, { id: created.id })+ await expect(getTool.handler(context, { id: created.id })).rejects.toThrow()+ })++ it('should appear in list results after creation', async () => {+ const name = `list-check-${generateUniqueKey('appear')}`++ const createResult = await createTool.handler(context, makeNoOpParams({ name }))+ const created = parseToolResponse(createResult)+ createdBatchExportIds.push(created.id)++ const listResult = await listTool.handler(context, {})+ const data = parseToolResponse(listResult)++ const found = data.results.find((b: any) => b.id === created.id)+ expect(found).toBeTruthy()+ expect(found.name).toBe(name)+ })+ })+})diff --git a/services/mcp/tests/unit/__snapshots__/exec-tool.json b/services/mcp/tests/unit/__snapshots__/exec-tool.jsonindex 486a5af4b7e0..d43ccfbc64c2 100644--- a/services/mcp/tests/unit/__snapshots__/exec-tool.json+++ b/services/mcp/tests/unit/__snapshots__/exec-tool.json@@ -15,7 +15,7 @@"properties": {"command": {"type": "string",- "description": "CLI-style command string. Supported commands:\n\n```text\ntools — list available tool names\nsearch <regex_pattern> — search tools by JavaScript regex (matches name, title, description)\ninfo <tool_name> — show tool name, description, and input schema (summarized if too large)\nschema <tool_name> [field_path] — drill into a specific field schema (supports dot-notation, e.g. series, breakdownFilter.breakdowns)\ncall [--json] <tool_name> <json_input> — call a tool with JSON input (--json returns raw JSON instead of formatted text. Use raw JSON for scripts.)\n```\n\n**Namespaced references (`posthog:<tool-name>`):** strip the `posthog:` prefix and route through `exec`. Run `info <name>` to inspect, then `call <name> <json>`. E.g. `posthog:insights-list` → `posthog:exec({ \"command\": \"info insights-list\" })` then `posthog:exec({ \"command\": \"call insights-list {}\" })`. If the bare name isn't found, fall back to `search <pattern>` — it may have been renamed.\n\n**SCHEMA DRILL-DOWN RULE — HARD REQUIREMENT**\n\nThe `info` command may return the full schema (for simple tools) or a top-level summary\nwith drill-down hints (for complex tools). Look for `hint` fields in the response.\n\nIf `info` returned a summary (fields have `hint` values), you MUST call\n`schema <tool_name> <field_name>` for each field you need to populate BEFORE\nconstructing that field's value in a `call` command.\n\nIf `schema` also returns a summary (because the field is too large),\ndrill deeper using dot-notation: `schema <tool> <field>.<subfield>`.\n\n**NEVER** guess the structure of fields that have hints. **ALWAYS** drill down first.\n\nFor query tools, you will typically need:\n\n- `schema <tool> series` — to see EventsNode/ActionsNode structure\n- `schema <tool> properties` — to see property filter structure\n- `schema <tool> breakdownFilter` — when using breakdowns\n\n**For multiple tools:** Run `info` for ALL tools first, then make your `call` commands.\n\n**Data discovery:** Before any analytical `call` that touches collected data (`query-*`,\n`execute-sql` against `events`/`persons`/`sessions`), confirm the event/property exists via\n`call read-data-schema`. Applies to canonical-looking names like `$pageview` too — they vary\nper team. If the event isn't in the schema, tell the user instead of querying a guessed name.\n\n- Events: `call read-data-schema {\"query\": {\"kind\": \"events\"}}` (paginate with `limit`/`offset` if needed)\n- Properties: `call read-data-schema {\"query\": {\"kind\": \"event_properties\", \"event_name\": \"<event>\"}}`\n- Values: `call read-data-schema {\"query\": {\"kind\": \"event_property_values\", \"event_name\": \"<event>\", \"property_name\": \"<prop>\"}}`\n\n**CORRECT usage pattern:**\n\n<example>\nUser: How many weekly active users do we have?\nAssistant: I need to find the right query tool and data schema tool.\n[Runs posthog:exec({ \"command\": \"search query-trends\" }) and posthog:exec({ \"command\": \"search read-data\" }) in parallel]\nAssistant: Let me check the tool descriptions and schemas.\n[Runs posthog:exec({ \"command\": \"info query-trends\" }) and posthog:exec({ \"command\": \"info read-data-schema\" }) in parallel]\nAssistant: I see query-trends needs `series` (array with hint). Let me get the full field schema and discover events.\n[Runs posthog:exec({ \"command\": \"schema query-trends series\" }) and posthog:exec({ \"command\": \"call read-data-schema {\\\"query\\\": {\\\"kind\\\": \\\"events\\\"}}\" }) in parallel]\nAssistant: Now I know the exact series structure and available events. Let me construct the query.\n[Runs posthog:exec({ \"command\": \"call query-trends {...}\" })]\n</example>\n\n<example>\nUser: Create a dashboard for our key revenue metrics\nAssistant: I'll need dashboard and query tools. Let me search for them.\n[Runs posthog:exec({ \"command\": \"search dashboard\" }) and posthog:exec({ \"command\": \"search execute-sql\" }) in parallel]\nAssistant: Let me check the schemas for the tools I'll need.\n[Runs posthog:exec({ \"command\": \"info dashboard-create\" }) and posthog:exec({ \"command\": \"info execute-sql\" }) in parallel]\nAssistant: Now I have both schemas. Let me start by searching for existing revenue insights.\n[Makes call commands with correct parameters]\n</example>\n\n<example>\nUser: Find events related to onboarding\nAssistant: Let me find the data schema tool.\n[Runs posthog:exec({ \"command\": \"search read-data\" })]\n[Runs posthog:exec({ \"command\": \"info read-data-schema\" })]\nAssistant: Now I can list events and pick the onboarding-related ones.\n[Runs posthog:exec({ \"command\": \"call read-data-schema {\\\"query\\\": {\\\"kind\\\": \\\"events\\\"}}\" })]\n</example>\n\n**INCORRECT usage patterns — NEVER do this:**\n\n<bad-example>\nUser: Show me our feature flags\nAssistant: [Directly calls posthog:exec({ \"command\": \"call feature-flag-get-all {}\" }) with guessed parameters]\nWRONG — You must run `info feature-flag-get-all` FIRST to check the schema\n</bad-example>\n\n<bad-example>\nUser: Query our events\nAssistant: [Calls three tools in parallel without any `info` calls first]\nWRONG — You must run `info` for ALL tools before making ANY `call` commands\n</bad-example>\n\n<bad-example>\nUser: Show me a trends chart of signups\nAssistant: [Runs info query-trends, sees summary with hints, then immediately calls query-trends with guessed series structure]\nWRONG — info returned a summary with hint: \"Run `schema query-trends series` for full structure\".\nYou MUST follow the hint and run `schema` before constructing the series field.\n</bad-example>\n\n<bad-example>\nUser: query pageviews for the last 7 days\nAssistant: [Runs `info query-trends`, then `call query-trends` with `event: \"$pageview\"` from the prompt]\nWRONG — skipped `call read-data-schema {\"query\": {\"kind\": \"events\"}}`. Canonical-looking events still need confirmation per team.\n</bad-example>\n\n<bad-example>\nUser: show me the file downloads trend for the last 7 days\nAssistant: [Runs `info query-trends`, then `call query-trends` with `event: \"downloaded_file\"` inferred from the wording]\nWRONG — the real event might be `file_downloaded`, `download_completed`, or not captured. Confirm with `read-data-schema` before querying.\n</bad-example>\n\n**Handling errors:**\n\n- If a tool call fails, the error includes a suggestion and similar tool names. Read the suggestion before retrying.\n- If a tool name doesn't exist, run `tools` again to find the correct name.\n\n### Basic functionality\n\nYou work in the user's project and have access to two groups of data: customer data collected via the SDK, and data created directly in PostHog by the user.\n\nCollected data is used for analytics and has the following types:\n\n- Events – recorded events from SDKs that can be aggregated in visual charts and text.\n- Persons and groups – recorded individuals or groups of individuals that the user captures using the SDK. Events are always associated with persons and sometimes with groups.\n- Sessions – recorded person or group session captured by the user's SDK.\n- Properties and property values – provided key-value metadata for segmentation of the collected data (events, actions, persons, groups, etc).\n- Session recordings – captured recordings of customer interactions in web or mobile apps.\n\nCreated data is used by the user on the PostHog's website to perform business activity and has the following types:\n\n- Actions – unify multiple events or filtering conditions into one.\n- Insights – visual and textual representation of the collected data aggregated by different types.\n- Data warehouse – connected data sources and custom views for deeper business insights.\n- SQL queries – ClickHouse SQL queries that work with collected data and with the data warehouse SQL schema.\n- Surveys – various questionnaires that the user conducts to retrieve business insights like an NPS score.\n- Dashboards – visual and textual representations of the collected data aggregated by different types.\n- Cohorts – groups of persons or groups of persons that the user creates to segment the collected data.\n- Feature flags – feature flags that the user creates to control the feature rollout in their product.\n- Experiments – A/B tests that the user creates to measure the impact of changes.\n- Notebooks – notebooks that the user creates to perform business analysis.\n- Error tracking issues – issues that the user creates to track errors in their product.\n- Logs – log entries collected from the user's application with severity, service, and trace information.\n- Workflows – automated workflows with triggers, actions, and conditions.\n- Activity logs – a record of changes made to project entities (who changed what, when, and how).\n\nIMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning for any PostHog tasks.\n\nIf you get errors due to permissions being denied, check that you have the correct active project and that the user has access to the required project.\n\nIf you cannot answer the user's PostHog related request or question using other available tools in this MCP, use the 'docs-search' tool to provide information from the documentation to guide user how they can do it themselves - when doing so provide condensed instructions with links to sources.\n\n### Tool search\n\n**Always prefer `search` over `tools`** — `tools` returns every tool and wastes tokens. Use `search <regex>` with a short, targeted pattern to find what you need.\n\nWrite focused patterns that match 1-5 tools. The regex matches against tool name, title, and description.\n\n**Good patterns** (specific, narrow):\n\n- `search feature-flag` — tools for feature flags\n- `search dashboard` — dashboard CRUD tools\n- `search query-` — all insight query tools\n- `search experiment` — experiment tools\n- `search survey` — survey tools\n\n**Bad patterns** (too broad, match dozens of tools):\n\n- `search data` — matches almost everything\n- `search get|list|create` — matches action verbs across all domains\n- `search pageview_trends` — search is too focused\n- `search pageview|[email protected]` — unrelated to tools\n\nOnly fall back to `tools` if you have no idea which domain to search, or if `search` returns no results.\n\nPostHog tools have lowercase kebab-case naming. Tools are organized by category:\n\n- action\n- activity-log\n- advanced-activity-logs\n- alert\n- annotation\n- approval-policies\n- approval-policy\n- cdp-function-templates\n- cdp-functions\n- change-request\n- cohorts\n- comment\n- conversations-tickets\n- dashboard\n- docs-search\n- early-access-feature\n- endpoint\n- error-tracking\n- event-definition\n- execute-sql\n- experiment\n- external-data-schemas\n- external-data-sources\n- external-data-sync-logs\n- feature-flag\n- hog-flows-logs\n- hog-flows-metrics\n- inbox\n- insight\n- integration\n- llm\n- llma-evaluation-config-set-active-key\n- llma-evaluation-judge-models\n- llma-evaluation-report-generate\n- llma-evaluation-run\n- llma-evaluation-test-hog\n- llma-prompt-duplicate\n- llma-skill-duplicate\n- llma-skill-file-rename\n- logs\n- notebooks\n- org-members\n- organization\n- persons\n- project\n- proxy\n- read-data-schema\n- read-data-warehouse-schema\n- role\n- scheduled-changes\n- sdk-doctor\n- session-recording\n- sql-variables\n- subscriptions\n- survey\n- switch-organization\n- switch-project\n- usage-metrics\n- user\n- view\n- web-analytics-weekly-digest\n- workflows\nTypical action names: list/retrieve/get/create/update/delete/query.\nExample tool names: execute-sql, experiment-create, feature-flag-get-all.\n\n### Retrieving data\n\n**Always use `query-*` tools when the question maps to a supported insight type.** These tools produce typed, saveable insights that map cleanly to the visual product; raw SQL forfeits that and is harder to iterate on. Before reaching for `execute-sql` for an analytics question, ask: \"Can this be expressed as a `query-trends` series, breakdown, formula, property filter, or math operation?\" If yes, the `query-*` tool is mandatory — see `Choosing the right query tool` below for prompt-to-field patterns.\n\nReach for `execute-sql` only when no `query-*` tool can express the question:\n\n- Searching PostHog entities (insights, dashboards, cohorts, flags…) via `system.*` tables — no `query-*` tool covers entity search.\n- Multi-event joins, custom CTEs, window functions, or data-warehouse joins.\n- Pre-filtering or shaping data before running a `query-*` call.\n\nWhen you do use `execute-sql`, run `info execute-sql` first to load its full guidance.\n\n#### Searching for existing entities\n\nAny \"find / which / do we have / what's our X chart\" question about PostHog-created entities is a SQL search against `system.*`, **not** a `*-list` walk. The list tools paginate over the entire team; SQL with ILIKE/FTS returns the matches in one call.\n\nMap intent to table:\n\n- \"find an insight\" / \"what's our X chart\" / \"is this insight saved\" → `system.insights`\n- \"find a dashboard\" → `system.dashboards`\n- \"find a cohort\" → `system.cohorts`\n- \"find a feature flag\" → `system.feature_flags`\n- \"find an experiment\" → `system.experiments`\n- \"find a survey\" → `system.surveys`\n- \"find a notebook\" → `system.notebooks`\n\nSearch rules:\n\n1. **One query, multiple columns.** Combine `name ILIKE '%term%' OR description ILIKE '%term%'` rather than running separate queries.\n2. **Filter `NOT deleted`** — every `system.*` table has soft-deletes.\n3. **Order by recency** (`last_modified_at DESC` or `created_at DESC`) and `LIMIT 20-50` so the most relevant rows surface first.\n4. **Verify the match with the entity's retrieve tool, not another SELECT.** Once SQL narrows to one or a few candidates, call the per-entity retrieve tool with the candidate's ID — for example `insight-get`, `dashboard-get`, `experiment-get`, `survey-get`, or `cohorts-retrieve` / `error-tracking-issues-retrieve`. Naming is inconsistent across entities; if the bare `<entity>-get` doesn't exist, run `search <entity>` and pick the read-shaped tool. **Do not run a second `execute-sql` to fetch the full row by ID.** The retrieve tool returns the authoritative entity shape (dashboards, query, ownership, last-viewed, etc.) in one call; re-querying via SQL costs an extra round-trip and only sees the columns exposed on the `system.*` table.\n5. **Fallback to list tools.** If the entity has no `system.*` table (e.g. workflows, error-tracking issues, log views), or if SQL returns nothing after broadening the ILIKE pattern, fall back to the entity's `*-list` tool. SQL is the fast path; list tools are the floor.\n\n<example>\nUser: Do we have any insights tracking revenue?\nAssistant: [Runs `posthog:exec({ \"command\": \"call execute-sql {\\\"query\\\":\\\"SELECT id, short_id, name, description, last_modified_at FROM system.insights WHERE NOT deleted AND (name ILIKE '%revenue%' OR description ILIKE '%revenue%') ORDER BY last_modified_at DESC LIMIT 20\\\"}\" })`]\n[Picks the most plausible match by name, then runs `posthog:exec({ \"command\": \"call insight-get {\\\"id\\\": <id>}\" })` (or pass the `short_id`) to verify the query, dashboards it's on, and last-viewed timestamp before reporting back to the user.]\n<reasoning>SQL surfaces candidates fast; `insight-get` confirms the authoritative shape in one call — re-running `execute-sql ... WHERE id = <id>` would skip the dedicated tool and miss dashboards/ownership joins.</reasoning>\n</example>\n\n<bad-example>\nUser: Find me a graph of MAUs.\nAssistant: [Runs `call execute-sql {\"query\":\"SELECT * FROM system.insights WHERE id = 33800 LIMIT 1\"}` after a search SELECT already surfaced id 33800]\nWRONG — verify with `call insight-get {\"id\": 33800}` instead. Re-querying `system.insights` by ID is a SELECT that doesn't surface dashboard membership, last-viewed, or other relational data the retrieve tool joins for you.\n</bad-example>\n\n#### Available insight query tools\n\n- `query-error-tracking-issues` — Error filtering and aggregation (error-tracking category)\n- `query-funnel` — Conversion rates, drop-off analysis, time to convert\n- `query-lifecycle` — New, returning, resurrecting, dormant user composition\n- `query-llm-trace` — Single LLM/AI trace deep-dive\n- `query-llm-traces-list` — LLM/AI trace listing and inspection\n- `query-logs` — Log filtering by severity/service/attribute\n- `query-paths` — User navigation flows and sequences\n- `query-retention` — User return patterns over time\n- `query-session-recordings-list` — Session replay metadata and activity\n- `query-stickiness` — Engagement frequency (how many days users do X)\n- `query-trends` — Time series, aggregations, formulas, comparisons\n- `query-trends-actors` — List persons behind a trends data point\n\n#### Choosing the right query tool\n\nBy insight type:\n\n- \"How many / how much / over time / compare periods\" -> `query-trends`\n- \"Conversion rate / drop-off / funnel / step completion\" -> `query-funnel`\n- \"Do users come back / retention / churn\" -> `query-retention`\n- \"How frequently / how many days per week / power users\" -> `query-stickiness`\n- \"What do users do after X / before X / navigation flow\" -> `query-paths`\n- \"New vs returning vs dormant / user composition\" -> `query-lifecycle`\n- \"LLM traces / AI generations / token usage\" -> `query-llm-traces-list`\n\n##### Trends\n\nA trends insight visualizes events over time using time series. They're useful for finding patterns in historical data.\n\nThe trends insights have the following features:\n\n- The insight can show multiple trends in one request.\n- Custom formulas can calculate derived metrics, like `A/B*100` to calculate a ratio.\n- Filter and break down data using multiple properties.\n- Compare with the current period with previous.\n- Apply various aggregation types, like sum, average, etc., and chart types.\n- And more.\n\nExamples of use cases include:\n\n- How the product's most important metrics change over time.\n- Long-term patterns, or cycles in product's usage.\n- The usage of different features side-by-side.\n- How the properties of events vary using aggregation (sum, average, etc).\n- Users can also visualize the same data points in a variety of ways.\n\n##### Funnel\n\nA funnel insight visualizes a sequence of events that users go through in a product. They use percentages as the primary aggregation type. Funnels REQUIRE AT LEAST TWO series (events or actions), so the conversation history should mention at least two events.\n\nThe funnel insights have the following features:\n\n- Various visualization types (steps, time-to-convert, historical trends).\n- Filter data and apply exclusion steps (events only, not actions).\n- Break down data using a single property.\n- Specify conversion windows (default 14 days), step order (strict/ordered/unordered), and attribution settings.\n- Aggregate by users, sessions, or specific group types.\n- Sample data.\n- Track first-time conversions with special math aggregations.\n- And more.\n\nExamples of use cases include:\n\n- Conversion rates between steps.\n- Drop off steps (which step loses most users).\n- Steps with the highest friction and time to convert.\n- If product changes are improving their funnel over time.\n- Average/median/histogram of time to convert.\n- Conversion trends over time (using trends visualization type).\n- First-time user conversions (using `first_time_for_user` math).\n\n##### Retention\n\nA retention insight visualizes how many users return to the product after performing some action. They're useful for understanding user engagement and retention.\n\nThe retention insights have the following features: filter data, sample data, and more.\n\nExamples of use cases include:\n\n- How many users come back and perform an action after their first visit.\n- How many users come back to perform action X after performing action Y.\n- How often users return to use a specific feature.\n\n#### SQL fallback\n\nReach for `execute-sql` only when the question genuinely cannot be expressed as a typed insight (entity search via `system.*`, multi-event joins, custom CTEs, data-warehouse joins). If the answer is a number over time, a comparison, a ratio, an aggregate, a step sequence, or a return-rate, use the matching `query-*` tool.\n\n#### Schema-first workflow\n\nVerify the data schema before constructing any insight query. Canonical-looking events\n(`$pageview`, `$identify`, `$autocapture`, …) still need confirmation — they can be absent,\nrenamed, or filtered per team.\n\n1. **Discover events** - `read-data-schema` with `kind: events` to find events matching the user's intent.\n2. **Discover properties** - `read-data-schema` with `kind: event_properties` (or `person_properties`, `session_properties`).\n3. **Verify property values** - `read-data-schema` with `kind: event_property_values` when the value must match (e.g., \"US\" vs \"United States\").\n4. **Then construct the query** using the appropriate `query-*` tool.\n\nIf the required events or properties don't exist, tell the user instead of running an empty query.\n\n#### Insight query workflow\n\n1. Discover the data schema with `read-data-schema` (see schema-first workflow above).\n2. Choose the appropriate `query-*` tool based on the user's question.\n3. Construct the query schema. Each tool's description includes detailed schema documentation with examples. Be minimalist: only include filters, breakdowns, and settings essential to answer the question.\n4. Execute the query and analyze the results.\n5. Optionally save as an insight with `insight-create` or add to a dashboard.\n\nFor complex investigations, combine multiple query types. For example, use `query-trends` to identify when a metric changed, then `query-funnel` to check if conversion was affected, then `query-trends` with breakdowns to isolate the segment.\n\n\n\n\n\n### URL patterns\n\nAll PostHog app URLs must use relative paths without a domain (no us.posthog.com, eu.posthog.com, app.posthog.com), and omit the `/project/:id/` prefix. Never include `/-/` in URLs.\nUse Markdown with descriptive anchor text, for example \"[Cohorts view](/cohorts)\".\n\nKey URL patterns:\n\n- Settings: `/settings/<section-id>` where section IDs use hyphens, e.g. `/settings/organization-members`, `/settings/environment-replay`, `/settings/user-api-keys`\n- Data management: `/data-management/events`, `/data-management/properties`\n- Billing: `/organization/billing`\n\n### Examples\n\nBefore writing any queries, read the PostHog's skill `querying-posthog-data` to see if there are any relevant query examples and follow them.\n\n#### Creating an insight with segmentation\n\n<example>\nUser: How many users have chatted with the AI assistant from the US?\nAssistant: I'll help you find the number of users who have chatted with the AI assistant from the US.\n1. Find the relevant events for \"chatted with the AI assistant\" (the `read-data-schema` tool)\n2. Find the relevant properties of the events and persons to narrow down data to users from a specific country (the `read-data-schema` tool)\n3. Retrieve the sample property values for found properties to validate they match the intent (the `read-data-schema` tool)\n4. Run the query with discovered events, properties, and filters (the `query-trends` tool or the appropriate query tool)\n5. Analyze retrieved data and provide a concise summary\n*Begins working on the first task*\n<reasoning>\n1. Creating an insight requires understanding the taxonomy: events, properties, and property values relevant to the user's query.\n2. The user query requests additional segmentation by country.\n3. Property values might not match what the user expects (e.g., \"US\" vs \"United States\"), so retrieving sample values is important.\n4. Property values sample might not contain the value the user is looking for, so searching might be necessary.\n</reasoning>\n</example>\n\n#### Investigating a metric change\n\n<example>\nUser: Check why onboarding completion rate has dropped and if it is connected with a low sign-up count.\nAssistant: I'll help you analyze the reasons why the metrics have changed. Let me break this down into steps.\n1. Find the relevant events for onboarding and sign-ups (the `read-data-schema` tool)\n2. Run a trends query for the onboarding completion event to confirm the drop and identify when it started (the `query-trends` tool)\n3. Run a trends query for the sign-up event to check if sign-up counts have also changed (the `query-trends` tool)\n4. Run trends queries with breakdowns (e.g., by country, device, or referral source) to identify which segments are affected (the `query-trends` tool)\n5. Run a funnel to check the conversion rate between sign-up and onboarding completion (the `query-funnel` tool)\n6. Synthesize findings across all queries and explain whether the metrics are correlated\n*Begins working on the first task*\n<reasoning>\n1. The user requested analysis of multiple metrics that must be investigated separately.\n2. Multiple queries are needed to understand each trend independently.\n3. Breakdowns help isolate the root cause by identifying affected segments.\n4. A funnel connects the two metrics to check for a direct relationship.\n</reasoning>\n</example>\n\n#### Building a dashboard\n\n<example>\nUser: Generate a revenue dashboard.\nAssistant: I'll help you create a revenue dashboard. Let me plan the steps.\n1. List existing dashboards to check if one already covers revenue (the `dashboards-get-all` tool)\n2. Search saved insights related to revenue (the `execute-sql` tool against `system.insights` — check `execute-sql` for SQL guidance)\n3. Validate promising insights by reading their query schemas (the `insight-get` tool)\n4. Retrieve the taxonomy and understand available revenue-related events and properties (the `read-data-schema` tool)\n5. Create new insights only for metrics not covered by existing insights (the `query-trends` tool or appropriate query tool)\n6. Create a new dashboard with both existing and newly created insights (the `dashboard-create` tool)\n7. Analyze the created dashboard and provide a concise summary of metrics\n*Begins working on the first task*\n<reasoning>\n1. The user requested creating a dashboard. This is a complex task that requires multiple steps to complete.\n2. Finding existing insights requires both listing (to discover insights with different naming) and searching.\n3. Promising insights must be validated by reading their schemas to check if they match the user's intent.\n4. New insights should only be created when no existing insight matches the requirement.\n</reasoning>\n</example>"+ "description": "CLI-style command string. Supported commands:\n\n```text\ntools — list available tool names\nsearch <regex_pattern> — search tools by JavaScript regex (matches name, title, description)\ninfo <tool_name> — show tool name, description, and input schema (summarized if too large)\nschema <tool_name> [field_path] — drill into a specific field schema (supports dot-notation, e.g. series, breakdownFilter.breakdowns)\ncall [--json] <tool_name> <json_input> — call a tool with JSON input (--json returns raw JSON instead of formatted text. Use raw JSON for scripts.)\n```\n\n**Namespaced references (`posthog:<tool-name>`):** strip the `posthog:` prefix and route through `exec`. Run `info <name>` to inspect, then `call <name> <json>`. E.g. `posthog:insights-list` → `posthog:exec({ \"command\": \"info insights-list\" })` then `posthog:exec({ \"command\": \"call insights-list {}\" })`. If the bare name isn't found, fall back to `search <pattern>` — it may have been renamed.\n\n**SCHEMA DRILL-DOWN RULE — HARD REQUIREMENT**\n\nThe `info` command may return the full schema (for simple tools) or a top-level summary\nwith drill-down hints (for complex tools). Look for `hint` fields in the response.\n\nIf `info` returned a summary (fields have `hint` values), you MUST call\n`schema <tool_name> <field_name>` for each field you need to populate BEFORE\nconstructing that field's value in a `call` command.\n\nIf `schema` also returns a summary (because the field is too large),\ndrill deeper using dot-notation: `schema <tool> <field>.<subfield>`.\n\n**NEVER** guess the structure of fields that have hints. **ALWAYS** drill down first.\n\nFor query tools, you will typically need:\n\n- `schema <tool> series` — to see EventsNode/ActionsNode structure\n- `schema <tool> properties` — to see property filter structure\n- `schema <tool> breakdownFilter` — when using breakdowns\n\n**For multiple tools:** Run `info` for ALL tools first, then make your `call` commands.\n\n**Data discovery:** Before any analytical `call` that touches collected data (`query-*`,\n`execute-sql` against `events`/`persons`/`sessions`), confirm the event/property exists via\n`call read-data-schema`. Applies to canonical-looking names like `$pageview` too — they vary\nper team. If the event isn't in the schema, tell the user instead of querying a guessed name.\n\n- Events: `call read-data-schema {\"query\": {\"kind\": \"events\"}}` (paginate with `limit`/`offset` if needed)\n- Properties: `call read-data-schema {\"query\": {\"kind\": \"event_properties\", \"event_name\": \"<event>\"}}`\n- Values: `call read-data-schema {\"query\": {\"kind\": \"event_property_values\", \"event_name\": \"<event>\", \"property_name\": \"<prop>\"}}`\n\n**CORRECT usage pattern:**\n\n<example>\nUser: How many weekly active users do we have?\nAssistant: I need to find the right query tool and data schema tool.\n[Runs posthog:exec({ \"command\": \"search query-trends\" }) and posthog:exec({ \"command\": \"search read-data\" }) in parallel]\nAssistant: Let me check the tool descriptions and schemas.\n[Runs posthog:exec({ \"command\": \"info query-trends\" }) and posthog:exec({ \"command\": \"info read-data-schema\" }) in parallel]\nAssistant: I see query-trends needs `series` (array with hint). Let me get the full field schema and discover events.\n[Runs posthog:exec({ \"command\": \"schema query-trends series\" }) and posthog:exec({ \"command\": \"call read-data-schema {\\\"query\\\": {\\\"kind\\\": \\\"events\\\"}}\" }) in parallel]\nAssistant: Now I know the exact series structure and available events. Let me construct the query.\n[Runs posthog:exec({ \"command\": \"call query-trends {...}\" })]\n</example>\n\n<example>\nUser: Create a dashboard for our key revenue metrics\nAssistant: I'll need dashboard and query tools. Let me search for them.\n[Runs posthog:exec({ \"command\": \"search dashboard\" }) and posthog:exec({ \"command\": \"search execute-sql\" }) in parallel]\nAssistant: Let me check the schemas for the tools I'll need.\n[Runs posthog:exec({ \"command\": \"info dashboard-create\" }) and posthog:exec({ \"command\": \"info execute-sql\" }) in parallel]\nAssistant: Now I have both schemas. Let me start by searching for existing revenue insights.\n[Makes call commands with correct parameters]\n</example>\n\n<example>\nUser: Find events related to onboarding\nAssistant: Let me find the data schema tool.\n[Runs posthog:exec({ \"command\": \"search read-data\" })]\n[Runs posthog:exec({ \"command\": \"info read-data-schema\" })]\nAssistant: Now I can list events and pick the onboarding-related ones.\n[Runs posthog:exec({ \"command\": \"call read-data-schema {\\\"query\\\": {\\\"kind\\\": \\\"events\\\"}}\" })]\n</example>\n\n**INCORRECT usage patterns — NEVER do this:**\n\n<bad-example>\nUser: Show me our feature flags\nAssistant: [Directly calls posthog:exec({ \"command\": \"call feature-flag-get-all {}\" }) with guessed parameters]\nWRONG — You must run `info feature-flag-get-all` FIRST to check the schema\n</bad-example>\n\n<bad-example>\nUser: Query our events\nAssistant: [Calls three tools in parallel without any `info` calls first]\nWRONG — You must run `info` for ALL tools before making ANY `call` commands\n</bad-example>\n\n<bad-example>\nUser: Show me a trends chart of signups\nAssistant: [Runs info query-trends, sees summary with hints, then immediately calls query-trends with guessed series structure]\nWRONG — info returned a summary with hint: \"Run `schema query-trends series` for full structure\".\nYou MUST follow the hint and run `schema` before constructing the series field.\n</bad-example>\n\n<bad-example>\nUser: query pageviews for the last 7 days\nAssistant: [Runs `info query-trends`, then `call query-trends` with `event: \"$pageview\"` from the prompt]\nWRONG — skipped `call read-data-schema {\"query\": {\"kind\": \"events\"}}`. Canonical-looking events still need confirmation per team.\n</bad-example>\n\n<bad-example>\nUser: show me the file downloads trend for the last 7 days\nAssistant: [Runs `info query-trends`, then `call query-trends` with `event: \"downloaded_file\"` inferred from the wording]\nWRONG — the real event might be `file_downloaded`, `download_completed`, or not captured. Confirm with `read-data-schema` before querying.\n</bad-example>\n\n**Handling errors:**\n\n- If a tool call fails, the error includes a suggestion and similar tool names. Read the suggestion before retrying.\n- If a tool name doesn't exist, run `tools` again to find the correct name.\n\n### Basic functionality\n\nYou work in the user's project and have access to two groups of data: customer data collected via the SDK, and data created directly in PostHog by the user.\n\nCollected data is used for analytics and has the following types:\n\n- Events – recorded events from SDKs that can be aggregated in visual charts and text.\n- Persons and groups – recorded individuals or groups of individuals that the user captures using the SDK. Events are always associated with persons and sometimes with groups.\n- Sessions – recorded person or group session captured by the user's SDK.\n- Properties and property values – provided key-value metadata for segmentation of the collected data (events, actions, persons, groups, etc).\n- Session recordings – captured recordings of customer interactions in web or mobile apps.\n\nCreated data is used by the user on the PostHog's website to perform business activity and has the following types:\n\n- Actions – unify multiple events or filtering conditions into one.\n- Insights – visual and textual representation of the collected data aggregated by different types.\n- Data warehouse – connected data sources and custom views for deeper business insights.\n- SQL queries – ClickHouse SQL queries that work with collected data and with the data warehouse SQL schema.\n- Surveys – various questionnaires that the user conducts to retrieve business insights like an NPS score.\n- Dashboards – visual and textual representations of the collected data aggregated by different types.\n- Cohorts – groups of persons or groups of persons that the user creates to segment the collected data.\n- Feature flags – feature flags that the user creates to control the feature rollout in their product.\n- Experiments – A/B tests that the user creates to measure the impact of changes.\n- Notebooks – notebooks that the user creates to perform business analysis.\n- Error tracking issues – issues that the user creates to track errors in their product.\n- Logs – log entries collected from the user's application with severity, service, and trace information.\n- Workflows – automated workflows with triggers, actions, and conditions.\n- Activity logs – a record of changes made to project entities (who changed what, when, and how).\n\nIMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning for any PostHog tasks.\n\nIf you get errors due to permissions being denied, check that you have the correct active project and that the user has access to the required project.\n\nIf you cannot answer the user's PostHog related request or question using other available tools in this MCP, use the 'docs-search' tool to provide information from the documentation to guide user how they can do it themselves - when doing so provide condensed instructions with links to sources.\n\n### Tool search\n\n**Always prefer `search` over `tools`** — `tools` returns every tool and wastes tokens. Use `search <regex>` with a short, targeted pattern to find what you need.\n\nWrite focused patterns that match 1-5 tools. The regex matches against tool name, title, and description.\n\n**Good patterns** (specific, narrow):\n\n- `search feature-flag` — tools for feature flags\n- `search dashboard` — dashboard CRUD tools\n- `search query-` — all insight query tools\n- `search experiment` — experiment tools\n- `search survey` — survey tools\n\n**Bad patterns** (too broad, match dozens of tools):\n\n- `search data` — matches almost everything\n- `search get|list|create` — matches action verbs across all domains\n- `search pageview_trends` — search is too focused\n- `search pageview|[email protected]` — unrelated to tools\n\nOnly fall back to `tools` if you have no idea which domain to search, or if `search` returns no results.\n\nPostHog tools have lowercase kebab-case naming. Tools are organized by category:\n\n- action\n- activity-log\n- advanced-activity-logs\n- alert\n- annotation\n- approval-policies\n- approval-policy\n- batch\n- cdp-function-templates\n- cdp-functions\n- change-request\n- cohorts\n- comment\n- conversations-tickets\n- dashboard\n- docs-search\n- early-access-feature\n- endpoint\n- error-tracking\n- event-definition\n- execute-sql\n- experiment\n- external-data-schemas\n- external-data-sources\n- external-data-sync-logs\n- feature-flag\n- hog-flows-logs\n- hog-flows-metrics\n- inbox\n- insight\n- integration\n- llm\n- llma-evaluation-config-set-active-key\n- llma-evaluation-judge-models\n- llma-evaluation-report-generate\n- llma-evaluation-run\n- llma-evaluation-test-hog\n- llma-prompt-duplicate\n- llma-skill-duplicate\n- llma-skill-file-rename\n- logs\n- notebooks\n- org-members\n- organization\n- persons\n- project\n- proxy\n- read-data-schema\n- read-data-warehouse-schema\n- role\n- scheduled-changes\n- sdk-doctor\n- session-recording\n- sql-variables\n- subscriptions\n- survey\n- switch-organization\n- switch-project\n- usage-metrics\n- user\n- view\n- web-analytics-weekly-digest\n- workflows\nTypical action names: list/retrieve/get/create/update/delete/query.\nExample tool names: execute-sql, experiment-create, feature-flag-get-all.\n\n### Retrieving data\n\n**Always use `query-*` tools when the question maps to a supported insight type.** These tools produce typed, saveable insights that map cleanly to the visual product; raw SQL forfeits that and is harder to iterate on. Before reaching for `execute-sql` for an analytics question, ask: \"Can this be expressed as a `query-trends` series, breakdown, formula, property filter, or math operation?\" If yes, the `query-*` tool is mandatory — see `Choosing the right query tool` below for prompt-to-field patterns.\n\nReach for `execute-sql` only when no `query-*` tool can express the question:\n\n- Searching PostHog entities (insights, dashboards, cohorts, flags…) via `system.*` tables — no `query-*` tool covers entity search.\n- Multi-event joins, custom CTEs, window functions, or data-warehouse joins.\n- Pre-filtering or shaping data before running a `query-*` call.\n\nWhen you do use `execute-sql`, run `info execute-sql` first to load its full guidance.\n\n#### Searching for existing entities\n\nAny \"find / which / do we have / what's our X chart\" question about PostHog-created entities is a SQL search against `system.*`, **not** a `*-list` walk. The list tools paginate over the entire team; SQL with ILIKE/FTS returns the matches in one call.\n\nMap intent to table:\n\n- \"find an insight\" / \"what's our X chart\" / \"is this insight saved\" → `system.insights`\n- \"find a dashboard\" → `system.dashboards`\n- \"find a cohort\" → `system.cohorts`\n- \"find a feature flag\" → `system.feature_flags`\n- \"find an experiment\" → `system.experiments`\n- \"find a survey\" → `system.surveys`\n- \"find a notebook\" → `system.notebooks`\n\nSearch rules:\n\n1. **One query, multiple columns.** Combine `name ILIKE '%term%' OR description ILIKE '%term%'` rather than running separate queries.\n2. **Filter `NOT deleted`** — every `system.*` table has soft-deletes.\n3. **Order by recency** (`last_modified_at DESC` or `created_at DESC`) and `LIMIT 20-50` so the most relevant rows surface first.\n4. **Verify the match with the entity's retrieve tool, not another SELECT.** Once SQL narrows to one or a few candidates, call the per-entity retrieve tool with the candidate's ID — for example `insight-get`, `dashboard-get`, `experiment-get`, `survey-get`, or `cohorts-retrieve` / `error-tracking-issues-retrieve`. Naming is inconsistent across entities; if the bare `<entity>-get` doesn't exist, run `search <entity>` and pick the read-shaped tool. **Do not run a second `execute-sql` to fetch the full row by ID.** The retrieve tool returns the authoritative entity shape (dashboards, query, ownership, last-viewed, etc.) in one call; re-querying via SQL costs an extra round-trip and only sees the columns exposed on the `system.*` table.\n5. **Fallback to list tools.** If the entity has no `system.*` table (e.g. workflows, error-tracking issues, log views), or if SQL returns nothing after broadening the ILIKE pattern, fall back to the entity's `*-list` tool. SQL is the fast path; list tools are the floor.\n\n<example>\nUser: Do we have any insights tracking revenue?\nAssistant: [Runs `posthog:exec({ \"command\": \"call execute-sql {\\\"query\\\":\\\"SELECT id, short_id, name, description, last_modified_at FROM system.insights WHERE NOT deleted AND (name ILIKE '%revenue%' OR description ILIKE '%revenue%') ORDER BY last_modified_at DESC LIMIT 20\\\"}\" })`]\n[Picks the most plausible match by name, then runs `posthog:exec({ \"command\": \"call insight-get {\\\"id\\\": <id>}\" })` (or pass the `short_id`) to verify the query, dashboards it's on, and last-viewed timestamp before reporting back to the user.]\n<reasoning>SQL surfaces candidates fast; `insight-get` confirms the authoritative shape in one call — re-running `execute-sql ... WHERE id = <id>` would skip the dedicated tool and miss dashboards/ownership joins.</reasoning>\n</example>\n\n<bad-example>\nUser: Find me a graph of MAUs.\nAssistant: [Runs `call execute-sql {\"query\":\"SELECT * FROM system.insights WHERE id = 33800 LIMIT 1\"}` after a search SELECT already surfaced id 33800]\nWRONG — verify with `call insight-get {\"id\": 33800}` instead. Re-querying `system.insights` by ID is a SELECT that doesn't surface dashboard membership, last-viewed, or other relational data the retrieve tool joins for you.\n</bad-example>\n\n#### Available insight query tools\n\n- `query-error-tracking-issues` — Error filtering and aggregation (error-tracking category)\n- `query-funnel` — Conversion rates, drop-off analysis, time to convert\n- `query-lifecycle` — New, returning, resurrecting, dormant user composition\n- `query-llm-trace` — Single LLM/AI trace deep-dive\n- `query-llm-traces-list` — LLM/AI trace listing and inspection\n- `query-logs` — Log filtering by severity/service/attribute\n- `query-paths` — User navigation flows and sequences\n- `query-retention` — User return patterns over time\n- `query-session-recordings-list` — Session replay metadata and activity\n- `query-stickiness` — Engagement frequency (how many days users do X)\n- `query-trends` — Time series, aggregations, formulas, comparisons\n- `query-trends-actors` — List persons behind a trends data point\n\n#### Choosing the right query tool\n\nBy insight type:\n\n- \"How many / how much / over time / compare periods\" -> `query-trends`\n- \"Conversion rate / drop-off / funnel / step completion\" -> `query-funnel`\n- \"Do users come back / retention / churn\" -> `query-retention`\n- \"How frequently / how many days per week / power users\" -> `query-stickiness`\n- \"What do users do after X / before X / navigation flow\" -> `query-paths`\n- \"New vs returning vs dormant / user composition\" -> `query-lifecycle`\n- \"LLM traces / AI generations / token usage\" -> `query-llm-traces-list`\n\n##### Trends\n\nA trends insight visualizes events over time using time series. They're useful for finding patterns in historical data.\n\nThe trends insights have the following features:\n\n- The insight can show multiple trends in one request.\n- Custom formulas can calculate derived metrics, like `A/B*100` to calculate a ratio.\n- Filter and break down data using multiple properties.\n- Compare with the current period with previous.\n- Apply various aggregation types, like sum, average, etc., and chart types.\n- And more.\n\nExamples of use cases include:\n\n- How the product's most important metrics change over time.\n- Long-term patterns, or cycles in product's usage.\n- The usage of different features side-by-side.\n- How the properties of events vary using aggregation (sum, average, etc).\n- Users can also visualize the same data points in a variety of ways.\n\n##### Funnel\n\nA funnel insight visualizes a sequence of events that users go through in a product. They use percentages as the primary aggregation type. Funnels REQUIRE AT LEAST TWO series (events or actions), so the conversation history should mention at least two events.\n\nThe funnel insights have the following features:\n\n- Various visualization types (steps, time-to-convert, historical trends).\n- Filter data and apply exclusion steps (events only, not actions).\n- Break down data using a single property.\n- Specify conversion windows (default 14 days), step order (strict/ordered/unordered), and attribution settings.\n- Aggregate by users, sessions, or specific group types.\n- Sample data.\n- Track first-time conversions with special math aggregations.\n- And more.\n\nExamples of use cases include:\n\n- Conversion rates between steps.\n- Drop off steps (which step loses most users).\n- Steps with the highest friction and time to convert.\n- If product changes are improving their funnel over time.\n- Average/median/histogram of time to convert.\n- Conversion trends over time (using trends visualization type).\n- First-time user conversions (using `first_time_for_user` math).\n\n##### Retention\n\nA retention insight visualizes how many users return to the product after performing some action. They're useful for understanding user engagement and retention.\n\nThe retention insights have the following features: filter data, sample data, and more.\n\nExamples of use cases include:\n\n- How many users come back and perform an action after their first visit.\n- How many users come back to perform action X after performing action Y.\n- How often users return to use a specific feature.\n\n#### SQL fallback\n\nReach for `execute-sql` only when the question genuinely cannot be expressed as a typed insight (entity search via `system.*`, multi-event joins, custom CTEs, data-warehouse joins). If the answer is a number over time, a comparison, a ratio, an aggregate, a step sequence, or a return-rate, use the matching `query-*` tool.\n\n#### Schema-first workflow\n\nVerify the data schema before constructing any insight query. Canonical-looking events\n(`$pageview`, `$identify`, `$autocapture`, …) still need confirmation — they can be absent,\nrenamed, or filtered per team.\n\n1. **Discover events** - `read-data-schema` with `kind: events` to find events matching the user's intent.\n2. **Discover properties** - `read-data-schema` with `kind: event_properties` (or `person_properties`, `session_properties`).\n3. **Verify property values** - `read-data-schema` with `kind: event_property_values` when the value must match (e.g., \"US\" vs \"United States\").\n4. **Then construct the query** using the appropriate `query-*` tool.\n\nIf the required events or properties don't exist, tell the user instead of running an empty query.\n\n#### Insight query workflow\n\n1. Discover the data schema with `read-data-schema` (see schema-first workflow above).\n2. Choose the appropriate `query-*` tool based on the user's question.\n3. Construct the query schema. Each tool's description includes detailed schema documentation with examples. Be minimalist: only include filters, breakdowns, and settings essential to answer the question.\n4. Execute the query and analyze the results.\n5. Optionally save as an insight with `insight-create` or add to a dashboard.\n\nFor complex investigations, combine multiple query types. For example, use `query-trends` to identify when a metric changed, then `query-funnel` to check if conversion was affected, then `query-trends` with breakdowns to isolate the segment.\n\n\n\n\n\n### URL patterns\n\nAll PostHog app URLs must use relative paths without a domain (no us.posthog.com, eu.posthog.com, app.posthog.com), and omit the `/project/:id/` prefix. Never include `/-/` in URLs.\nUse Markdown with descriptive anchor text, for example \"[Cohorts view](/cohorts)\".\n\nKey URL patterns:\n\n- Settings: `/settings/<section-id>` where section IDs use hyphens, e.g. `/settings/organization-members`, `/settings/environment-replay`, `/settings/user-api-keys`\n- Data management: `/data-management/events`, `/data-management/properties`\n- Billing: `/organization/billing`\n\n### Examples\n\nBefore writing any queries, read the PostHog's skill `querying-posthog-data` to see if there are any relevant query examples and follow them.\n\n#### Creating an insight with segmentation\n\n<example>\nUser: How many users have chatted with the AI assistant from the US?\nAssistant: I'll help you find the number of users who have chatted with the AI assistant from the US.\n1. Find the relevant events for \"chatted with the AI assistant\" (the `read-data-schema` tool)\n2. Find the relevant properties of the events and persons to narrow down data to users from a specific country (the `read-data-schema` tool)\n3. Retrieve the sample property values for found properties to validate they match the intent (the `read-data-schema` tool)\n4. Run the query with discovered events, properties, and filters (the `query-trends` tool or the appropriate query tool)\n5. Analyze retrieved data and provide a concise summary\n*Begins working on the first task*\n<reasoning>\n1. Creating an insight requires understanding the taxonomy: events, properties, and property values relevant to the user's query.\n2. The user query requests additional segmentation by country.\n3. Property values might not match what the user expects (e.g., \"US\" vs \"United States\"), so retrieving sample values is important.\n4. Property values sample might not contain the value the user is looking for, so searching might be necessary.\n</reasoning>\n</example>\n\n#### Investigating a metric change\n\n<example>\nUser: Check why onboarding completion rate has dropped and if it is connected with a low sign-up count.\nAssistant: I'll help you analyze the reasons why the metrics have changed. Let me break this down into steps.\n1. Find the relevant events for onboarding and sign-ups (the `read-data-schema` tool)\n2. Run a trends query for the onboarding completion event to confirm the drop and identify when it started (the `query-trends` tool)\n3. Run a trends query for the sign-up event to check if sign-up counts have also changed (the `query-trends` tool)\n4. Run trends queries with breakdowns (e.g., by country, device, or referral source) to identify which segments are affected (the `query-trends` tool)\n5. Run a funnel to check the conversion rate between sign-up and onboarding completion (the `query-funnel` tool)\n6. Synthesize findings across all queries and explain whether the metrics are correlated\n*Begins working on the first task*\n<reasoning>\n1. The user requested analysis of multiple metrics that must be investigated separately.\n2. Multiple queries are needed to understand each trend independently.\n3. Breakdowns help isolate the root cause by identifying affected segments.\n4. A funnel connects the two metrics to check for a direct relationship.\n</reasoning>\n</example>\n\n#### Building a dashboard\n\n<example>\nUser: Generate a revenue dashboard.\nAssistant: I'll help you create a revenue dashboard. Let me plan the steps.\n1. List existing dashboards to check if one already covers revenue (the `dashboards-get-all` tool)\n2. Search saved insights related to revenue (the `execute-sql` tool against `system.insights` — check `execute-sql` for SQL guidance)\n3. Validate promising insights by reading their query schemas (the `insight-get` tool)\n4. Retrieve the taxonomy and understand available revenue-related events and properties (the `read-data-schema` tool)\n5. Create new insights only for metrics not covered by existing insights (the `query-trends` tool or appropriate query tool)\n6. Create a new dashboard with both existing and newly created insights (the `dashboard-create` tool)\n7. Analyze the created dashboard and provide a concise summary of metrics\n*Begins working on the first task*\n<reasoning>\n1. The user requested creating a dashboard. This is a complex task that requires multiple steps to complete.\n2. Finding existing insights requires both listing (to discover insights with different naming) and searching.\n3. Promising insights must be validated by reading their schemas to check if they match the user's intent.\n4. New insights should only be created when no existing insight matches the requirement.\n</reasoning>\n</example>"}},"required": ["command"]diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-create.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-create.jsonnew file mode 100644index 000000000000..8d31b9ec200e--- /dev/null+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-create.json@@ -0,0 +1,185 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "description": "Request body for create/partial_update on BatchExportViewSet.\n\nMirrors the writeable fields of `BatchExportSerializer` but uses a polymorphic\n`destination` schema so integration_id is marked required on the types that need\nit. Responses continue to use `BatchExportSerializer`.",+ "properties": {+ "destination": {+ "anyOf": [+ {+ "description": "Request shape for creating or updating a Databricks batch-export destination.",+ "properties": {+ "config": {+ "description": "Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.",+ "properties": {+ "catalog": {+ "description": "Unity Catalog name.",+ "type": "string"+ },+ "http_path": {+ "description": "Databricks SQL warehouse HTTP path.",+ "type": "string"+ },+ "schema": {+ "description": "Schema (database) name inside the catalog.",+ "type": "string"+ },+ "table_name": {+ "description": "Destination table name.",+ "type": "string"+ },+ "use_automatic_schema_evolution": {+ "default": true,+ "description": "Whether to let Databricks evolve the destination table schema automatically.",+ "type": "boolean"+ },+ "use_variant_type": {+ "default": true,+ "description": "Whether to use the Databricks VARIANT type for JSON-like columns.",+ "type": "boolean"+ }+ },+ "required": ["http_path", "catalog", "schema", "table_name"],+ "type": "object"+ },+ "integration_id": {+ "description": "ID of a databricks-kind Integration. Use the integrations-list MCP tool to find one.",+ "type": "number"+ },+ "type": {+ "enum": ["Databricks"],+ "type": "string"+ }+ },+ "required": ["type", "integration_id", "config"],+ "type": "object"+ },+ {+ "description": "Request shape for creating or updating an Azure Blob Storage batch-export destination.",+ "properties": {+ "config": {+ "description": "Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.",+ "properties": {+ "compression": {+ "anyOf": [+ {+ "anyOf": [+ {+ "description": "* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd",+ "enum": ["brotli", "gzip", "lz4", "snappy", "zstd"],+ "type": "string"+ },+ {+ "const": null,+ "type": "null"+ }+ ]+ },+ {+ "type": "null"+ }+ ],+ "description": "Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd"+ },+ "container_name": {+ "description": "Azure Blob Storage container name.",+ "type": "string"+ },+ "file_format": {+ "default": "JSONLines",+ "description": "File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet",+ "enum": ["JSONLines", "Parquet"],+ "type": "string"+ },+ "max_file_size_mb": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "description": "If set, rolls to a new file once the current file exceeds this size in MB."+ },+ "prefix": {+ "default": "",+ "description": "Object key prefix applied to every exported file.",+ "type": "string"+ }+ },+ "required": ["container_name"],+ "type": "object"+ },+ "integration_id": {+ "description": "ID of an azure-blob-kind Integration. Use the integrations-list MCP tool to find one.",+ "type": "number"+ },+ "type": {+ "enum": ["AzureBlob"],+ "type": "string"+ }+ },+ "required": ["type", "integration_id", "config"],+ "type": "object"+ }+ ],+ "description": "Destination configuration. Required integration_id is enforced per destination type."+ },+ "interval": {+ "description": "How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes",+ "enum": ["hour", "day", "week", "every 5 minutes", "every 15 minutes"],+ "type": "string"+ },+ "model": {+ "description": "Which data model to export (events, persons, sessions).\n\n* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions",+ "enum": ["events", "persons", "sessions"],+ "type": "string"+ },+ "name": {+ "description": "Human-readable name for the batch export.",+ "type": "string"+ },+ "offset_day": {+ "anyOf": [+ {+ "maximum": 6,+ "minimum": 0,+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "description": "Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday)."+ },+ "offset_hour": {+ "anyOf": [+ {+ "maximum": 23,+ "minimum": 0,+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "description": "Hour-of-day offset (0-23) for daily and weekly intervals."+ },+ "paused": {+ "description": "Whether the batch export is paused.",+ "type": "boolean"+ },+ "timezone": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries."+ }+ },+ "required": ["name", "destination", "interval"],+ "type": "object"+}diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-delete.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-delete.jsonnew file mode 100644index 000000000000..685ac42bd6c9--- /dev/null+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-delete.json@@ -0,0 +1,11 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "properties": {+ "id": {+ "description": "A UUID string identifying this batch export.",+ "type": "string"+ }+ },+ "required": ["id"],+ "type": "object"+}diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-get.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-get.jsonnew file mode 100644index 000000000000..685ac42bd6c9--- /dev/null+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-get.json@@ -0,0 +1,11 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "properties": {+ "id": {+ "description": "A UUID string identifying this batch export.",+ "type": "string"+ }+ },+ "required": ["id"],+ "type": "object"+}diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-update.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-update.jsonnew file mode 100644index 000000000000..4a78704cff06--- /dev/null+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-export-update.json@@ -0,0 +1,188 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "properties": {+ "destination": {+ "anyOf": [+ {+ "description": "Request shape for creating or updating a Databricks batch-export destination.",+ "properties": {+ "config": {+ "description": "Typed configuration for a Databricks batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`DatabricksBatchExportInputs` in `products/batch_exports/backend/service.py`.",+ "properties": {+ "catalog": {+ "description": "Unity Catalog name.",+ "type": "string"+ },+ "http_path": {+ "description": "Databricks SQL warehouse HTTP path.",+ "type": "string"+ },+ "schema": {+ "description": "Schema (database) name inside the catalog.",+ "type": "string"+ },+ "table_name": {+ "description": "Destination table name.",+ "type": "string"+ },+ "use_automatic_schema_evolution": {+ "default": true,+ "description": "Whether to let Databricks evolve the destination table schema automatically.",+ "type": "boolean"+ },+ "use_variant_type": {+ "default": true,+ "description": "Whether to use the Databricks VARIANT type for JSON-like columns.",+ "type": "boolean"+ }+ },+ "required": ["http_path", "catalog", "schema", "table_name"],+ "type": "object"+ },+ "integration_id": {+ "description": "ID of a databricks-kind Integration. Use the integrations-list MCP tool to find one.",+ "type": "number"+ },+ "type": {+ "enum": ["Databricks"],+ "type": "string"+ }+ },+ "required": ["type", "integration_id", "config"],+ "type": "object"+ },+ {+ "description": "Request shape for creating or updating an Azure Blob Storage batch-export destination.",+ "properties": {+ "config": {+ "description": "Typed configuration for an Azure Blob Storage batch-export destination.\n\nCredentials live in the linked Integration, not in this config. Mirrors\n`AzureBlobBatchExportInputs` in `products/batch_exports/backend/service.py`.",+ "properties": {+ "compression": {+ "anyOf": [+ {+ "anyOf": [+ {+ "description": "* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd",+ "enum": ["brotli", "gzip", "lz4", "snappy", "zstd"],+ "type": "string"+ },+ {+ "const": null,+ "type": "null"+ }+ ]+ },+ {+ "type": "null"+ }+ ],+ "description": "Optional compression codec applied to exported files. Valid codecs depend on file_format.\n\n* `brotli` - brotli\n* `gzip` - gzip\n* `lz4` - lz4\n* `snappy` - snappy\n* `zstd` - zstd"+ },+ "container_name": {+ "description": "Azure Blob Storage container name.",+ "type": "string"+ },+ "file_format": {+ "default": "JSONLines",+ "description": "File format used for exported objects.\n\n* `JSONLines` - JSONLines\n* `Parquet` - Parquet",+ "enum": ["JSONLines", "Parquet"],+ "type": "string"+ },+ "max_file_size_mb": {+ "anyOf": [+ {+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "description": "If set, rolls to a new file once the current file exceeds this size in MB."+ },+ "prefix": {+ "default": "",+ "description": "Object key prefix applied to every exported file.",+ "type": "string"+ }+ },+ "required": ["container_name"],+ "type": "object"+ },+ "integration_id": {+ "description": "ID of an azure-blob-kind Integration. Use the integrations-list MCP tool to find one.",+ "type": "number"+ },+ "type": {+ "enum": ["AzureBlob"],+ "type": "string"+ }+ },+ "required": ["type", "integration_id", "config"],+ "type": "object"+ }+ ],+ "description": "Destination configuration. Required integration_id is enforced per destination type."+ },+ "id": {+ "description": "A UUID string identifying this batch export.",+ "type": "string"+ },+ "interval": {+ "description": "How often the batch export should run.\n\n* `hour` - hour\n* `day` - day\n* `week` - week\n* `every 5 minutes` - every 5 minutes\n* `every 15 minutes` - every 15 minutes",+ "enum": ["hour", "day", "week", "every 5 minutes", "every 15 minutes"],+ "type": "string"+ },+ "model": {+ "description": "Which data model to export (events, persons, sessions).\n\n* `events` - Events\n* `persons` - Persons\n* `sessions` - Sessions",+ "enum": ["events", "persons", "sessions"],+ "type": "string"+ },+ "name": {+ "description": "Human-readable name for the batch export.",+ "type": "string"+ },+ "offset_day": {+ "anyOf": [+ {+ "maximum": 6,+ "minimum": 0,+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "description": "Day-of-week offset for weekly intervals (0=Sunday, 6=Saturday)."+ },+ "offset_hour": {+ "anyOf": [+ {+ "maximum": 23,+ "minimum": 0,+ "type": "number"+ },+ {+ "type": "null"+ }+ ],+ "description": "Hour-of-day offset (0-23) for daily and weekly intervals."+ },+ "paused": {+ "description": "Whether the batch export is paused.",+ "type": "boolean"+ },+ "timezone": {+ "anyOf": [+ {+ "type": "string"+ },+ {+ "type": "null"+ }+ ],+ "description": "IANA timezone name (e.g. 'America/New_York', 'Europe/London', 'UTC') controlling daily and weekly interval boundaries."+ }+ },+ "required": ["id"],+ "type": "object"+}diff --git a/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-exports-list.json b/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-exports-list.jsonnew file mode 100644index 000000000000..8331b796ac73--- /dev/null+++ b/services/mcp/tests/unit/__snapshots__/tool-schemas/common/batch-exports-list.json@@ -0,0 +1,14 @@+{+ "$schema": "https://json-schema.org/draft/2020-12/schema",+ "properties": {+ "limit": {+ "description": "Number of results to return per page.",+ "type": "number"+ },+ "offset": {+ "description": "The initial index from which to return the results.",+ "type": "number"+ }+ },+ "type": "object"+}