The result of a mutation which creates or modifies an Application.If successful, an ApplicationResponse will be returned; otherwise, a
FailureResponse will be returned.
ApplicationResponse | FailureResponse
Show ApplicationResponse
The result of a mutation which creates or modifies an Application.
Application
The Application which was created or modified.
Show Application
The Application object.Propel Applications represent the web or mobile app you are building. They provide the API credentials that allow your client- or server-side app to access the Propel API. The Application’s Propeller determines the speed and cost of your Metric Queries.
The Snowflake account. This is the part before the “snowflakecomputing.com” part of your Snowflake URL.
String
required
The Snowflake database name.
String
required
The Snowflake warehouse name. It should be “PROPELLING” if you used the default name in the setup script.
String
required
The Snowflake schema.
String
required
The Snowflake username. It should be “PROPEL” if you used the default name in the setup script.
String
required
The Snowflake role. It should be “PROPELLER” if you used the default name in the setup script.
Show InternalConnectionSettings
Boolean
Show AmazonDataFirehoseConnectionSettings
The Amazon Data Firehose Data Source’s connection settings.
Boolean
Enables or disables access control for the Data Pool.
If the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.
HttpBasicAuthSettings
required
HTTP basic access authentication credentials. You must configure these same credentials to be included in the
X-Amz-Firehose-Access-Key header when Amazon Data Firehose issues requests to its custom HTTP endpoint.
Show HttpBasicAuthSettings
The HTTP Basic authentication settings.
String
required
Username for HTTP Basic authentication that must be included in the Authorization header when uploading new data.
String
required
Password for HTTP Basic authentication that must be included in the Authorization header when uploading new data.
[AmazonDataFirehoseDataSourceColumn!]
Additional columns for the table in Propel.
Show AmazonDataFirehoseDataSourceColumn
A column in an Amazon Data Firehose Data Source’s table.
String
required
The column name.
String
required
The JSON property that the column will be derived from. For example, if you send a JSON event like this:
{ "greeting": { "message": "hello, world" } }
Then you can use the JSON property “greeting.message” to extract “hello, world” to a column.
Copy this value into the URL field when configuring your Amazon Data Firehose to deliver to a custom HTTP endpoint.
TableSettings
Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a
default will be chosen based on the Data Pool’s timestamp value, if any. You can override these
defaults in order to specify a custom table engine, custom ORDER BY, etc.
Show TableSettings
A Data Pool’s table settings.These describe how the Data Pool’s table is created in ClickHouse.
TableEngine
The ClickHouse table engine for the Data Pool’s table.See TableEngine
[String!]
The PARTITION BY clause for the Data Pool’s table.
[String!]
The PRIMARY KEY clause for the Data Pool’s table.
[String!]
The ORDER BY clause for the Data Pool’s table.
String
The TTL clause for the Data Pool’s table.
String
The primary timestamp column, if any.
String
required
Copy this value into the X-Amz-Firehose-Access-Key header when configuring your Amazon Data Firehose to deliver to a custom HTTP endpoint.
Show AmazonDynamoDBConnectionSettings
The Amazon DynamoDB Data Source’s connection settings.
Boolean
Enables or disables access control for the Data Pool.
If the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.
HttpBasicAuthSettings
required
HTTP basic access authentication credentials. You must configure these same credentials to be included in the
X-Amz-Firehose-Access-Key header when Amazon Data Firehose transmits records from your DynamoDB table to its
custom HTTP endpoint.
Show HttpBasicAuthSettings
The HTTP Basic authentication settings.
String
required
Username for HTTP Basic authentication that must be included in the Authorization header when uploading new data.
String
required
Password for HTTP Basic authentication that must be included in the Authorization header when uploading new data.
[AmazonDynamoDBDataSourceColumn!]
Additional columns for the table in Propel.
Show AmazonDynamoDBDataSourceColumn
A column in an Amazon DynamoDB Data Source’s table.
String
required
The column name.
String
required
The JSON property that the column will be derived from. For example, if you send a JSON event like this:
{ "greeting": { "message": "hello, world" } }
Then you can use the JSON property “greeting.message” to extract “hello, world” to a column.
Copy this value into the URL field when configuring your Amazon Data Firehose to transmit records from your
DynamoDB table to a custom HTTP endpoint.
TableSettings
Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a
default will be chosen based on the Data Pool’s timestamp value, if any. You can override these
defaults in order to specify a custom table engine, custom ORDER BY, etc.
Show TableSettings
A Data Pool’s table settings.These describe how the Data Pool’s table is created in ClickHouse.
TableEngine
The ClickHouse table engine for the Data Pool’s table.See TableEngine
[String!]
The PARTITION BY clause for the Data Pool’s table.
[String!]
The PRIMARY KEY clause for the Data Pool’s table.
[String!]
The ORDER BY clause for the Data Pool’s table.
String
The TTL clause for the Data Pool’s table.
String
The primary timestamp column, if any.
String
required
Copy this value into the X-Amz-Firehose-Access-Key header when configuring your Amazon Data Firehose to
transmit records from your DynamoDB table to its custom HTTP endpoint.
Show ClickHouseConnectionSettings
The ClickHouse Data Source connection settings.
String
required
Which database to connect to
String
required
The password for the provided user
Boolean
Whether the user has readonly permissions or not for querying ClickHouse
String
required
The URL where the ClickHouse host is listening to HTTP[S] connections
String
required
The user for authenticating against the ClickHouse host
Show HttpConnectionSettings
The HTTP Data Source connection settings.
HttpBasicAuthSettings
The HTTP Basic authentication settings for uploading new data.If this parameter is not provided, anyone with the URL to your tables will be able to upload data. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.
Show HttpBasicAuthSettings
The HTTP Basic authentication settings.
String
required
Username for HTTP Basic authentication that must be included in the Authorization header when uploading new data.
String
required
Password for HTTP Basic authentication that must be included in the Authorization header when uploading new data.
The type of authentication to use. Can be SCRAM-SHA-256, SCRAM-SHA-512, PLAIN or NONE
[String!]
required
The bootstrap server(s) to connect to
String
required
The password for the provided user
Boolean
Whether the the connection to the Kafka servers is encrypted or not
String
required
The user for authenticating against the Kafka servers
Show PostgreSqlConnectionSettings
The PostgreSQL Data Source connection settings.
String
Which database to connect to
String
required
The host where PostgreSQL is listening
Int
The port where PostgreSQL is listening (usually 5432)
String
Which schema to use
String
required
The user for authenticating against PostgreSQL
Show S3ConnectionSettings
The connection settings for an Amazon S3 Data Source. These include the Amazon S3 bucket name, the AWS access key ID, and the tables (along with their paths). We do not allow fetching the AWS secret access key after it has been set.
String
required
The AWS access key ID for an IAM user with sufficient access to the Amazon S3 bucket.
The Twilio Segment Data Source connection settings.
Boolean
Enables or disables access control for the Data Pool.
If the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.
HttpBasicAuthSettings
The HTTP basic authentication settings for the Twilio Segment Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.
Show HttpBasicAuthSettings
The HTTP Basic authentication settings.
String
required
Username for HTTP Basic authentication that must be included in the Authorization header when uploading new data.
String
required
Password for HTTP Basic authentication that must be included in the Authorization header when uploading new data.
[TwilioSegmentDataSourceColumn!]
The additional columns for the table in Propel.
Show TwilioSegmentDataSourceColumn
A column in a Twilio Segment Data Source’s table.
String
required
The column name.
String
required
The JSON property that the column will be derived from. For example, if you POST a JSON event like this:
{ "greeting": { "message": "hello, world" } }
Then you can use the JSON property “greeting.message” to extract “hello, world” to a column.
Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a
default will be chosen based on the Data Pool’s timestamp and uniqueId values, if any. You can override these
defaults in order to specify a custom table engine, custom ORDER BY, etc.
Show TableSettings
A Data Pool’s table settings.These describe how the Data Pool’s table is created in ClickHouse.
TableEngine
The ClickHouse table engine for the Data Pool’s table.See TableEngine
[String!]
The PARTITION BY clause for the Data Pool’s table.
[String!]
The PRIMARY KEY clause for the Data Pool’s table.
[String!]
The ORDER BY clause for the Data Pool’s table.
String
The TTL clause for the Data Pool’s table.
String
The primary timestamp column, if any.
String
required
The webhook URL that Twilio Segment should POST events to.
Show WebhookConnectionSettings
The Webhook Data Source connection settings.
Boolean
Enables or disables access control for the Data Pool.
If the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.
HttpBasicAuthSettings
The HTTP basic authentication settings for the Webhook Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.
Show HttpBasicAuthSettings
The HTTP Basic authentication settings.
String
required
Username for HTTP Basic authentication that must be included in the Authorization header when uploading new data.
String
required
Password for HTTP Basic authentication that must be included in the Authorization header when uploading new data.
[WebhookDataSourceColumn!]
The additional columns for the table in Propel.
Show WebhookDataSourceColumn
A column in a Webhook Data Source’s table.
String
required
The column name.
String
required
The JSON property that the column will be derived from. For example, if you POST a JSON event like this:
{ "greeting": { "message": "hello, world" } }
Then you can use the JSON property “greeting.message” to extract “hello, world” to a column.
Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a
default will be chosen based on the Data Pool’s timestamp and uniqueId values, if any. You can override these
defaults in order to specify a custom table engine, custom ORDER BY, etc.
Show TableSettings
A Data Pool’s table settings.These describe how the Data Pool’s table is created in ClickHouse.
TableEngine
The ClickHouse table engine for the Data Pool’s table.See TableEngine
[String!]
The PARTITION BY clause for the Data Pool’s table.
[String!]
The PRIMARY KEY clause for the Data Pool’s table.
[String!]
The ORDER BY clause for the Data Pool’s table.
String
The TTL clause for the Data Pool’s table.
String
The primary timestamp column, if any.
String
required
The Webhook URL for posting JSON events
Show Deprecated Fields
String
deprecated
The tenant ID column, if any.deprecated: Will be removed; use Data Pool Access Policies instead.
String
deprecated
The unique ID column, if any. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated.deprecated: Will be removed; use Table Settings to define the primary key.
DataSourceOrFailureResponse
The result of a mutation which creates or modifies a DataSource.If successful, an DataSourceResponse will be returned; otherwise, a
FailureResponse will be returned.
DataSourceResponse | FailureResponse
Show DataSourceResponse
The result of a mutation which creates or modifies a Data Source.
DataSource
The Data Source which was created or modified.
Show DataSource
The Data Source object.A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.
A list of checks performed on the Data Source during its most recent connection attempt.See DataSourceCheck
DataPoolConnection
If you list Data Pools via the dataPools field on a Data Source, you will get Data Pools for the Data Source.The dataPools field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters first and after or last and before to page forward or backward through the results, respectively.For forward pagination, the first parameter defines the number of results to return, and the after parameter defines the cursor to continue from. You should pass the cursor for the last result of the current page to after.For backward pagination, the last parameter defines the number of results to return, and the before parameter defines the cursor to continue from. You should pass the cursor for the first result of the current page to before.
REPLACING_MERGE_TREE: The ReplacingMergeTree table engine.
SUMMING_MERGE_TREE: The SummingMergeTree table engine.
AGGREGATING_MERGE_TREE: The AggregatingMergeTree table engine.
POSTGRESQL: The PostgreSQL table engine.
Show ReplacingMergeTreeTableEngine
Parameters for the ReplacingMergeTree table engine.
TableEngineType
required
The type is always REPLACING_MERGE_TREE.
Show TableEngineType
ClickHouse table engine types.
MERGE_TREE: The MergeTree table engine.
REPLACING_MERGE_TREE: The ReplacingMergeTree table engine.
SUMMING_MERGE_TREE: The SummingMergeTree table engine.
AGGREGATING_MERGE_TREE: The AggregatingMergeTree table engine.
POSTGRESQL: The PostgreSQL table engine.
String
The ver parameter to the ReplacingMergeTree engine.
Show SummingMergeTreeTableEngine
Parameters for the SummingMergeTree table engine.
TableEngineType
required
The type is always SUMMING_MERGE_TREE.
Show TableEngineType
ClickHouse table engine types.
MERGE_TREE: The MergeTree table engine.
REPLACING_MERGE_TREE: The ReplacingMergeTree table engine.
SUMMING_MERGE_TREE: The SummingMergeTree table engine.
AGGREGATING_MERGE_TREE: The AggregatingMergeTree table engine.
POSTGRESQL: The PostgreSQL table engine.
[String!]
The columns argument for the SummingMergeTree table engine
Show AggregatingMergeTreeTableEngine
Parameters for the AggregatingMergeTree table engine.
TableEngineType
required
The type is always AGGREGATING_MERGE_TREE.
Show TableEngineType
ClickHouse table engine types.
MERGE_TREE: The MergeTree table engine.
REPLACING_MERGE_TREE: The ReplacingMergeTree table engine.
SUMMING_MERGE_TREE: The SummingMergeTree table engine.
AGGREGATING_MERGE_TREE: The AggregatingMergeTree table engine.
POSTGRESQL: The PostgreSQL table engine.
Show PostgreSqlTableEngine
Parameters for the PostgreSQL table engine.
TableEngineType
required
The type is always POSTGRESQL.
Show TableEngineType
ClickHouse table engine types.
MERGE_TREE: The MergeTree table engine.
REPLACING_MERGE_TREE: The ReplacingMergeTree table engine.
SUMMING_MERGE_TREE: The SummingMergeTree table engine.
AGGREGATING_MERGE_TREE: The AggregatingMergeTree table engine.
POSTGRESQL: The PostgreSQL table engine.
DataPoolOrFailureResponse
The result of a mutation which creates or modifies a Data Pool.If successful, an DataPoolResponse will be returned; otherwise, a
FailureResponse will be returned.
DataPoolResponse | FailureResponse
Show DataPoolResponse
The result of a mutation which creates or modifies a Data Pool.
DataPool
The Data Pool which was created or modified.
Show DataPool
The Data Pool object. Data Pools are Propel’s high-speed data store and cache
Whether the Data Pool has access control enabled or not.If the Data Pool has access control enabled, Applications must be assigned Data Pool Access
Policies in order to query the Data Pool and its Metrics.
DataPoolAccessPolicyConnection
required
A paginated list of Data Pool Access Policies available on the Data Pool.
Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.
The Data Pool’s tenant ID, if configured.deprecated: Will be removed; use Data Pool Access Policies insteadSee Tenant
UniqueId
deprecated
The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.deprecated: Will be removed; use table settings to define the primary key.See UniqueId
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.You can provide the filters in the form of SQL.
Show Deprecated Fields
[Filter!]
deprecated
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.deprecated: Use filterSql instead
Show Filter
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The operation to perform when comparing the column and filter values.See FilterOperator
String
The value to compare the column to.
[Filter!]
Additional filters to AND with this one. AND takes precedence over OR.
[Filter!]
Additional filters to OR with this one. AND takes precedence over OR.
Show SumMetricSettings
Settings for Sum Metrics.
String
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.You can provide the filters in the form of SQL.
Dimension
required
The Dimension to be summed.
Show Dimension
The Dimension object that represents a column in a table.
String
required
The column name it represents.
String
required
The column data type.
Boolean
Whether the column is nullable.
Show Deprecated Fields
Boolean
deprecated
Whether the column is a unique key.deprecated: This is Snowflake-specific, and will be removed
DimensionStatistics
deprecated
The statistics for the dimension values. Fetching statistics incurs query costs.deprecated: Issue normal queries for calculating statsSee DimensionStatistics
Show Deprecated Fields
[Filter!]
deprecated
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.deprecated: Use filterSql instead
Show Filter
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The operation to perform when comparing the column and filter values.See FilterOperator
String
The value to compare the column to.
[Filter!]
Additional filters to AND with this one. AND takes precedence over OR.
[Filter!]
Additional filters to OR with this one. AND takes precedence over OR.
Show CountDistinctMetricSettings
Settings for Count Distinct Metrics.
String
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.You can provide the filters in the form of SQL.
Dimension
required
The Dimension where the count distinct operation is going to be performed.
Show Dimension
The Dimension object that represents a column in a table.
String
required
The column name it represents.
String
required
The column data type.
Boolean
Whether the column is nullable.
Show Deprecated Fields
Boolean
deprecated
Whether the column is a unique key.deprecated: This is Snowflake-specific, and will be removed
DimensionStatistics
deprecated
The statistics for the dimension values. Fetching statistics incurs query costs.deprecated: Issue normal queries for calculating statsSee DimensionStatistics
Show Deprecated Fields
[Filter!]
deprecated
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.deprecated: Use filterSql instead
Show Filter
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The operation to perform when comparing the column and filter values.See FilterOperator
String
The value to compare the column to.
[Filter!]
Additional filters to AND with this one. AND takes precedence over OR.
[Filter!]
Additional filters to OR with this one. AND takes precedence over OR.
Show AverageMetricSettings
Settings for Average Metrics.
String
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.You can provide the filters in the form of SQL.
Dimension
required
The Dimension to be averaged.
Show Dimension
The Dimension object that represents a column in a table.
String
required
The column name it represents.
String
required
The column data type.
Boolean
Whether the column is nullable.
Show Deprecated Fields
Boolean
deprecated
Whether the column is a unique key.deprecated: This is Snowflake-specific, and will be removed
DimensionStatistics
deprecated
The statistics for the dimension values. Fetching statistics incurs query costs.deprecated: Issue normal queries for calculating statsSee DimensionStatistics
Show Deprecated Fields
[Filter!]
deprecated
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.deprecated: Use filterSql instead
Show Filter
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The operation to perform when comparing the column and filter values.See FilterOperator
String
The value to compare the column to.
[Filter!]
Additional filters to AND with this one. AND takes precedence over OR.
[Filter!]
Additional filters to OR with this one. AND takes precedence over OR.
Show MinMetricSettings
Settings for Min Metrics.
String
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.You can provide the filters in the form of SQL.
Dimension
required
The Dimension to select the minimum from.
Show Dimension
The Dimension object that represents a column in a table.
String
required
The column name it represents.
String
required
The column data type.
Boolean
Whether the column is nullable.
Show Deprecated Fields
Boolean
deprecated
Whether the column is a unique key.deprecated: This is Snowflake-specific, and will be removed
DimensionStatistics
deprecated
The statistics for the dimension values. Fetching statistics incurs query costs.deprecated: Issue normal queries for calculating statsSee DimensionStatistics
Show Deprecated Fields
[Filter!]
deprecated
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.deprecated: Use filterSql instead
Show Filter
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The operation to perform when comparing the column and filter values.See FilterOperator
String
The value to compare the column to.
[Filter!]
Additional filters to AND with this one. AND takes precedence over OR.
[Filter!]
Additional filters to OR with this one. AND takes precedence over OR.
Show MaxMetricSettings
Settings for Max Metrics.
String
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.You can provide the filters in the form of SQL.
Dimension
required
The Dimension to select the maximum from.
Show Dimension
The Dimension object that represents a column in a table.
String
required
The column name it represents.
String
required
The column data type.
Boolean
Whether the column is nullable.
Show Deprecated Fields
Boolean
deprecated
Whether the column is a unique key.deprecated: This is Snowflake-specific, and will be removed
DimensionStatistics
deprecated
The statistics for the dimension values. Fetching statistics incurs query costs.deprecated: Issue normal queries for calculating statsSee DimensionStatistics
Show Deprecated Fields
[Filter!]
deprecated
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.deprecated: Use filterSql instead
Show Filter
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The operation to perform when comparing the column and filter values.See FilterOperator
String
The value to compare the column to.
[Filter!]
Additional filters to AND with this one. AND takes precedence over OR.
[Filter!]
Additional filters to OR with this one. AND takes precedence over OR.
Show CustomMetricSettings
Settings for Custom Metrics.
String
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.You can provide the filters in the form of SQL.
String
required
The expression that defines the aggregation function for this Metric.
Show Deprecated Fields
[Filter!]
deprecated
Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the filters property on the timeSeriesInput, counterInput, or leaderboardInput objects. There is no need to add filters to be able to filter at query time.deprecated: Use filterSql instead
Show Filter
The fields of a filter.You can construct more complex filters using and and or. For example, to construct a filter equivalent to
(value > 0 AND value <= 100) OR status = "confirmed"
The operation to perform when comparing the column and filter values.See FilterOperator
String
The value to compare the column to.
[Filter!]
Additional filters to AND with this one. AND takes precedence over OR.
[Filter!]
Additional filters to OR with this one. AND takes precedence over OR.
Was this page helpful?
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Propel docs","colors":{"primary":"#53389E","light":"#B692F6","dark":"#42307D"},"favicon":"/logo/favicon.svg","styling":{"eyebrows":null,"codeblocks":"system"},"logo":{"light":"https://mintcdn.com/propeldocs/sNpmg5Sbvcqytj17/logo/light.svg?fit=max\u0026auto=format\u0026n=sNpmg5Sbvcqytj17\u0026q=85\u0026s=9d44dbaa0d94a0b0efe5b94548583b52","dark":"https://mintcdn.com/propeldocs/sNpmg5Sbvcqytj17/logo/dark.svg?fit=max\u0026auto=format\u0026n=sNpmg5Sbvcqytj17\u0026q=85\u0026s=018cb109a52097ee645367f1cabdbac1","href":"https://www.propeldata.com/docs"},"background":{"decoration":"windows"},"navbar":{"links":[{"label":"Sign up","href":"https://console.propeldata.com/get-started"}],"primary":{"type":"button","label":"Console","href":"https://console.propeldata.com"}},"footer":{"socials":{"website":"https://www.propeldata.com","x":"https://x.com/PropelDataCloud","github":"https://github.com/propeldata","linkedin":"https://www.linkedin.com/company/propeldata"}},"integrations":{"gtm":{"tagId":"GTM-KWHDSH7X"},"segment":{"key":"JofuhN1DoSM6E42ZVPcVUN3jqCmyWVP1"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"propeldocs","hasAudioNarration":false,"actualSubdomain":"propeldocs","customDomains":["www.propeldata.com"],"gitSource":{"type":"github","owner":"propeldata","repo":"docsv2","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae921c25a187fc783f53d53:success","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Embeddable UI","count":72},{"language":"default","tag":"Serverless Cloud","count":65},{"language":"default","tag":"Ingestion","count":44},{"language":"default","tag":"Query APIs","count":40},{"language":"default","tag":"API Reference","count":18},{"language":"default","tag":"Get Started","count":17},{"language":"default","tag":"Guides","count":16},{"language":"default","tag":"Changelog","count":9},{"language":"default","tag":"Manage","count":9},{"language":"default","tag":"Themes","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"docs/management-api/unions","slug":"/docs/management-api/unions","pageMetadata":{"title":"Unions","description":"Union types in the Management API","icon":"code-merge","href":"/docs/management-api/unions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Union types in the Management API\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(`div`,{}),`\n`,_jsx(Heading,{level:`2`,id:`applicationorfailureresponse`,children:`ApplicationOrFailureResponse`}),`\n`,_jsx(_components.p,{children:`The result of a mutation which creates or modifies an Application.`}),`\n`,_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`ApplicationResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),`\n`,_jsxs(ParamField,{path:`ApplicationOrFailureResponse`,type:`ApplicationResponse | FailureResponse`,id:`param-application-or-failure-response`,children:[_jsxs(Expandable,{title:`ApplicationResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies an Application.`}),_jsxs(ParamField,{path:`application`,type:`Application`,id:`param-application`,children:[_jsx(_components.p,{children:`The Application which was created or modified.`}),_jsxs(Expandable,{title:`Application`,children:[_jsx(_components.p,{children:`The Application object.`}),_jsx(_components.p,{children:`Propel Applications represent the web or mobile app you are building. They provide the API credentials that allow your client- or server-side app to access the Propel API. The Application’s Propeller determines the speed and cost of your Metric Queries.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id`,children:_jsx(_components.p,{children:`The Application’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name`,children:_jsx(_components.p,{children:`The Application’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description`,children:_jsx(_components.p,{children:`The Application’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account`,children:[_jsx(_components.p,{children:`The Application’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment`,children:[_jsx(_components.p,{children:`The Application’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at`,children:_jsx(_components.p,{children:`The Application’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at`,children:_jsx(_components.p,{children:`The Application’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by`,children:_jsx(_components.p,{children:`The Application’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by`,children:_jsx(_components.p,{children:`The Application’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`clientId`,type:`String`,required:true,id:`param-client-id`,children:_jsx(_components.p,{children:`The Application’s OAuth 2.0 client identifier.`})}),_jsx(ParamField,{path:`secret`,type:`String`,id:`param-secret`,children:_jsx(_components.p,{children:`The Application’s OAuth 2.0 client secret.`})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,required:true,id:`param-propeller`,children:[_jsx(_components.p,{children:`The Application’s Propeller.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#propeller`,children:`Propeller`})]})]}),_jsxs(ParamField,{path:`scopes`,type:`[ApplicationScope!]`,required:true,id:`param-scopes`,children:[_jsx(_components.p,{children:`The Application’s OAuth 2.0 scopes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#applicationscope`,children:`ApplicationScope`})]})]}),_jsxs(ParamField,{path:`dataPoolAccessPolicies`,type:`DataPoolAccessPolicyConnection`,required:true,id:`param-data-pool-access-policies`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies associated with the Application.`}),_jsx(Heading,{level:`3`,id:`arguments`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolaccesspolicyconnection`,children:`DataPoolAccessPolicyConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies`,children:[_jsx(_components.p,{children:`A paginated list of Policies associated with the Application.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-2`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-1`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-1`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-1`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-1`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]})})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message`,children:_jsx(_components.p,{children:`The error message.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`connectionsettings`,children:`ConnectionSettings`}),`\n`,_jsxs(ParamField,{path:`ConnectionSettings`,type:`SnowflakeConnectionSettings | InternalConnectionSettings | AmazonDataFirehoseConnectionSettings | AmazonDynamoDBConnectionSettings | ClickHouseConnectionSettings | HttpConnectionSettings | KafkaConnectionSettings | PostgreSqlConnectionSettings | S3ConnectionSettings | TwilioSegmentConnectionSettings | WebhookConnectionSettings`,id:`param-connection-settings`,children:[_jsxs(Expandable,{title:`SnowflakeConnectionSettings`,children:[_jsx(_components.p,{children:`The Snowflake Data Source connection settings.`}),_jsx(ParamField,{path:`account`,type:`String`,required:true,id:`param-account-1`,children:_jsx(_components.p,{children:`The Snowflake account. This is the part before the “snowflakecomputing.com” part of your Snowflake URL.`})}),_jsx(ParamField,{path:`database`,type:`String`,required:true,id:`param-database`,children:_jsx(_components.p,{children:`The Snowflake database name.`})}),_jsx(ParamField,{path:`warehouse`,type:`String`,required:true,id:`param-warehouse`,children:_jsx(_components.p,{children:`The Snowflake warehouse name. It should be “PROPELLING” if you used the default name in the setup script.`})}),_jsx(ParamField,{path:`schema`,type:`String`,required:true,id:`param-schema`,children:_jsx(_components.p,{children:`The Snowflake schema.`})}),_jsx(ParamField,{path:`username`,type:`String`,required:true,id:`param-username`,children:_jsx(_components.p,{children:`The Snowflake username. It should be “PROPEL” if you used the default name in the setup script.`})}),_jsx(ParamField,{path:`role`,type:`String`,required:true,id:`param-role`,children:_jsx(_components.p,{children:`The Snowflake role. It should be “PROPELLER” if you used the default name in the setup script.`})})]}),_jsx(Expandable,{title:`InternalConnectionSettings`,children:_jsx(ParamField,{path:`_`,type:`Boolean`,id:`param`})}),_jsxs(Expandable,{title:`AmazonDataFirehoseConnectionSettings`,children:[_jsx(_components.p,{children:`The Amazon Data Firehose Data Source’s connection settings.`}),_jsx(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled`,children:_jsx(_components.p,{children:`Enables or disables access control for the Data Pool.\nIf the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.`})}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthSettings`,required:true,id:`param-basic-auth`,children:[_jsxs(_components.p,{children:[`HTTP basic access authentication credentials. You must configure these same credentials to be included in the\n`,_jsx(_components.code,{children:`X-Amz-Firehose-Access-Key`}),` header when Amazon Data Firehose issues requests to its custom HTTP endpoint.`]}),_jsxs(Expandable,{title:`HttpBasicAuthSettings`,children:[_jsx(_components.p,{children:`The HTTP Basic authentication settings.`}),_jsx(ParamField,{path:`username`,type:`String`,required:true,id:`param-username-1`,children:_jsx(_components.p,{children:`Username for HTTP Basic authentication that must be included in the Authorization header when uploading new data.`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password`,children:_jsx(_components.p,{children:`Password for HTTP Basic authentication that must be included in the Authorization header when uploading new data.`})})]})]}),_jsxs(ParamField,{path:`columns`,type:`[AmazonDataFirehoseDataSourceColumn!]`,id:`param-columns`,children:[_jsx(_components.p,{children:`Additional columns for the table in Propel.`}),_jsxs(Expandable,{title:`AmazonDataFirehoseDataSourceColumn`,children:[_jsx(_components.p,{children:`A column in an Amazon Data Firehose Data Source’s table.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The column name.`})}),_jsxs(ParamField,{path:`jsonProperty`,type:`String`,required:true,id:`param-json-property`,children:[_jsx(_components.p,{children:`The JSON property that the column will be derived from. For example, if you send a JSON event like this:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"greeting\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hello, world\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`]})})}),_jsx(_components.p,{children:`Then you can use the JSON property “greeting.message” to extract “hello, world” to a column.`})]}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type`,children:[_jsx(_components.p,{children:`The column type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`nullable`,type:`Boolean`,required:true,id:`param-nullable`,children:_jsx(_components.p,{children:`Whether the column’s type is nullable or not.`})})]})]}),_jsx(ParamField,{path:`httpEndpointURL`,type:`String`,required:true,id:`param-http-endpoint-url`,children:_jsx(_components.p,{children:`Copy this value into the URL field when configuring your Amazon Data Firehose to deliver to a custom HTTP endpoint.`})}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,id:`param-table-settings`,children:[_jsxs(_components.p,{children:[`Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a\ndefault will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` value, if any. You can override these\ndefaults in order to specify a custom table engine, custom ORDER BY, etc.`]}),_jsxs(Expandable,{title:`TableSettings`,children:[_jsx(_components.p,{children:`A Data Pool’s table settings.`}),_jsx(_components.p,{children:`These describe how the Data Pool’s table is created in ClickHouse.`}),_jsxs(ParamField,{path:`engine`,type:`TableEngine`,id:`param-engine`,children:[_jsx(_components.p,{children:`The ClickHouse table engine for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#tableengine`,children:`TableEngine`})]})]}),_jsx(ParamField,{path:`partitionBy`,type:`[String!]`,id:`param-partition-by`,children:_jsx(_components.p,{children:`The PARTITION BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`primaryKey`,type:`[String!]`,id:`param-primary-key`,children:_jsx(_components.p,{children:`The PRIMARY KEY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`orderBy`,type:`[String!]`,id:`param-order-by`,children:_jsx(_components.p,{children:`The ORDER BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`ttl`,type:`String`,id:`param-ttl`,children:_jsx(_components.p,{children:`The TTL clause for the Data Pool’s table.`})})]})]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp`,children:_jsx(_components.p,{children:`The primary timestamp column, if any.`})}),_jsx(ParamField,{path:`xAmzFirehoseAccessKey`,type:`String`,required:true,id:`param-x-amz-firehose-access-key`,children:_jsxs(_components.p,{children:[`Copy this value into the `,_jsx(_components.code,{children:`X-Amz-Firehose-Access-Key`}),` header when configuring your Amazon Data Firehose to deliver to a custom HTTP endpoint.`]})})]}),_jsxs(Expandable,{title:`AmazonDynamoDBConnectionSettings`,children:[_jsx(_components.p,{children:`The Amazon DynamoDB Data Source’s connection settings.`}),_jsx(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled-1`,children:_jsx(_components.p,{children:`Enables or disables access control for the Data Pool.\nIf the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.`})}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthSettings`,required:true,id:`param-basic-auth-1`,children:[_jsxs(_components.p,{children:[`HTTP basic access authentication credentials. You must configure these same credentials to be included in the\n`,_jsx(_components.code,{children:`X-Amz-Firehose-Access-Key`}),` header when Amazon Data Firehose transmits records from your DynamoDB table to its\ncustom HTTP endpoint.`]}),_jsxs(Expandable,{title:`HttpBasicAuthSettings`,children:[_jsx(_components.p,{children:`The HTTP Basic authentication settings.`}),_jsx(ParamField,{path:`username`,type:`String`,required:true,id:`param-username-2`,children:_jsx(_components.p,{children:`Username for HTTP Basic authentication that must be included in the Authorization header when uploading new data.`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password-1`,children:_jsx(_components.p,{children:`Password for HTTP Basic authentication that must be included in the Authorization header when uploading new data.`})})]})]}),_jsxs(ParamField,{path:`columns`,type:`[AmazonDynamoDBDataSourceColumn!]`,id:`param-columns-1`,children:[_jsx(_components.p,{children:`Additional columns for the table in Propel.`}),_jsxs(Expandable,{title:`AmazonDynamoDBDataSourceColumn`,children:[_jsx(_components.p,{children:`A column in an Amazon DynamoDB Data Source’s table.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`The column name.`})}),_jsxs(ParamField,{path:`jsonProperty`,type:`String`,required:true,id:`param-json-property-1`,children:[_jsx(_components.p,{children:`The JSON property that the column will be derived from. For example, if you send a JSON event like this:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"greeting\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hello, world\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`]})})}),_jsx(_components.p,{children:`Then you can use the JSON property “greeting.message” to extract “hello, world” to a column.`})]}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-1`,children:[_jsx(_components.p,{children:`The column type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`nullable`,type:`Boolean`,required:true,id:`param-nullable-1`,children:_jsx(_components.p,{children:`Whether the column’s type is nullable or not.`})})]})]}),_jsx(ParamField,{path:`httpEndpointURL`,type:`String`,required:true,id:`param-http-endpoint-url-1`,children:_jsx(_components.p,{children:`Copy this value into the URL field when configuring your Amazon Data Firehose to transmit records from your\nDynamoDB table to a custom HTTP endpoint.`})}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,id:`param-table-settings-1`,children:[_jsxs(_components.p,{children:[`Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a\ndefault will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` value, if any. You can override these\ndefaults in order to specify a custom table engine, custom ORDER BY, etc.`]}),_jsxs(Expandable,{title:`TableSettings`,children:[_jsx(_components.p,{children:`A Data Pool’s table settings.`}),_jsx(_components.p,{children:`These describe how the Data Pool’s table is created in ClickHouse.`}),_jsxs(ParamField,{path:`engine`,type:`TableEngine`,id:`param-engine-1`,children:[_jsx(_components.p,{children:`The ClickHouse table engine for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#tableengine`,children:`TableEngine`})]})]}),_jsx(ParamField,{path:`partitionBy`,type:`[String!]`,id:`param-partition-by-1`,children:_jsx(_components.p,{children:`The PARTITION BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`primaryKey`,type:`[String!]`,id:`param-primary-key-1`,children:_jsx(_components.p,{children:`The PRIMARY KEY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`orderBy`,type:`[String!]`,id:`param-order-by-1`,children:_jsx(_components.p,{children:`The ORDER BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`ttl`,type:`String`,id:`param-ttl-1`,children:_jsx(_components.p,{children:`The TTL clause for the Data Pool’s table.`})})]})]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-1`,children:_jsx(_components.p,{children:`The primary timestamp column, if any.`})}),_jsx(ParamField,{path:`xAmzFirehoseAccessKey`,type:`String`,required:true,id:`param-x-amz-firehose-access-key-1`,children:_jsxs(_components.p,{children:[`Copy this value into the `,_jsx(_components.code,{children:`X-Amz-Firehose-Access-Key`}),` header when configuring your Amazon Data Firehose to\ntransmit records from your DynamoDB table to its custom HTTP endpoint.`]})})]}),_jsxs(Expandable,{title:`ClickHouseConnectionSettings`,children:[_jsx(_components.p,{children:`The ClickHouse Data Source connection settings.`}),_jsx(ParamField,{path:`database`,type:`String`,required:true,id:`param-database-1`,children:_jsx(_components.p,{children:`Which database to connect to`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password-2`,children:_jsx(_components.p,{children:`The password for the provided user`})}),_jsx(ParamField,{path:`readonly`,type:`Boolean`,id:`param-readonly`,children:_jsx(_components.p,{children:`Whether the user has readonly permissions or not for querying ClickHouse`})}),_jsx(ParamField,{path:`url`,type:`String`,required:true,id:`param-url`,children:_jsx(_components.p,{children:`The URL where the ClickHouse host is listening to HTTP[S] connections`})}),_jsx(ParamField,{path:`user`,type:`String`,required:true,id:`param-user`,children:_jsx(_components.p,{children:`The user for authenticating against the ClickHouse host`})})]}),_jsxs(Expandable,{title:`HttpConnectionSettings`,children:[_jsx(_components.p,{children:`The HTTP Data Source connection settings.`}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthSettings`,id:`param-basic-auth-2`,children:[_jsx(_components.p,{children:`The HTTP Basic authentication settings for uploading new data.`}),_jsx(_components.p,{children:`If this parameter is not provided, anyone with the URL to your tables will be able to upload data. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.`}),_jsxs(Expandable,{title:`HttpBasicAuthSettings`,children:[_jsx(_components.p,{children:`The HTTP Basic authentication settings.`}),_jsx(ParamField,{path:`username`,type:`String`,required:true,id:`param-username-3`,children:_jsx(_components.p,{children:`Username for HTTP Basic authentication that must be included in the Authorization header when uploading new data.`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password-3`,children:_jsx(_components.p,{children:`Password for HTTP Basic authentication that must be included in the Authorization header when uploading new data.`})})]})]}),_jsxs(ParamField,{path:`tables`,type:`[HttpDataSourceTable!]`,required:true,id:`param-tables`,children:[_jsx(_components.p,{children:`The HTTP Data Source’s tables.`}),_jsxs(Expandable,{title:`HttpDataSourceTable`,children:[_jsx(_components.p,{children:`An HTTP Data Source’s table.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-1`,children:_jsx(_components.p,{children:`The ID of the table`})}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`The name of the table`})}),_jsxs(ParamField,{path:`columns`,type:`[HttpDataSourceColumn!]`,required:true,id:`param-columns-2`,children:[_jsx(_components.p,{children:`All the columns present in the table`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#httpdatasourcecolumn`,children:`HttpDataSourceColumn`})]})]})]})]})]}),_jsxs(Expandable,{title:`KafkaConnectionSettings`,children:[_jsx(_components.p,{children:`The Kafka Data Source connection settings.`}),_jsx(ParamField,{path:`auth`,type:`String`,required:true,id:`param-auth`,children:_jsx(_components.p,{children:`The type of authentication to use. Can be SCRAM-SHA-256, SCRAM-SHA-512, PLAIN or NONE`})}),_jsx(ParamField,{path:`bootstrapServers`,type:`[String!]`,required:true,id:`param-bootstrap-servers`,children:_jsx(_components.p,{children:`The bootstrap server(s) to connect to`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password-4`,children:_jsx(_components.p,{children:`The password for the provided user`})}),_jsx(ParamField,{path:`tls`,type:`Boolean`,id:`param-tls`,children:_jsx(_components.p,{children:`Whether the the connection to the Kafka servers is encrypted or not`})}),_jsx(ParamField,{path:`user`,type:`String`,required:true,id:`param-user-1`,children:_jsx(_components.p,{children:`The user for authenticating against the Kafka servers`})})]}),_jsxs(Expandable,{title:`PostgreSqlConnectionSettings`,children:[_jsx(_components.p,{children:`The PostgreSQL Data Source connection settings.`}),_jsx(ParamField,{path:`database`,type:`String`,id:`param-database-2`,children:_jsx(_components.p,{children:`Which database to connect to`})}),_jsx(ParamField,{path:`host`,type:`String`,required:true,id:`param-host`,children:_jsx(_components.p,{children:`The host where PostgreSQL is listening`})}),_jsx(ParamField,{path:`port`,type:`Int`,id:`param-port`,children:_jsx(_components.p,{children:`The port where PostgreSQL is listening (usually 5432)`})}),_jsx(ParamField,{path:`schema`,type:`String`,id:`param-schema-1`,children:_jsx(_components.p,{children:`Which schema to use`})}),_jsx(ParamField,{path:`user`,type:`String`,required:true,id:`param-user-2`,children:_jsx(_components.p,{children:`The user for authenticating against PostgreSQL`})})]}),_jsxs(Expandable,{title:`S3ConnectionSettings`,children:[_jsx(_components.p,{children:`The connection settings for an Amazon S3 Data Source. These include the Amazon S3 bucket name, the AWS access key ID, and the tables (along with their paths). We do not allow fetching the AWS secret access key after it has been set.`}),_jsx(ParamField,{path:`awsAccessKeyId`,type:`String`,required:true,id:`param-aws-access-key-id`,children:_jsx(_components.p,{children:`The AWS access key ID for an IAM user with sufficient access to the Amazon S3 bucket.`})}),_jsx(ParamField,{path:`bucket`,type:`String`,required:true,id:`param-bucket`,children:_jsx(_components.p,{children:`The name of the Amazon S3 bucket.`})}),_jsxs(ParamField,{path:`tables`,type:`[S3DataSourceTable!]`,required:true,id:`param-tables-1`,children:[_jsx(_components.p,{children:`The Amazon S3 Data Source’s tables.`}),_jsxs(Expandable,{title:`S3DataSourceTable`,children:[_jsx(_components.p,{children:`An Amazon S3 Data Source’s table.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-2`,children:_jsx(_components.p,{children:`The ID of the table`})}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-3`,children:_jsx(_components.p,{children:`The name of the table`})}),_jsx(ParamField,{path:`path`,type:`String`,id:`param-path`,children:_jsx(_components.p,{children:`The path to the table’s files in Amazon S3.`})}),_jsxs(ParamField,{path:`columns`,type:`[S3DataSourceColumn!]`,required:true,id:`param-columns-3`,children:[_jsx(_components.p,{children:`All the columns present in the table`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#s3datasourcecolumn`,children:`S3DataSourceColumn`})]})]})]})]})]}),_jsxs(Expandable,{title:`TwilioSegmentConnectionSettings`,children:[_jsx(_components.p,{children:`The Twilio Segment Data Source connection settings.`}),_jsx(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled-2`,children:_jsx(_components.p,{children:`Enables or disables access control for the Data Pool.\nIf the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.`})}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthSettings`,id:`param-basic-auth-3`,children:[_jsx(_components.p,{children:`The HTTP basic authentication settings for the Twilio Segment Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.`}),_jsxs(Expandable,{title:`HttpBasicAuthSettings`,children:[_jsx(_components.p,{children:`The HTTP Basic authentication settings.`}),_jsx(ParamField,{path:`username`,type:`String`,required:true,id:`param-username-4`,children:_jsx(_components.p,{children:`Username for HTTP Basic authentication that must be included in the Authorization header when uploading new data.`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password-5`,children:_jsx(_components.p,{children:`Password for HTTP Basic authentication that must be included in the Authorization header when uploading new data.`})})]})]}),_jsxs(ParamField,{path:`columns`,type:`[TwilioSegmentDataSourceColumn!]`,id:`param-columns-4`,children:[_jsx(_components.p,{children:`The additional columns for the table in Propel.`}),_jsxs(Expandable,{title:`TwilioSegmentDataSourceColumn`,children:[_jsx(_components.p,{children:`A column in a Twilio Segment Data Source’s table.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-4`,children:_jsx(_components.p,{children:`The column name.`})}),_jsxs(ParamField,{path:`jsonProperty`,type:`String`,required:true,id:`param-json-property-2`,children:[_jsx(_components.p,{children:`The JSON property that the column will be derived from. For example, if you POST a JSON event like this:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"greeting\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hello, world\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`]})})}),_jsx(_components.p,{children:`Then you can use the JSON property “greeting.message” to extract “hello, world” to a column.`})]}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-2`,children:[_jsx(_components.p,{children:`The column type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`nullable`,type:`Boolean`,required:true,id:`param-nullable-2`,children:_jsx(_components.p,{children:`Whether the column’s type is nullable or not.`})})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,id:`param-table-settings-2`,children:[_jsxs(_components.p,{children:[`Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a\ndefault will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` and `,_jsx(_components.code,{children:`uniqueId`}),` values, if any. You can override these\ndefaults in order to specify a custom table engine, custom ORDER BY, etc.`]}),_jsxs(Expandable,{title:`TableSettings`,children:[_jsx(_components.p,{children:`A Data Pool’s table settings.`}),_jsx(_components.p,{children:`These describe how the Data Pool’s table is created in ClickHouse.`}),_jsxs(ParamField,{path:`engine`,type:`TableEngine`,id:`param-engine-2`,children:[_jsx(_components.p,{children:`The ClickHouse table engine for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#tableengine`,children:`TableEngine`})]})]}),_jsx(ParamField,{path:`partitionBy`,type:`[String!]`,id:`param-partition-by-2`,children:_jsx(_components.p,{children:`The PARTITION BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`primaryKey`,type:`[String!]`,id:`param-primary-key-2`,children:_jsx(_components.p,{children:`The PRIMARY KEY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`orderBy`,type:`[String!]`,id:`param-order-by-2`,children:_jsx(_components.p,{children:`The ORDER BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`ttl`,type:`String`,id:`param-ttl-2`,children:_jsx(_components.p,{children:`The TTL clause for the Data Pool’s table.`})})]})]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-2`,children:_jsx(_components.p,{children:`The primary timestamp column, if any.`})}),_jsx(ParamField,{path:`webhookUrl`,type:`String`,required:true,id:`param-webhook-url`,children:_jsx(_components.p,{children:`The webhook URL that Twilio Segment should POST events to.`})})]}),_jsxs(Expandable,{title:`WebhookConnectionSettings`,children:[_jsx(_components.p,{children:`The Webhook Data Source connection settings.`}),_jsx(ParamField,{path:`accessControlEnabled`,type:`Boolean`,id:`param-access-control-enabled-3`,children:_jsx(_components.p,{children:`Enables or disables access control for the Data Pool.\nIf the Data Pool has access control enabled, Applications must be assigned Data Pool Access Policies in order to query the Data Pool and its Metrics.`})}),_jsxs(ParamField,{path:`basicAuth`,type:`HttpBasicAuthSettings`,id:`param-basic-auth-4`,children:[_jsx(_components.p,{children:`The HTTP basic authentication settings for the Webhook Data Source URL. If this parameter is not provided, anyone with the webhook URL will be able to send events. While it’s OK to test without HTTP Basic authentication, we recommend enabling it.`}),_jsxs(Expandable,{title:`HttpBasicAuthSettings`,children:[_jsx(_components.p,{children:`The HTTP Basic authentication settings.`}),_jsx(ParamField,{path:`username`,type:`String`,required:true,id:`param-username-5`,children:_jsx(_components.p,{children:`Username for HTTP Basic authentication that must be included in the Authorization header when uploading new data.`})}),_jsx(ParamField,{path:`password`,type:`String`,required:true,id:`param-password-6`,children:_jsx(_components.p,{children:`Password for HTTP Basic authentication that must be included in the Authorization header when uploading new data.`})})]})]}),_jsxs(ParamField,{path:`columns`,type:`[WebhookDataSourceColumn!]`,id:`param-columns-5`,children:[_jsx(_components.p,{children:`The additional columns for the table in Propel.`}),_jsxs(Expandable,{title:`WebhookDataSourceColumn`,children:[_jsx(_components.p,{children:`A column in a Webhook Data Source’s table.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-5`,children:_jsx(_components.p,{children:`The column name.`})}),_jsxs(ParamField,{path:`jsonProperty`,type:`String`,required:true,id:`param-json-property-3`,children:[_jsx(_components.p,{children:`The JSON property that the column will be derived from. For example, if you POST a JSON event like this:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"greeting\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"hello, world\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } }`})]}),`\n`]})})}),_jsx(_components.p,{children:`Then you can use the JSON property “greeting.message” to extract “hello, world” to a column.`})]}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-3`,children:[_jsx(_components.p,{children:`The column type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`nullable`,type:`Boolean`,required:true,id:`param-nullable-3`,children:_jsx(_components.p,{children:`Whether the column’s type is nullable or not.`})})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,id:`param-table-settings-3`,children:[_jsxs(_components.p,{children:[`Override the Data Pool’s table settings. These describe how the Data Pool’s table is created in ClickHouse, and a\ndefault will be chosen based on the Data Pool’s `,_jsx(_components.code,{children:`timestamp`}),` and `,_jsx(_components.code,{children:`uniqueId`}),` values, if any. You can override these\ndefaults in order to specify a custom table engine, custom ORDER BY, etc.`]}),_jsxs(Expandable,{title:`TableSettings`,children:[_jsx(_components.p,{children:`A Data Pool’s table settings.`}),_jsx(_components.p,{children:`These describe how the Data Pool’s table is created in ClickHouse.`}),_jsxs(ParamField,{path:`engine`,type:`TableEngine`,id:`param-engine-3`,children:[_jsx(_components.p,{children:`The ClickHouse table engine for the Data Pool’s table.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#tableengine`,children:`TableEngine`})]})]}),_jsx(ParamField,{path:`partitionBy`,type:`[String!]`,id:`param-partition-by-3`,children:_jsx(_components.p,{children:`The PARTITION BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`primaryKey`,type:`[String!]`,id:`param-primary-key-3`,children:_jsx(_components.p,{children:`The PRIMARY KEY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`orderBy`,type:`[String!]`,id:`param-order-by-3`,children:_jsx(_components.p,{children:`The ORDER BY clause for the Data Pool’s table.`})}),_jsx(ParamField,{path:`ttl`,type:`String`,id:`param-ttl-3`,children:_jsx(_components.p,{children:`The TTL clause for the Data Pool’s table.`})})]})]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-3`,children:_jsx(_components.p,{children:`The primary timestamp column, if any.`})}),_jsx(ParamField,{path:`webhookUrl`,type:`String`,required:true,id:`param-webhook-url-1`,children:_jsx(_components.p,{children:`The Webhook URL for posting JSON events`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`tenant`,type:`String`,deprecated:true,id:`param-tenant`,children:[_jsx(_components.p,{children:`The tenant ID column, if any.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use Data Pool Access Policies instead.`})]}),_jsxs(ParamField,{path:`uniqueId`,type:`String`,deprecated:true,id:`param-unique-id`,children:[_jsx(_components.p,{children:`The unique ID column, if any. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use Table Settings to define the primary key.`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`datasourceorfailureresponse`,children:`DataSourceOrFailureResponse`}),`\n`,_jsx(_components.p,{children:`The result of a mutation which creates or modifies a DataSource.`}),`\n`,_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`DataSourceResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),`\n`,_jsxs(ParamField,{path:`DataSourceOrFailureResponse`,type:`DataSourceResponse | FailureResponse`,id:`param-data-source-or-failure-response`,children:[_jsxs(Expandable,{title:`DataSourceResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Source.`}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source`,children:[_jsx(_components.p,{children:`The Data Source which was created or modified.`}),_jsxs(Expandable,{title:`DataSource`,children:[_jsx(_components.p,{children:`The Data Source object.`}),_jsx(_components.p,{children:`A Data Source is a connection to your data warehouse. It has the necessary connection details for Propel to access Snowflake or any other supported Data Source.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-3`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-1`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-1`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-2`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-1`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-1`,children:_jsx(_components.p,{children:`The Data Source’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-1`,children:_jsx(_components.p,{children:`The Data Source’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-1`,children:_jsx(_components.p,{children:`The Data Source’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-1`,children:_jsx(_components.p,{children:`The Data Source’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`type`,type:`DataSourceType`,required:true,id:`param-type-4`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcetype`,children:`DataSourceType`})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcestatus`,children:`DataSourceStatus`})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-1`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/unions#connectionsettings`,children:`ConnectionSettings`})]})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-2`,children:[_jsx(_components.p,{children:`The tables contained within the Data Source, according to the most recent table introspection.`}),_jsx(Heading,{level:`3`,id:`arguments-3`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-2`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-2`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-2`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-2`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections`,children:[_jsx(_components.p,{children:`A list of table introspections performed for the Data Source. You can see how tables and columns changed over time by paging through this list.`}),_jsx(Heading,{level:`3`,id:`arguments-4`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-3`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-3`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-3`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-3`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasourcecheck`,children:`DataSourceCheck`})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools`,children:[_jsxs(_components.p,{children:[`If you list Data Pools via the `,_jsx(_components.code,{children:`dataPools`}),` field on a Data Source, you will get Data Pools for the Data Source.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` field uses cursor-based pagination typical of GraphQL APIs. You can use the pairs of parameters `,_jsx(_components.code,{children:`first`}),` and `,_jsx(_components.code,{children:`after`}),` or `,_jsx(_components.code,{children:`last`}),` and `,_jsx(_components.code,{children:`before`}),` to page forward or backward through the results, respectively.`]}),_jsxs(_components.p,{children:[`For forward pagination, the `,_jsx(_components.code,{children:`first`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`after`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`last`}),` result of the current page to `,_jsx(_components.code,{children:`after`}),`.`]}),_jsxs(_components.p,{children:[`For backward pagination, the `,_jsx(_components.code,{children:`last`}),` parameter defines the number of results to return, and the `,_jsx(_components.code,{children:`before`}),` parameter defines the cursor to continue from. You should pass the cursor for the `,_jsx(_components.em,{children:`first`}),` result of the current page to `,_jsx(_components.code,{children:`before`}),`.`]}),_jsx(Heading,{level:`3`,id:`arguments-5`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-4`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-4`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-4`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-4`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-1`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`checks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]})})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error-2`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-1`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-1`,children:_jsx(_components.p,{children:`The error message.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`tableengine`,children:`TableEngine`}),`\n`,_jsx(_components.p,{children:`A Data Pool’s table engine.`}),`\n`,_jsxs(ParamField,{path:`TableEngine`,type:`MergeTreeTableEngine | ReplacingMergeTreeTableEngine | SummingMergeTreeTableEngine | AggregatingMergeTreeTableEngine | PostgreSqlTableEngine`,id:`param-table-engine`,children:[_jsxs(Expandable,{title:`MergeTreeTableEngine`,children:[_jsx(_components.p,{children:`Parameters for the MergeTree table engine.`}),_jsxs(ParamField,{path:`type`,type:`TableEngineType`,required:true,id:`param-type-5`,children:[_jsxs(_components.p,{children:[`The type is always `,_jsx(_components.code,{children:`MERGE_TREE`}),`.`]}),_jsxs(Expandable,{title:`TableEngineType`,children:[_jsx(_components.p,{children:`ClickHouse table engine types.`}),_jsx(ParamField,{path:` `,id:`param-1`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MERGE_TREE`}),`: The MergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`REPLACING_MERGE_TREE`}),`: The ReplacingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUMMING_MERGE_TREE`}),`: The SummingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AGGREGATING_MERGE_TREE`}),`: The AggregatingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POSTGRESQL`}),`: The PostgreSQL table engine.`]}),`\n`]})})]})]})]}),_jsxs(Expandable,{title:`ReplacingMergeTreeTableEngine`,children:[_jsx(_components.p,{children:`Parameters for the ReplacingMergeTree table engine.`}),_jsxs(ParamField,{path:`type`,type:`TableEngineType`,required:true,id:`param-type-6`,children:[_jsxs(_components.p,{children:[`The type is always `,_jsx(_components.code,{children:`REPLACING_MERGE_TREE`}),`.`]}),_jsxs(Expandable,{title:`TableEngineType`,children:[_jsx(_components.p,{children:`ClickHouse table engine types.`}),_jsx(ParamField,{path:` `,id:`param-2`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MERGE_TREE`}),`: The MergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`REPLACING_MERGE_TREE`}),`: The ReplacingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUMMING_MERGE_TREE`}),`: The SummingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AGGREGATING_MERGE_TREE`}),`: The AggregatingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POSTGRESQL`}),`: The PostgreSQL table engine.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`ver`,type:`String`,id:`param-ver`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`ver`}),` parameter to the ReplacingMergeTree engine.`]})})]}),_jsxs(Expandable,{title:`SummingMergeTreeTableEngine`,children:[_jsx(_components.p,{children:`Parameters for the SummingMergeTree table engine.`}),_jsxs(ParamField,{path:`type`,type:`TableEngineType`,required:true,id:`param-type-7`,children:[_jsxs(_components.p,{children:[`The type is always `,_jsx(_components.code,{children:`SUMMING_MERGE_TREE`}),`.`]}),_jsxs(Expandable,{title:`TableEngineType`,children:[_jsx(_components.p,{children:`ClickHouse table engine types.`}),_jsx(ParamField,{path:` `,id:`param-3`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MERGE_TREE`}),`: The MergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`REPLACING_MERGE_TREE`}),`: The ReplacingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUMMING_MERGE_TREE`}),`: The SummingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AGGREGATING_MERGE_TREE`}),`: The AggregatingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POSTGRESQL`}),`: The PostgreSQL table engine.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`columns`,type:`[String!]`,id:`param-columns-6`,children:_jsx(_components.p,{children:`The columns argument for the SummingMergeTree table engine`})})]}),_jsxs(Expandable,{title:`AggregatingMergeTreeTableEngine`,children:[_jsx(_components.p,{children:`Parameters for the AggregatingMergeTree table engine.`}),_jsxs(ParamField,{path:`type`,type:`TableEngineType`,required:true,id:`param-type-8`,children:[_jsxs(_components.p,{children:[`The type is always `,_jsx(_components.code,{children:`AGGREGATING_MERGE_TREE`}),`.`]}),_jsxs(Expandable,{title:`TableEngineType`,children:[_jsx(_components.p,{children:`ClickHouse table engine types.`}),_jsx(ParamField,{path:` `,id:`param-4`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MERGE_TREE`}),`: The MergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`REPLACING_MERGE_TREE`}),`: The ReplacingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUMMING_MERGE_TREE`}),`: The SummingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AGGREGATING_MERGE_TREE`}),`: The AggregatingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POSTGRESQL`}),`: The PostgreSQL table engine.`]}),`\n`]})})]})]})]}),_jsxs(Expandable,{title:`PostgreSqlTableEngine`,children:[_jsx(_components.p,{children:`Parameters for the PostgreSQL table engine.`}),_jsxs(ParamField,{path:`type`,type:`TableEngineType`,required:true,id:`param-type-9`,children:[_jsxs(_components.p,{children:[`The type is always `,_jsx(_components.code,{children:`POSTGRESQL`}),`.`]}),_jsxs(Expandable,{title:`TableEngineType`,children:[_jsx(_components.p,{children:`ClickHouse table engine types.`}),_jsx(ParamField,{path:` `,id:`param-5`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MERGE_TREE`}),`: The MergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`REPLACING_MERGE_TREE`}),`: The ReplacingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUMMING_MERGE_TREE`}),`: The SummingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AGGREGATING_MERGE_TREE`}),`: The AggregatingMergeTree table engine.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POSTGRESQL`}),`: The PostgreSQL table engine.`]}),`\n`]})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`datapoolorfailureresponse`,children:`DataPoolOrFailureResponse`}),`\n`,_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Pool.`}),`\n`,_jsxs(_components.p,{children:[`If successful, an `,_jsx(_components.code,{children:`DataPoolResponse`}),` will be returned; otherwise, a\n`,_jsx(_components.code,{children:`FailureResponse`}),` will be returned.`]}),`\n`,_jsxs(ParamField,{path:`DataPoolOrFailureResponse`,type:`DataPoolResponse | FailureResponse`,id:`param-data-pool-or-failure-response`,children:[_jsxs(Expandable,{title:`DataPoolResponse`,children:[_jsx(_components.p,{children:`The result of a mutation which creates or modifies a Data Pool.`}),_jsxs(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool`,children:[_jsx(_components.p,{children:`The Data Pool which was created or modified.`}),_jsxs(Expandable,{title:`DataPool`,children:[_jsx(_components.p,{children:`The Data Pool object. Data Pools are Propel’s high-speed data store and cache`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-4`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-2`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-2`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-3`,children:[_jsx(_components.p,{children:`The Data Pool’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-2`,children:[_jsx(_components.p,{children:`The Data Pool’s Environment.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#environment`,children:`Environment`})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-2`,children:_jsx(_components.p,{children:`The Data Pool’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-2`,children:_jsx(_components.p,{children:`The Data Pool’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-2`,children:_jsx(_components.p,{children:`The Data Pool’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-2`,children:_jsx(_components.p,{children:`The Data Pool’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataSource`,type:`DataSource`,required:true,id:`param-data-source-1`,children:_jsxs(_components.p,{children:[`The Data Pool’s Data Source.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})}),_jsxs(ParamField,{path:`status`,type:`DataPoolStatus`,required:true,id:`param-status-1`,children:[_jsx(_components.p,{children:`The Data Pool’s status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolstatus`,children:`DataPoolStatus`})]})]}),_jsx(ParamField,{path:`dataRetentionInDays`,type:`Int`,required:true,id:`param-data-retention-in-days`,children:_jsx(_components.p,{children:`The Data Pool’s data retention in days (not yet supported).`})}),_jsx(ParamField,{path:`table`,type:`String`,required:true,id:`param-table`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-4`,children:[_jsx(_components.p,{children:`The Data Pool’s primary timestamp column, if any.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timestamp`,children:`Timestamp`})]})]}),_jsx(ParamField,{path:`recordCount`,type:`String`,id:`param-record-count`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes`,children:_jsx(_components.p,{children:`The amount of storage in terabytes used by the Data Pool.`})}),_jsxs(ParamField,{path:`columns`,type:`DataPoolColumnConnection`,id:`param-columns-7`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-6`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-5`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-5`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-5`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-5`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnconnection`,children:`DataPoolColumnConnection`})]})]}),_jsxs(ParamField,{path:`availableMeasures`,type:`DataPoolColumnConnection`,id:`param-available-measures`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-7`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-6`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-6`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-6`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-6`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnconnection`,children:`DataPoolColumnConnection`})]})]}),_jsxs(ParamField,{path:`setupTasks`,type:`[DataPoolSetupTask!]`,id:`param-setup-tasks`,children:[_jsx(_components.p,{children:`A list of setup tasks performed on the Data Pool during its most recent setup attempt.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolsetuptask`,children:`DataPoolSetupTask`})]})]}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncing`,required:true,id:`param-syncing`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolsyncing`,children:`DataPoolSyncing`})]})]}),_jsxs(ParamField,{path:`syncs`,type:`SyncConnection`,id:`param-syncs`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-8`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter`,children:_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#syncsfilter`,children:`SyncsFilter`})]})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-7`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-7`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-7`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-7`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#syncconnection`,children:`SyncConnection`})]})]}),_jsxs(ParamField,{path:`metrics`,type:`MetricConnection`,id:`param-metrics`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-9`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-8`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-8`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-8`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-8`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#metricconnection`,children:`MetricConnection`})]})]}),_jsxs(ParamField,{path:`deletionJobs`,type:`DeletionJobConnection`,id:`param-deletion-jobs`,children:[_jsx(_components.p,{children:`The Deletion Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-10`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-9`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-9`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-9`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-9`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#deletionjobconnection`,children:`DeletionJobConnection`})]})]}),_jsxs(ParamField,{path:`addColumnToDataPoolJobs`,type:`AddColumnToDataPoolJobConnection`,id:`param-add-column-to-data-pool-jobs`,children:[_jsx(_components.p,{children:`The Add Column Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-11`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-10`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-10`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-10`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-10`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#addcolumntodatapooljobconnection`,children:`AddColumnToDataPoolJobConnection`})]})]}),_jsxs(ParamField,{path:`updateDataPoolRecordsJobs`,type:`UpdateDataPoolRecordsJobConnection`,id:`param-update-data-pool-records-jobs`,children:[_jsx(_components.p,{children:`The UpdateDataPoolRecords Jobs that were historically issued to this Data Pool, sorted by creation time, in descending order.`}),_jsx(Heading,{level:`3`,id:`arguments-12`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-11`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-11`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-11`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-11`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#updatedatapoolrecordsjobconnection`,children:`UpdateDataPoolRecordsJobConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,id:`param-access-control-enabled-4`,children:[_jsx(_components.p,{children:`Whether the Data Pool has access control enabled or not.`}),_jsx(_components.p,{children:`If the Data Pool has access control enabled, Applications must be assigned Data Pool Access\nPolicies in order to query the Data Pool and its Metrics.`})]}),_jsxs(ParamField,{path:`dataPoolAccessPolicies`,type:`DataPoolAccessPolicyConnection`,required:true,id:`param-data-pool-access-policies-1`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-13`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-12`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-12`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-12`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-12`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolaccesspolicyconnection`,children:`DataPoolAccessPolicyConnection`})]})]}),_jsxs(ParamField,{path:`validateExpression`,type:`ValidateExpressionResult`,required:true,id:`param-validate-expression`,children:[_jsx(_components.p,{children:`Validates a custom expression against the Data Pool’s available columns. If the provided expression is invalid, the ValidateExpressionResult response will contain a reason explaining why.`}),_jsx(Heading,{level:`3`,id:`arguments-14`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#validateexpressionresult`,children:`ValidateExpressionResult`})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,required:true,id:`param-table-settings-4`,children:[_jsx(_components.p,{children:`The Data Pool’s table settings.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tablesettings`,children:`TableSettings`})]})]}),_jsxs(ParamField,{path:`partitionByColumns`,type:`[DataPoolColumn!]`,id:`param-partition-by-columns`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PARTITION BY clause.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`primaryKeyColumns`,type:`[DataPoolColumn!]`,id:`param-primary-key-columns`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PRIMARY KEY clause.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`orderByColumns`,type:`[DataPoolColumn!]`,id:`param-order-by-columns`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its ORDER BY clause.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-3`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`setupTasks`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsxs(ParamField,{path:`tenant`,type:`Tenant`,deprecated:true,id:`param-tenant-1`,children:[_jsx(_components.p,{children:`The Data Pool’s tenant ID, if configured.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use Data Pool Access Policies instead`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#tenant`,children:`Tenant`})]})]}),_jsxs(ParamField,{path:`uniqueId`,type:`UniqueId`,deprecated:true,id:`param-unique-id-1`,children:[_jsx(_components.p,{children:`The Data Pool’s unique ID column. Propel uses the primary timestamp and a unique ID to compose a primary key for determining whether records should be inserted, deleted, or updated within the Data Pool.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Will be removed; use table settings to define the primary key.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#uniqueid`,children:`UniqueId`})]})]})]})]})]})]}),_jsxs(Expandable,{title:`FailureResponse`,children:[_jsx(_components.p,{children:`The failure response object.`}),_jsxs(ParamField,{path:`error`,type:`Error`,required:true,id:`param-error-4`,children:[_jsx(_components.p,{children:`The error that caused the failure.`}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-2`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-2`,children:_jsx(_components.p,{children:`The error message.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`metricsettings`,children:`MetricSettings`}),`\n`,_jsx(_components.p,{children:`A Metric’s settings, depending on its type.`}),`\n`,_jsxs(ParamField,{path:`MetricSettings`,type:`CountMetricSettings | SumMetricSettings | CountDistinctMetricSettings | AverageMetricSettings | MinMetricSettings | MaxMetricSettings | CustomMetricSettings`,id:`param-metric-settings`,children:[_jsxs(Expandable,{title:`CountMetricSettings`,children:[_jsx(_components.p,{children:`Settings for Count Metrics.`}),_jsxs(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsx(_components.p,{children:`You can provide the filters in the form of SQL.`})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`Filter`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[Filter!]`,id:`param-and`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[Filter!]`,id:`param-or`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]}),_jsxs(Expandable,{title:`SumMetricSettings`,children:[_jsx(_components.p,{children:`Settings for Sum Metrics.`}),_jsxs(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-1`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsx(_components.p,{children:`You can provide the filters in the form of SQL.`})]}),_jsxs(ParamField,{path:`measure`,type:`Dimension`,required:true,id:`param-measure`,children:[_jsx(_components.p,{children:`The Dimension to be summed.`}),_jsxs(Expandable,{title:`Dimension`,children:[_jsx(_components.p,{children:`The Dimension object that represents a column in a table.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-10`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable`,children:_jsx(_components.p,{children:`Whether the column is nullable.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`isUniqueKey`,type:`Boolean`,deprecated:true,id:`param-is-unique-key`,children:[_jsx(_components.p,{children:`Whether the column is a unique key.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`stats`,type:`DimensionStatistics`,deprecated:true,id:`param-stats`,children:[_jsx(_components.p,{children:`The statistics for the dimension values. Fetching statistics incurs query costs.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Issue normal queries for calculating stats`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimensionstatistics`,children:`DimensionStatistics`})]})]})]})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-1`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`Filter`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-1`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-1`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-1`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[Filter!]`,id:`param-and-1`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[Filter!]`,id:`param-or-1`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]}),_jsxs(Expandable,{title:`CountDistinctMetricSettings`,children:[_jsx(_components.p,{children:`Settings for Count Distinct Metrics.`}),_jsxs(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-2`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsx(_components.p,{children:`You can provide the filters in the form of SQL.`})]}),_jsxs(ParamField,{path:`dimension`,type:`Dimension`,required:true,id:`param-dimension`,children:[_jsx(_components.p,{children:`The Dimension where the count distinct operation is going to be performed.`}),_jsxs(Expandable,{title:`Dimension`,children:[_jsx(_components.p,{children:`The Dimension object that represents a column in a table.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-1`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-11`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-1`,children:_jsx(_components.p,{children:`Whether the column is nullable.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`isUniqueKey`,type:`Boolean`,deprecated:true,id:`param-is-unique-key-1`,children:[_jsx(_components.p,{children:`Whether the column is a unique key.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`stats`,type:`DimensionStatistics`,deprecated:true,id:`param-stats-1`,children:[_jsx(_components.p,{children:`The statistics for the dimension values. Fetching statistics incurs query costs.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Issue normal queries for calculating stats`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimensionstatistics`,children:`DimensionStatistics`})]})]})]})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-2`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`Filter`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-2`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-2`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-2`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[Filter!]`,id:`param-and-2`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[Filter!]`,id:`param-or-2`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]}),_jsxs(Expandable,{title:`AverageMetricSettings`,children:[_jsx(_components.p,{children:`Settings for Average Metrics.`}),_jsxs(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-3`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsx(_components.p,{children:`You can provide the filters in the form of SQL.`})]}),_jsxs(ParamField,{path:`measure`,type:`Dimension`,required:true,id:`param-measure-1`,children:[_jsx(_components.p,{children:`The Dimension to be averaged.`}),_jsxs(Expandable,{title:`Dimension`,children:[_jsx(_components.p,{children:`The Dimension object that represents a column in a table.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-2`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-12`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-2`,children:_jsx(_components.p,{children:`Whether the column is nullable.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`isUniqueKey`,type:`Boolean`,deprecated:true,id:`param-is-unique-key-2`,children:[_jsx(_components.p,{children:`Whether the column is a unique key.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`stats`,type:`DimensionStatistics`,deprecated:true,id:`param-stats-2`,children:[_jsx(_components.p,{children:`The statistics for the dimension values. Fetching statistics incurs query costs.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Issue normal queries for calculating stats`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimensionstatistics`,children:`DimensionStatistics`})]})]})]})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-3`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`Filter`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-3`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-3`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-3`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[Filter!]`,id:`param-and-3`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[Filter!]`,id:`param-or-3`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]}),_jsxs(Expandable,{title:`MinMetricSettings`,children:[_jsx(_components.p,{children:`Settings for Min Metrics.`}),_jsxs(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-4`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsx(_components.p,{children:`You can provide the filters in the form of SQL.`})]}),_jsxs(ParamField,{path:`measure`,type:`Dimension`,required:true,id:`param-measure-2`,children:[_jsx(_components.p,{children:`The Dimension to select the minimum from.`}),_jsxs(Expandable,{title:`Dimension`,children:[_jsx(_components.p,{children:`The Dimension object that represents a column in a table.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-3`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-13`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-3`,children:_jsx(_components.p,{children:`Whether the column is nullable.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`isUniqueKey`,type:`Boolean`,deprecated:true,id:`param-is-unique-key-3`,children:[_jsx(_components.p,{children:`Whether the column is a unique key.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`stats`,type:`DimensionStatistics`,deprecated:true,id:`param-stats-3`,children:[_jsx(_components.p,{children:`The statistics for the dimension values. Fetching statistics incurs query costs.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Issue normal queries for calculating stats`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimensionstatistics`,children:`DimensionStatistics`})]})]})]})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-4`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`Filter`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-4`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-4`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-4`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[Filter!]`,id:`param-and-4`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[Filter!]`,id:`param-or-4`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]}),_jsxs(Expandable,{title:`MaxMetricSettings`,children:[_jsx(_components.p,{children:`Settings for Max Metrics.`}),_jsxs(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-5`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsx(_components.p,{children:`You can provide the filters in the form of SQL.`})]}),_jsxs(ParamField,{path:`measure`,type:`Dimension`,required:true,id:`param-measure-3`,children:[_jsx(_components.p,{children:`The Dimension to select the maximum from.`}),_jsxs(Expandable,{title:`Dimension`,children:[_jsx(_components.p,{children:`The Dimension object that represents a column in a table.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-4`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-14`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-4`,children:_jsx(_components.p,{children:`Whether the column is nullable.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`isUniqueKey`,type:`Boolean`,deprecated:true,id:`param-is-unique-key-4`,children:[_jsx(_components.p,{children:`Whether the column is a unique key.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`stats`,type:`DimensionStatistics`,deprecated:true,id:`param-stats-4`,children:[_jsx(_components.p,{children:`The statistics for the dimension values. Fetching statistics incurs query costs.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Issue normal queries for calculating stats`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#dimensionstatistics`,children:`DimensionStatistics`})]})]})]})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-5`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`Filter`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-5`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-5`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-5`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[Filter!]`,id:`param-and-5`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[Filter!]`,id:`param-or-5`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]}),_jsxs(Expandable,{title:`CustomMetricSettings`,children:[_jsx(_components.p,{children:`Settings for Custom Metrics.`}),_jsxs(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-6`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsx(_components.p,{children:`You can provide the filters in the form of SQL.`})]}),_jsx(ParamField,{path:`expression`,type:`String`,required:true,id:`param-expression-1`,children:_jsx(_components.p,{children:`The expression that defines the aggregation function for this Metric.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-6`,children:[_jsxs(_components.p,{children:[`Metric Filters allow defining a Metric with a subset of records from the given Data Pool. If no Metric Filters are present, all records will be included. To filter at query time, add Dimensions and use the `,_jsx(_components.code,{children:`filters`}),` property on the `,_jsx(_components.code,{children:`timeSeriesInput`}),`, `,_jsx(_components.code,{children:`counterInput`}),`, or `,_jsx(_components.code,{children:`leaderboardInput`}),` objects. There is no need to add `,_jsx(_components.code,{children:`filters`}),` to be able to filter at query time.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`Filter`,children:[_jsx(_components.p,{children:`The fields of a filter.`}),_jsxs(_components.p,{children:[`You can construct more complex filters using `,_jsx(_components.code,{children:`and`}),` and `,_jsx(_components.code,{children:`or`}),`. For example, to construct a filter equivalent to`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`(value > 0 AND value \u003c= 100) OR status = \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`you could write`}),_jsx(CodeBlock,{numberOfLines:`16`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"GREATER_THAN\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"and\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"value\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"LESS_THAN_OR_EQUAL_TO\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"or\": [{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"operator\": \"EQUALS\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"value\": \"confirmed\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` }]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Note that `,_jsx(_components.code,{children:`and`}),` takes precedence over `,_jsx(_components.code,{children:`or`}),`.`]}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-6`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-6`,children:[_jsx(_components.p,{children:`The operation to perform when comparing the column and filter values.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#filteroperator`,children:`FilterOperator`})]})]}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-6`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[Filter!]`,id:`param-and-6`,children:_jsx(_components.p,{children:`Additional filters to AND with this one. AND takes precedence over OR.`})}),_jsx(ParamField,{path:`or`,type:`[Filter!]`,id:`param-or-6`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Unions","description":"Union types in the Management API","icon":"code-merge","href":"/docs/management-api/unions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"ApplicationOrFailureResponse","slug":"applicationorfailureresponse","depth":2,"children":[]},{"title":"ConnectionSettings","slug":"connectionsettings","depth":2,"children":[]},{"title":"DataSourceOrFailureResponse","slug":"datasourceorfailureresponse","depth":2,"children":[]},{"title":"TableEngine","slug":"tableengine","depth":2,"children":[]},{"title":"DataPoolOrFailureResponse","slug":"datapoolorfailureresponse","depth":2,"children":[]},{"title":"MetricSettings","slug":"metricsettings","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/propeldocs/fdbfad1497ca4ff4/scripts/generate-query-api-snippets.js","/_mintlify/custom/propeldocs/8980ee81dee9a13b/scripts/generate-ui-kit-props-snippets.js","/_mintlify/custom/propeldocs/14bd85a0d423341a/scripts/consts.js","/_mintlify/custom/propeldocs/0cf47d21a6c8aab3/scripts/utils.js","/_mintlify/custom/propeldocs/40b44e6573c8c018/scripts/generate-management-api-pages.js","/_mintlify/custom/propeldocs/51bba4061f9f89d8/scripts/delete-heavy-docs.js","/_mintlify/custom/propeldocs/cdc5ec9e555dee6e/scripts/generate-docs.js","/_mintlify/custom/propeldocs/45c00fb3854a3468/scripts/patch-embed-snippets.js","/_mintlify/custom/propeldocs/9a2f4a8c729adeab/scripts/get-radix-type-as-json.js"],"subdomain":"propeldocs","siteName":"Propel docs","title":"Unions - Propel docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:51:15.802Z","originalFileLocation":"docs/management-api/unions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Union types in the Management API\">\u003cmeta data-mint-head name=\"application-name\" content=\"Propel docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Unions - Propel docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Union types in the Management API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Propel docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.propeldata.com/docs/management-api/unions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://propeldocs.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Unions\u0026amp;description=Union+types+in+the+Management+API\u0026amp;theme=f9dc867360e0a88fa037a043\u0026amp;signature=80367624da5165d553773550a3d5d772c686c9b62344619b62b62d678f1d63cd\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Unions - Propel docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Union types in the Management API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://propeldocs.mintlify.site/_mintlify/api/og/v2?division=API+Reference\u0026amp;title=Unions\u0026amp;description=Union+types+in+the+Management+API\u0026amp;theme=f9dc867360e0a88fa037a043\u0026amp;signature=80367624da5165d553773550a3d5d772c686c9b62344619b62b62d678f1d63cd\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/propeldocs/6xpBSdoUNIH7T1a1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Propel docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#53389E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.propeldata.com/docs/management-api/unions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/management-api/unions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.propeldata.com/#organization\",\"name\":\"Propel docs\",\"url\":\"https://www.propeldata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/propeldocs/sNpmg5Sbvcqytj17/logo/light.svg?fit=max\u0026auto=format\u0026n=sNpmg5Sbvcqytj17\u0026q=85\u0026s=9d44dbaa0d94a0b0efe5b94548583b52\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.propeldata.com#website\",\"name\":\"Propel docs\",\"url\":\"https://www.propeldata.com\",\"publisher\":{\"@id\":\"https://www.propeldata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.propeldata.com/docs/management-api/unions#webpage\",\"url\":\"https://www.propeldata.com/docs/management-api/unions\",\"name\":\"Unions\",\"description\":\"Union types in the Management API\",\"dateModified\":\"2026-01-07T03:51:15.802Z\",\"isPartOf\":{\"@id\":\"https://www.propeldata.com#website\"},\"breadcrumb\":{\"@id\":\"https://www.propeldata.com/docs/management-api/unions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.propeldata.com/docs/management-api/unions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://www.propeldata.com/docs/management-api/queries\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unions\",\"item\":\"https://www.propeldata.com/docs/management-api/unions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.propeldata.com/docs/management-api/unions#article\",\"headline\":\"Unions\",\"name\":\"Unions\",\"description\":\"Union types in the Management API\",\"url\":\"https://www.propeldata.com/docs/management-api/unions\",\"mainEntityOfPage\":{\"@id\":\"https://www.propeldata.com/docs/management-api/unions#webpage\"},\"dateModified\":\"2026-01-07T03:51:15.802Z\",\"publisher\":{\"@id\":\"https://www.propeldata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.propeldata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Propel docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Propel docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/management-api/unions.md","siteName":"Propel docs","nav":{"global":null,"tabs":[{"tab":"Serverless Cloud","anchors":[{"anchor":"Serverless Cloud","icon":"house","pages":[{"title":"Serverless Cloud","href":"/docs/overview"}]},{"anchor":"SQL Reference","icon":"database","pages":[{"title":"SQL Reference","href":"/docs/sql-reference/overview"}]},{"anchor":"Management API","icon":"code","groups":[{"group":"Introduction","pages":[{"title":"Management API reference","icon":"code","mode":"wide","sidebarTitle":"Overview","href":"/docs/management-api/overview"}]},{"group":"API Reference","pages":[{"title":"Queries","icon":"magnifying-glass","href":"/docs/management-api/queries"},{"title":"Mutations","icon":"pen-to-square","href":"/docs/management-api/mutations"},{"title":"Types","icon":"cube","href":"/docs/management-api/types"},{"title":"Inputs","icon":"arrow-right-to-bracket","href":"/docs/management-api/inputs"},{"title":"Enums","description":"Enumeration types in the Management API","icon":"list","href":"/docs/management-api/enums"},{"title":"Unions","icon":"code-merge","href":"/docs/management-api/unions"},{"title":"Scalars","description":"Scalar types in the Management API","icon":"shapes","href":"/docs/management-api/scalars"}]}]},{"anchor":"REST API Reference","hidden":true,"icon":"square-terminal","pages":[{"title":"REST API Reference","href":"/docs/api-reference/api-keys/list-api-keys"}]}]},{"tab":"Ingestion","pages":[{"title":"Ingestion","href":"/docs/ingestion/overview"}]},{"tab":"Query APIs","pages":[{"title":"Query APIs","href":"/docs/query-apis/overview"}]},{"tab":"Embeddable UI","pages":[{"title":"Embeddable UI","href":"/docs/embeddable-ui/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/docs/changelog/2024"}]}]},"basePath":"","title":"Unions - Propel docs","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":[],"chunks":[]}