Returns the Application specified by the given ID.
Arguments
ID
required
Returns
Nullable
Application
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.
ID
required
The Application’s unique identifier.
String
required
The Application’s unique name.
String
required
The Application’s description.
Account
required
The Application’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Application’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Application’s last modification date and time in UTC.
String
required
The Application’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
String
required
The Application’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.
String
required
The Application’s OAuth 2.0 client identifier.
String
The Application’s OAuth 2.0 client secret.
Propeller
required
The Application’s Propeller.
Show Propeller
A Propeller determines your Application’s query processing power. The larger the Propeller, the faster the queries and the higher the cost. Every Propel Application (and therefore every set of API credentials) has a Propeller that determines the speed and cost of queries.
P1_X_SMALL: Max records per second: 5,000,000 records per second
P1_SMALL: Max records per second: 25,000,000 records per second
P1_MEDIUM: Max records per second: 100,000,000 records per second
P1_LARGE: Max records per second: 250,000,000 records per second
P1_X_LARGE: Max records per second: 500,000,000 records per second
[ApplicationScope!]
required
The Application’s OAuth 2.0 scopes.
Show ApplicationScope
The API operations an Application is authorized to perform.
ADMIN: Grant read/write access to Data Sources, Data Pools, Metrics and Policies.
APPLICATION_ADMIN: Grant read/write access to Applications.
DATA_POOL_QUERY: Grant read access to query Data Pools.
DATA_POOL_READ: Grant read access to read Data Pools.
DATA_POOL_STATS: Grant read access to fetch column statistics from Data Pools.
ENVIRONMENT_ADMIN: Grant read/write access to Environments.
METRIC_QUERY: Grant read access to query Metrics.
METRIC_STATS: Grant read access to fetch Dimension statistics from Metrics.
METRIC_READ: Grant read access to Metrics.
This does not allow querying Metrics. For that, see METRIC_QUERY.
DataPoolAccessPolicyConnection
required
A paginated list of Data Pool Access Policies associated with the Application.
Returns the Application with the given unique name.
Arguments
String
required
Returns
Nullable
Application
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.
ID
required
The Application’s unique identifier.
String
required
The Application’s unique name.
String
required
The Application’s description.
Account
required
The Application’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Application’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Application’s last modification date and time in UTC.
String
required
The Application’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
String
required
The Application’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.
String
required
The Application’s OAuth 2.0 client identifier.
String
The Application’s OAuth 2.0 client secret.
Propeller
required
The Application’s Propeller.
Show Propeller
A Propeller determines your Application’s query processing power. The larger the Propeller, the faster the queries and the higher the cost. Every Propel Application (and therefore every set of API credentials) has a Propeller that determines the speed and cost of queries.
P1_X_SMALL: Max records per second: 5,000,000 records per second
P1_SMALL: Max records per second: 25,000,000 records per second
P1_MEDIUM: Max records per second: 100,000,000 records per second
P1_LARGE: Max records per second: 250,000,000 records per second
P1_X_LARGE: Max records per second: 500,000,000 records per second
[ApplicationScope!]
required
The Application’s OAuth 2.0 scopes.
Show ApplicationScope
The API operations an Application is authorized to perform.
ADMIN: Grant read/write access to Data Sources, Data Pools, Metrics and Policies.
APPLICATION_ADMIN: Grant read/write access to Applications.
DATA_POOL_QUERY: Grant read access to query Data Pools.
DATA_POOL_READ: Grant read access to read Data Pools.
DATA_POOL_STATS: Grant read access to fetch column statistics from Data Pools.
ENVIRONMENT_ADMIN: Grant read/write access to Environments.
METRIC_QUERY: Grant read access to query Metrics.
METRIC_STATS: Grant read access to fetch Dimension statistics from Metrics.
METRIC_READ: Grant read access to Metrics.
This does not allow querying Metrics. For that, see METRIC_QUERY.
DataPoolAccessPolicyConnection
required
A paginated list of Data Pool Access Policies associated with the Application.
Returns the Applications within the Environment.The applications query 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.
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.
Points to the first item returned in the results. Used when paginating backward.
String
Points to the last item returned in the results. Used when paginating forward.
Boolean
required
A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.
Boolean
required
A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.
dataSource
Returns the Data Source specified by the given ID.
query { dataSource(id: "DSOXXXXX") { id uniqueName type tables (first: 100){ nodes { id name columns (first: 100) { nodes { name type isNullable supportedDataPoolColumnTypes } } } } }}
Arguments
ID
required
Returns
Nullable
DataSource
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.
ID
required
The Data Source’s unique identifier.
String
required
The Data Source’s unique name.
String
required
The Data Source’s description.
Account
required
The Data Source’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Source’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
A list of checks performed on the Data Source during its most recent connection attempt.
Show DataSourceCheck
The Data Source Check object.Data Source Checks are executed when setting up your Data Source. They check that Propel will be able to receive data and setup Data Pools.The exact Checks to perform vary by Data Source. For example, Snowflake-backed Data Sources will have their own specific Checks.
String
required
The name of the Data Source Check to be performed.
String
A description of the Data Source Check to be performed.
DataSourceCheckStatus
required
The status of the Data Source Check (all checks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).See DataSourceCheckStatus
Error
If the Data Source Check failed, this field includes a descriptive error message.See Error
DateTime
The time at which the Data Source Check was performed.
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.
Returns the Data Source specified by the given unique name.
Arguments
String
required
Returns
Nullable
DataSource
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.
ID
required
The Data Source’s unique identifier.
String
required
The Data Source’s unique name.
String
required
The Data Source’s description.
Account
required
The Data Source’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Source’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
A list of checks performed on the Data Source during its most recent connection attempt.
Show DataSourceCheck
The Data Source Check object.Data Source Checks are executed when setting up your Data Source. They check that Propel will be able to receive data and setup Data Pools.The exact Checks to perform vary by Data Source. For example, Snowflake-backed Data Sources will have their own specific Checks.
String
required
The name of the Data Source Check to be performed.
String
A description of the Data Source Check to be performed.
DataSourceCheckStatus
required
The status of the Data Source Check (all checks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).See DataSourceCheckStatus
Error
If the Data Source Check failed, this field includes a descriptive error message.See Error
DateTime
The time at which the Data Source Check was performed.
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.
Returns the Data Sources within the Environment.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. Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads.The dataSources query 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.
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.
Points to the first item returned in the results. Used when paginating backward.
String
Points to the last item returned in the results. Used when paginating forward.
Boolean
required
A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.
Boolean
required
A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.
dataPool
Returns the Data Pool specified by the given ID.A Data Pool is a cached table hydrated from your data warehouse optimized for high-concurrency and low-latency queries.
Arguments
ID
required
Returns
Nullable
DataPool
Show DataPool
The Data Pool object. Data Pools are Propel’s high-speed data store and cache
ID
required
The Data Pool’s unique identifier.
String
required
The Data Pool’s unique name.
String
required
The Data Pool’s description.
Account
required
The Data Pool’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Pool’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
CREATED: The Data Pool has been created and will be set up soon.
PENDING: Propel is attempting to set up the Data Pool.
LIVE: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.
SETUP_FAILED: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.
CONNECTING
CONNECTED
BROKEN
PAUSING
PAUSED
DELETING: Propel is deleting the Data Pool and all of its associated data.
Int
required
The Data Pool’s data retention in days (not yet supported).
String
required
The name of the Data Pool’s table.
Timestamp
The Data Pool’s primary timestamp column, if any.
Show Timestamp
A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.
String
required
The name of the column that represents the primary timestamp.
String
required
The primary timestamp column’s type.
String
The number of records in the Data Pool.
Float
The amount of storage in terabytes used by the Data Pool.
The Data Pool column connection’s nodes.See DataPoolColumn
PageInfo
required
The Data Pool column connection’s page info.See PageInfo
[DataPoolSetupTask!]
A list of setup tasks performed on the Data Pool during its most recent setup attempt.
Show DataPoolSetupTask
The Data Pool Setup Task object.Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.
String
required
The name of the Data Pool Setup Task to be performed.
String
A description of the Data Pool Setup Task to be performed.
DataPoolSetupTaskStatus
required
The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).See DataPoolSetupTaskStatus
Error
If the Data Pool Setup Task failed, this field includes a descriptive error message.See Error
DateTime
The time at which the Data Pool Setup Task was completed.
The syncing interval.Note that the syncing interval is approximate. For example, setting the syncing interval to EVERY_1_HOUR
does not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to
when the Data Pool goes LIVE, and Propel will attempt to sync approximately every hour. Additionally,
if you pause or resume syncing, this too can shift the syncing interval around.See DataPoolSyncInterval
DateTime
The date and time of the most recent Sync in UTC.
SyncConnection
The list of Syncs of the Data Pool.
Arguments
SyncsFilter
Show SyncsFilter
The filter to apply when listing the Syncs for a Data Pool.
EMPTY: Returns only Syncs with empty records.
NOT_EMPTY: Returns only Syncs that contain one or more records.
ALL: Returns all Syncs, regardless of whether they contain records or not.
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.
Arguments
String
required
Show ValidateExpressionResult
Response returned by the validateExpression query for validating expressions in Custom Metrics.Returns whether the expression is valid or not with a reason explaining why.
Boolean
required
True if the expression is valid, false otherwise.
String
The reason for why the expression is not valid in case it isn’t, null otherwise.
TableSettings
required
The Data Pool’s table settings.
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.
[DataPoolColumn!]
The Data Pool’s columns that participate in its PARTITION BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its PRIMARY KEY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its ORDER BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
Show Deprecated Fields
Error
deprecated
deprecated: Refer to setupTasks instead
Show Error
The error object.
Int
The error code.
String
required
The error message.
Tenant
deprecated
The Data Pool’s tenant ID, if configured.deprecated: Will be removed; use Data Pool Access Policies instead
Show Tenant
A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.
String
required
The name of the column that represents the tenant ID.
String
required
The tenant ID column’s type.
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.
Show UniqueId
A 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.
String
required
The name of the column that represents the unique ID.
dataPoolByName
Returns the Data Pool specified by the given unique name.A Data Pool is a cached table hydrated from your data warehouse optimized for high-concurrency and low-latency queries.
Arguments
String
required
Returns
Nullable
DataPool
Show DataPool
The Data Pool object. Data Pools are Propel’s high-speed data store and cache
ID
required
The Data Pool’s unique identifier.
String
required
The Data Pool’s unique name.
String
required
The Data Pool’s description.
Account
required
The Data Pool’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Pool’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
CREATED: The Data Pool has been created and will be set up soon.
PENDING: Propel is attempting to set up the Data Pool.
LIVE: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.
SETUP_FAILED: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.
CONNECTING
CONNECTED
BROKEN
PAUSING
PAUSED
DELETING: Propel is deleting the Data Pool and all of its associated data.
Int
required
The Data Pool’s data retention in days (not yet supported).
String
required
The name of the Data Pool’s table.
Timestamp
The Data Pool’s primary timestamp column, if any.
Show Timestamp
A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.
String
required
The name of the column that represents the primary timestamp.
String
required
The primary timestamp column’s type.
String
The number of records in the Data Pool.
Float
The amount of storage in terabytes used by the Data Pool.
The Data Pool column connection’s nodes.See DataPoolColumn
PageInfo
required
The Data Pool column connection’s page info.See PageInfo
[DataPoolSetupTask!]
A list of setup tasks performed on the Data Pool during its most recent setup attempt.
Show DataPoolSetupTask
The Data Pool Setup Task object.Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.
String
required
The name of the Data Pool Setup Task to be performed.
String
A description of the Data Pool Setup Task to be performed.
DataPoolSetupTaskStatus
required
The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).See DataPoolSetupTaskStatus
Error
If the Data Pool Setup Task failed, this field includes a descriptive error message.See Error
DateTime
The time at which the Data Pool Setup Task was completed.
The syncing interval.Note that the syncing interval is approximate. For example, setting the syncing interval to EVERY_1_HOUR
does not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to
when the Data Pool goes LIVE, and Propel will attempt to sync approximately every hour. Additionally,
if you pause or resume syncing, this too can shift the syncing interval around.See DataPoolSyncInterval
DateTime
The date and time of the most recent Sync in UTC.
SyncConnection
The list of Syncs of the Data Pool.
Arguments
SyncsFilter
Show SyncsFilter
The filter to apply when listing the Syncs for a Data Pool.
EMPTY: Returns only Syncs with empty records.
NOT_EMPTY: Returns only Syncs that contain one or more records.
ALL: Returns all Syncs, regardless of whether they contain records or not.
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.
Arguments
String
required
Show ValidateExpressionResult
Response returned by the validateExpression query for validating expressions in Custom Metrics.Returns whether the expression is valid or not with a reason explaining why.
Boolean
required
True if the expression is valid, false otherwise.
String
The reason for why the expression is not valid in case it isn’t, null otherwise.
TableSettings
required
The Data Pool’s table settings.
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.
[DataPoolColumn!]
The Data Pool’s columns that participate in its PARTITION BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its PRIMARY KEY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
[DataPoolColumn!]
The Data Pool’s columns that participate in its ORDER BY clause.
Show DataPoolColumn
String
required
The name of the Data Source column that this Data Pool column derives from.
ColumnType
required
The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.See ColumnType
String
required
The ClickHouse type. This is the exact representation of the type in ClickHouse.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.
Show Deprecated Fields
String
deprecated
The name of the Data Source column that this Data Pool column derives from.deprecated: Start using columnName instead
Show Deprecated Fields
Error
deprecated
deprecated: Refer to setupTasks instead
Show Error
The error object.
Int
The error code.
String
required
The error message.
Tenant
deprecated
The Data Pool’s tenant ID, if configured.deprecated: Will be removed; use Data Pool Access Policies instead
Show Tenant
A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.
String
required
The name of the column that represents the tenant ID.
String
required
The tenant ID column’s type.
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.
Show UniqueId
A 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.
String
required
The name of the column that represents the unique ID.
dataPools
Returns the Data Pools within the Environment.A Data Pool is a cached table hydrated from your data warehouse optimized for high-concurrency and low-latency queries. Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads.The dataPools query 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.
Points to the first item returned in the results. Used when paginating backward.
String
Points to the last item returned in the results. Used when paginating forward.
Boolean
required
A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.
Boolean
required
A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.
environment
Returns the Environment specified by the given ID.
Arguments
ID
required
Returns
Nullable
Environment
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
Account
The Environment’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
materializedViews
Returns the Materialized Views within the Environment.The materializedViews query 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.
The Materialized View’s Environment.See Environment
DateTime
required
The Materialized View’s creation date and time in UTC.
DateTime
required
The Materialized View’s last modification date and time in UTC.
String
required
The Materialized View’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
String
required
The Materialized View’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.
String
required
The SQL that the Materialized View executes.
DataPool
required
The Materialized View’s destination (AKA “target”) Data Pool.See DataPool
DataPool
The Materialized View’s source Data Pool.See DataPool
[DataPool!]
required
Other Data Pools queried by the Materialized View.See DataPool
PageInfo
required
The Materialized View connection’s page info.
Show PageInfo
The page info object used for pagination.
String
Points to the first item returned in the results. Used when paginating backward.
String
Points to the last item returned in the results. Used when paginating forward.
Boolean
required
A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.
Boolean
required
A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.
dataPoolAccessPolicy
Returns the Data Pool Access Policy specified by the given ID.A Data Pool Access Policy limits the data that Applications can access within a Data Pool.
Arguments
ID
required
Returns
Nullable
DataPoolAccessPolicy
Show DataPoolAccessPolicy
ID
required
The ID of the Data Pool Access Policy.
String
required
The Data Pool Access Policy’s unique name.
String
required
The Data Pool Access Policy’s description.
Account
required
The Data Pool Access Policy’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Data Pool Access Policy’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
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.
metric
Returns the Metric specified by the given ID.A Metric is a business indicator measured over time.
Arguments
ID
required
Returns
Nullable
Metric
Show Metric
The Metric object.A Metric is a business indicator measured over time.
ID
required
The Metric’s unique identifier.
String
required
The Metric’s unique name.
String
required
The Metric’s description.
Account
required
The Metric’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Metric’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Metric’s last modification date and time in UTC.
String
required
The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
String
required
The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.
DataPool
The Data Pool that powers this Metric.
See DataPool
[Dimension!]
required
The Metric’s Dimensions. These Dimensions are available to Query Filters.
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
Dimension
The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.
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
The Metric’s type. The different Metric types determine how the values are calculated.
Show MetricType
The available Metric types.
COUNT: Counts the number of records that matches the Metric Filters. For time series, it will count the values for each time granularity.
SUM: Sums the values of the specified column for every record that matches the Metric Filters. For time series, it will sum the values for each time granularity.
COUNT_DISTINCT: Counts the number of distinct values in the specified column for every record that matches the Metric Filters. For time series, it will count the distinct values for each time granularity.
AVERAGE: Averages the values of the specified column for every record that matches the Metric Filters. For time series, it will average the values for each time granularity.
MIN: Selects the minimum value of the specified column for every record that matches the Metric Filters. For time series, it will select the minimum value for each time granularity.
MAX: Selects the maximum value of the specified column for every record that matches the Metric Filters. For time series, it will select the maximum value for each time granularity.
CUSTOM: Aggregates values based on the provided custom expression.
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.
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
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Arguments
CounterInput
required
Show CounterInput
The fields for querying a Metric in counter format.A Metric’s counter query returns a single value over a given time range.
MetricInput
The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.See MetricInput
TimeRangeInput
The time range for calculating the counter.See TimeRangeInput
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
String
The Query Filters to apply before retrieving the counter data, in the form of SQL. If no Query Filters are provided, all data is included.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.deprecated: Use filterSql insteadSee FilterInput
Show CounterResponse
The counter response object. It contains a single Metric value for the given time range and Query Filters.
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Arguments
TimeSeriesInput
required
Show TimeSeriesInput
The fields for querying a Metric in time series format.A Metric’s time series query returns the values over a given time range aggregated by a given time granularity; day, month, or year, for example.
MetricInput
The Metric to Query. It can be a pre-created one or it can be inlined here.See MetricInput
TimeRangeInput
The time range for calculating the time series.See TimeRangeInput
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
TimeSeriesGranularity
required
The time granularity (hour, day, month, etc.) to aggregate the Metric values by.See TimeSeriesGranularity
String
The Query Filters to apply before retrieving the time series data, in the form of SQL. If no Query Filters are provided, all data is included.
[String!]
Columns to group by.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the time series data. If no Query Filters are provided, all data is included.deprecated: Use filterSql insteadSee FilterInput
Show TimeSeriesResponse
The time series response object. It contains an array of time series labels and an array of Metric values for the given time range and Query Filters.
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Arguments
LeaderboardInput
required
Show LeaderboardInput
The fields for querying a Metric in leaderboard format.A Metric’s leaderboard query returns an ordered table of Dimension and Metric values over a given time range.
MetricInput
The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.See MetricInput
TimeRangeInput
The time range for calculating the leaderboard.See TimeRangeInput
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
[DimensionInput!]
required
One or many Dimensions to group the Metric values by. Typically, Dimensions in a leaderboard are what you want to compare and rank.See DimensionInput
Sort
The sort order of the rows. It can be ascending (ASC) or descending (DESC) order. Defaults to descending (DESC) order when not provided.See Sort
Int
required
The number of rows to be returned. It can be a number between 1 and 1,000.
String
The Query Filters to apply before retrieving the leaderboard data, in the form of SQL. If no Query Filters are provided, all data is included.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the leaderboard data. If no Query Filters are provided, all data is included.deprecated: Use filterSql insteadSee FilterInput
Show LeaderboardResponse
The leaderboard response object. It contains an array of headers and a table (array of rows) with the selected Dimensions and corresponding Metric values for the given time range and Query Filters.
[String!]
required
The table headers. It contains the Dimension and Metric names.
[[String]!]
required
An ordered array of rows. Each row contains the Dimension values and the corresponding Metric value. A Dimension value can be empty. A Metric value will never be empty.
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
metricByName
Returns the Metric specified by the given unique name.A Metric is a business indicator measured over time.
Arguments
String
required
Returns
Nullable
Metric
Show Metric
The Metric object.A Metric is a business indicator measured over time.
ID
required
The Metric’s unique identifier.
String
required
The Metric’s unique name.
String
required
The Metric’s description.
Account
required
The Metric’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Metric’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Metric’s last modification date and time in UTC.
String
required
The Metric’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
String
required
The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.
DataPool
The Data Pool that powers this Metric.
See DataPool
[Dimension!]
required
The Metric’s Dimensions. These Dimensions are available to Query Filters.
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
Dimension
The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.
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
The Metric’s type. The different Metric types determine how the values are calculated.
Show MetricType
The available Metric types.
COUNT: Counts the number of records that matches the Metric Filters. For time series, it will count the values for each time granularity.
SUM: Sums the values of the specified column for every record that matches the Metric Filters. For time series, it will sum the values for each time granularity.
COUNT_DISTINCT: Counts the number of distinct values in the specified column for every record that matches the Metric Filters. For time series, it will count the distinct values for each time granularity.
AVERAGE: Averages the values of the specified column for every record that matches the Metric Filters. For time series, it will average the values for each time granularity.
MIN: Selects the minimum value of the specified column for every record that matches the Metric Filters. For time series, it will select the minimum value for each time granularity.
MAX: Selects the maximum value of the specified column for every record that matches the Metric Filters. For time series, it will select the maximum value for each time granularity.
CUSTOM: Aggregates values based on the provided custom expression.
MetricSettings
required
The settings for the Metric. The settings are specific to the Metric’s type.
The Metric’s measure. Access this from the Metric’s settings object instead.deprecated: Use the Metric settings object instead.
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
CounterResponse
deprecated
Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.deprecated: Use the top-level counter query instead
Arguments
CounterInput
required
Show CounterInput
The fields for querying a Metric in counter format.A Metric’s counter query returns a single value over a given time range.
MetricInput
The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.See MetricInput
TimeRangeInput
The time range for calculating the counter.See TimeRangeInput
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
String
The Query Filters to apply before retrieving the counter data, in the form of SQL. If no Query Filters are provided, all data is included.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.deprecated: Use filterSql insteadSee FilterInput
Show CounterResponse
The counter response object. It contains a single Metric value for the given time range and Query Filters.
Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.deprecated: Use the top-level timeSeries query instead
Arguments
TimeSeriesInput
required
Show TimeSeriesInput
The fields for querying a Metric in time series format.A Metric’s time series query returns the values over a given time range aggregated by a given time granularity; day, month, or year, for example.
MetricInput
The Metric to Query. It can be a pre-created one or it can be inlined here.See MetricInput
TimeRangeInput
The time range for calculating the time series.See TimeRangeInput
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
TimeSeriesGranularity
required
The time granularity (hour, day, month, etc.) to aggregate the Metric values by.See TimeSeriesGranularity
String
The Query Filters to apply before retrieving the time series data, in the form of SQL. If no Query Filters are provided, all data is included.
[String!]
Columns to group by.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the time series data. If no Query Filters are provided, all data is included.deprecated: Use filterSql insteadSee FilterInput
Show TimeSeriesResponse
The time series response object. It contains an array of time series labels and an array of Metric values for the given time range and Query Filters.
Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.deprecated: Use the top-level leaderboard query instead
Arguments
LeaderboardInput
required
Show LeaderboardInput
The fields for querying a Metric in leaderboard format.A Metric’s leaderboard query returns an ordered table of Dimension and Metric values over a given time range.
MetricInput
The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.See MetricInput
TimeRangeInput
The time range for calculating the leaderboard.See TimeRangeInput
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
[DimensionInput!]
required
One or many Dimensions to group the Metric values by. Typically, Dimensions in a leaderboard are what you want to compare and rank.See DimensionInput
Sort
The sort order of the rows. It can be ascending (ASC) or descending (DESC) order. Defaults to descending (DESC) order when not provided.See Sort
Int
required
The number of rows to be returned. It can be a number between 1 and 1,000.
String
The Query Filters to apply before retrieving the leaderboard data, in the form of SQL. If no Query Filters are provided, all data is included.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the leaderboard data. If no Query Filters are provided, all data is included.deprecated: Use filterSql insteadSee FilterInput
Show LeaderboardResponse
The leaderboard response object. It contains an array of headers and a table (array of rows) with the selected Dimensions and corresponding Metric values for the given time range and Query Filters.
[String!]
required
The table headers. It contains the Dimension and Metric names.
[[String]!]
required
An ordered array of rows. Each row contains the Dimension values and the corresponding Metric value. A Dimension value can be empty. A Metric value will never be empty.
Whether or not access control is enabled for the Metric.deprecated: Use Data Pool Access Policies instead
metrics
Returns the Metrics within the Environment.A Metric is a business indicator measured over time. Each Metric is associated with one Data Pool, which is a cached table hydrated from your data warehouse optimized for high-concurrency and low-latency queries. Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads.The metrics query 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.
Points to the first item returned in the results. Used when paginating backward.
String
Points to the last item returned in the results. Used when paginating forward.
Boolean
required
A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.
Boolean
required
A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.
booster
Returns the Booster specified by the given ID.A Booster significantly improves the query performance for a Metric.
Arguments
ID
required
Returns
Nullable
Booster
Show Booster
Boosters allow you to optimize Metric Queries for a subset of commonly used Dimensions. A Metric can have one or many Boosters to optimize for the different Query patterns.Boosters can be understood as an aggregating index. The index is formed from left to right as follows:
The Data Pool’s Tenant ID column (if present)
Metric Filter columns (if present)
Query Filter Dimensions (see dimensions)
The Data Pool’s timestamp column
ID
required
The Booster’s unique identifier.
Account
required
The Booster’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Booster’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Booster’s last modification date and time in UTC.
String
required
The Booster’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
String
required
The Booster’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.
Metric
required
The Metric this Booster is associated to.
See Metric
BoosterStatus
required
The status of the Booster (once LIVE it will be available for speeding up Metric queries).
Show BoosterStatus
The Booster status.
CREATED: The Booster has been created. Propel will start optimizing the Data Pool soon.
OPTIMIZING: Propel is setting up the Booster and optimizing the Data Pool.
LIVE: The Booster is now live and available to speed up Metric queries.
FAILED: Propel failed to setup the Booster. Please write to support. Alternatively, you can delete the Booster and try again.
DELETING: Propel is deleting the Booster and all of its associated data.
Error
If the Booster fails during the optimization process, this field includes a descriptive
error message.
Show Error
The error object.
Int
The error code.
String
required
The error message.
Float
When the Booster is OPTIMIZING, this represents its progress as a number from 0 to 1.
In all other states, progress is null.
[Dimension!]
required
Dimensions included in the Booster.
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
String
The number of records in the Booster.
Float
The amount of storage in terabytes used by the Booster.
policy
Returns a Policy by ID.
Arguments
ID
required
Returns
Nullable
Policy
Show Policy
The Policy type. It governs an Application’s access to a Metric’s data.
ID
required
The Policy’s unique identifier.
Account
required
The Policy’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Policy’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Policy’s last modification date and time in UTC.
String
required
The Policy’s creator. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
String
required
The Policy’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.
PolicyType
required
The type of Policy.
Show PolicyType
The types of Policies that can be applied to a Metric.
ALL_ACCESS: Grants access to all Metric data.
TENANT_ACCESS: Grants access to a specified tenant’s Metric data.
Application
required
The Application that is granted access.
See Application
Metric
required
The Metric that the Application is granted access to.
See Metric
sync
Returns a Sync by ID.
Arguments
ID
required
Returns
Nullable
Sync
Show Sync
The Sync object.This represents the process of syncing data from your Data Source (for example, a Snowflake data warehouse) to your Data Pool.
ID
required
The Sync’s unique identifier.
Account
The Sync’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
The Sync’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
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.
The number of new, updated, and deleted records contained within the Sync, if known. This excludes filtered records.
String
The (compressed) size of the Sync, in bytes, if known.
SyncStatus
required
The status of the Sync (all Syncs begin as SYNCING before transitioning to SUCCEEDED or FAILED).
Show SyncStatus
The status of a Sync.
SYNCING: Propel is actively syncing records contained within the Sync.
SUCCEEDED: The Sync succeeded. Propel successfully synced all records contained within the Sync.
FAILED: The Sync failed. Propel failed to sync some or all records contained within the Sync.
DELETING: Propel is deleting the Sync.
DateTime
The time at which the Sync started.
DateTime
The time at which the Sync succeeded.
DateTime
The time at which the Sync failed.
Error
If the Sync failed, this represents the reason the Sync failed.
Show Error
The error object.
Int
The error code.
String
required
The error message.
Show Deprecated Fields
String
deprecated
The number of new records contained within the Sync, if known. This excludes filtered records.deprecated: All records are considered to be processed; see processedRecords instead
String
deprecated
The number of updated records contained within the Sync, if known. This excludes filtered records.deprecated: All records are considered to be processed; see processedRecords instead
String
deprecated
The number of deleted records contained within the Sync, if known. This excludes filtered records.deprecated: All records are considered to be processed; see processedRecords instead
String
deprecated
The number of filtered records contained within the Sync, due to issues such as a missing timestamp Dimension, if any are known to be invalid.deprecated: All records are considered to be processed; see processedRecords instead
table
Returns a table by ID.
Arguments
ID
required
Returns
Nullable
Table
Show Table
The table object.Once a table introspection succeeds, it creates a new table object for every table it introspected.
ID
required
The table’s ID.
String
required
The table’s name.
DataSource
The Data Source to which the table belongs.
See DataSource
Int
The number of rows contained within the table at the time of introspection. Check the table’s cachedAt time, since this info can become out of date.
Int
The size of the table (in bytes) at the time of introspection. Check the table’s cachedAt time, since this info can become out of date.
DateTime
required
The time at which the table was cached (i.e., the time at which it was introspected).
DateTime
required
The time at which the table was created. This is the same as its cachedAt time.
String
required
The table’s creator. This corresponds to the initiator of the table Introspection. It can be either a User ID, an Application ID, or “system” if it was created by Propel.
Information about the table obtained from Snowflake.deprecated: This is Snowflake-specific, and will be removed
String
required
deprecated
Information about the table obtained from Snowflake.deprecated: This is Snowflake-specific, and will be removed
String
deprecated
Information about the table obtained from Snowflake.deprecated: This is Snowflake-specific, and will be removed
String
required
deprecated
Information about the table obtained from Snowflake.deprecated: This is Snowflake-specific, and will be removed
Int
deprecated
Information about the table obtained from Snowflake.deprecated: This is Snowflake-specific, and will be removed
Boolean
deprecated
Information about the table obtained from Snowflake.deprecated: This is Snowflake-specific, and will be removed
Boolean
deprecated
Information about the table obtained from Snowflake.deprecated: This is Snowflake-specific, and will be removed
Boolean
deprecated
Information about the table obtained from Snowflake.deprecated: This is Snowflake-specific, and will be removed
Boolean
required
deprecated
Information about the table obtained from Snowflake.deprecated: This is Snowflake-specific, and will be removed
metricReport
Build a report, or table, consisting of multiple Metrics broken down by one-or-more dimensions.The first few columns of the report are the dimensions you choose to break down by. The subsequent columns are the
Metrics you choose to query. By default, the report sorts on the first Metric in descending order, but you can
configure this with the orderByMetric and sort inputs.Finally, reports use cursor-based pagination. You can control page size with the first and
last inputs.
Arguments
MetricReportInput
required
Show MetricReportInput
The fields for querying a Metric Report.A Metric Report is a table whose columns include dimensions and Metric values, calculated over a given time range.
TimeRangeInput
The time range for calculating the Metric Report.
Show TimeRangeInput
The fields required to specify the time range for a time series, counter, or leaderboard Metric query.If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.If both relative and absolute time ranges are provided, the relative time range will take precedence.If a LAST_N relative time period is selected, an n ≥ 1 must be provided. If no n is provided or n < 1, a BAD_REQUEST error will be returned.
String
The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.
Set this to filter on an alternative timestamp field.
The number of time units for the LAST_N relative periods.
DateTime
The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.
DateTime
The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
[MetricReportDimensionInput!]
required
One or many dimensions to group the Metric values by. Typically, dimensions in a report are what you want to compare and rank.
Show MetricReportDimensionInput
The fields for specifying a dimension to include in a Metric Report.
String
required
The column name of the dimension to include in a Metric Report. This must match the name of a Data Pool column.
String
The name to display in the headers array when displaying the report. This defaults to the column name if unspecified.
Sort
The sort order for the dimension. It can be ascending (ASC) or descending (DESC) order. Defaults to ascending (ASC) order when not provided.See Sort
[MetricReportMetricInput!]
required
One or more Metrics to include in the Metric Report. These will be broken down by dimensions.
Show MetricReportMetricInput
The fields for specifying a Metric to include in a Metric Report.
MetricInput
The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.See MetricInput
String
The name to display in the headers array when displaying the report. This defaults to the Metric’s unique name if unspecified.
String
The Query Filters to apply when calculating the Metric, in the form of SQL.
Sort
The sort order for the Metric. It can be ascending (ASC) or descending (DESC) order. Defaults to descending (DESC) order when not provided.See Sort
Show Deprecated Fields
String
deprecated
The Metric’s unique name. If not specified, Propel will lookup the Metric by ID.deprecated: Use metric
ID
deprecated
The Metric’s ID. If not specified, Propel will lookup the Metric by unique name.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply when calculating the Metric.deprecated: Use filterSql insteadSee FilterInput
String
The Query Filters to apply when building the Metric Report, in the form of SQL. These can be used to filter out rows.
Int
The index of the column to order the Metric Report by. The index is 1-based and defaults to the first Metric column. In other words, by default, reports are ordered by the first Metric; however, you can order by the second Metric, third Metric, etc., by overriding the orderByColumn input. You can also order by dimensions this way.
Int
The number of rows to be returned when paging forward. It can be a number between 1 and 1,000.
String
The cursor to use when paging forward.
Int
The number of rows to be returned when paging forward. It can be a number between 1 and 1,000.
String
The cursor to use when paging backward.
Show Deprecated Fields
[FilterInput!]
deprecated
The Query Filters to apply when building the Metric Report. These can be used to filter out rows.deprecated: Use filterSql instead
Show FilterInput
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.
[FilterInput!]
Additional filters to AND with this one. AND takes precedence over OR.
[FilterInput!]
Additional filters to OR with this one. AND takes precedence over OR.
Returns
Nullable
MetricReportConnection
Show MetricReportConnection
The Metric Report connection object.It includes headers and rows for a single page of a report. It also allows paging forward and backward to other
pages of the report.
PageInfo
required
The report connection’s page info.
Show PageInfo
The page info object used for pagination.
String
Points to the first item returned in the results. Used when paginating backward.
String
Points to the last item returned in the results. Used when paginating forward.
Boolean
required
A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.
Boolean
required
A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.
The Metric Report node object.This type represents a single row of a report.
[String]
required
An ordered array of display names for your dimensions and Metrics, as defined in the report input. Use this to display your table’s header.
[String]
required
An ordered array of columns. Each column contains the dimension and Metric values for a single row, as defined in the report input. Use this to display a single row within your table.
[String]
required
An ordered array of display names for your dimensions and Metrics, as defined in the report input. Use this to display your table’s header.
[[String]!]
required
An ordered array of rows. Each row contains dimension and Metric values, as defined in the report input. Use these to display the rows of your table.
QueryInfo
required
The Query statistics and metadata.
Show QueryInfo
The Query Info object. It contains metadata and statistics about a Query performed.
ID
required
The Query’s unique identifier.
DateTime
required
The date and time in UTC when the Query was created.
String
required
The unique identifier of the actor that performed the Query.
DateTime
required
The date and time in UTC when the Query was last modified.
String
required
The unique identifier of the actor that modified the Query.
String
required
The bytes processed by the Query.
Int
required
The duration of the Query in milliseconds.
String
required
The number of records processed by the Query.
Int
required
The bytes returned by the Query.
Int
required
The number of records returned by the Query.
Booster
If the Query was boosted, the Booster that was used.
See Booster
Whether the column is nullable, meaning whether it accepts a null value.
[[String]!]
required
The data gathered by the SQL query. The data is returned in an N x M matrix format, where the
first dimension are the rows retrieved, and the second dimension are the columns. Each cell
can be either a string or null, and the string can represent a number, text, date or boolean value.
QueryInfo
required
The Query statistics and metadata.
Show QueryInfo
The Query Info object. It contains metadata and statistics about a Query performed.
ID
required
The Query’s unique identifier.
DateTime
required
The date and time in UTC when the Query was created.
String
required
The unique identifier of the actor that performed the Query.
DateTime
required
The date and time in UTC when the Query was last modified.
String
required
The unique identifier of the actor that modified the Query.
String
required
The bytes processed by the Query.
Int
required
The duration of the Query in milliseconds.
String
required
The number of records processed by the Query.
Int
required
The bytes returned by the Query.
Int
required
The number of records returned by the Query.
Booster
If the Query was boosted, the Booster that was used.
See Booster
Whether the column is nullable, meaning whether it accepts a null value.
dataGrid
Returns the individual records of a Data Pool with the convenience of built-in pagination, filtering, and sorting.
Arguments
DataGridInput
required
Show DataGridInput
The fields for querying Data Grid records.
DataPoolInput
required
The Data Pool to be queried.
Show DataPoolInput
ID
The ID of the Data Pool.
String
The name of the Data Pool.
TimeRangeInput
The time range for retrieving the records.
Show TimeRangeInput
The fields required to specify the time range for a time series, counter, or leaderboard Metric query.If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.If both relative and absolute time ranges are provided, the relative time range will take precedence.If a LAST_N relative time period is selected, an n ≥ 1 must be provided. If no n is provided or n < 1, a BAD_REQUEST error will be returned.
String
The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.
Set this to filter on an alternative timestamp field.
The number of time units for the LAST_N relative periods.
DateTime
The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.
DateTime
The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
[String!]
required
The columns to retrieve.
Int
The index of the column to order the table by. The index is 1-based. If not provided, records will be ordered by their timestamp by default.
Sort
The sort order of the rows. It can be ascending (ASC) or descending (DESC) order. Defaults to descending (DESC) order when not provided.
Show Sort
The available sort orders.
ASC: Sort in ascending order.
DESC: Sort in descending order.
String
The filters to apply to the records, in the form of SQL. You may only filter on columns included in the columns array input.
Int
The number of rows to be returned when paging forward. It can be a number between 1 and 1,000.
String
The cursor to use when paging forward.
Int
The number of rows to be returned when paging forward. It can be a number between 1 and 1,000.
String
The cursor to use when paging backward.
Show Deprecated Fields
[FilterInput!]
deprecated
The filters to apply to the records. You may only filter on columns included in the columns array input.deprecated: Use filterSql instead
Show FilterInput
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.
[FilterInput!]
Additional filters to AND with this one. AND takes precedence over OR.
[FilterInput!]
Additional filters to OR with this one. AND takes precedence over OR.
Returns
Non-null
DataGridConnection
Show DataGridConnection
The Data Grid connection.It includes headers and rows for a single page of a Data Grid table. It also allows paging forward and backward to other
pages of the Data Grid table.
[String!]
required
The Data Grid table’s headers.
[[String]!]
required
An array of arrays containing the values of the Data Grid table’s rows.
QueryInfo
required
The Query statistics and metadata.
Show QueryInfo
The Query Info object. It contains metadata and statistics about a Query performed.
ID
required
The Query’s unique identifier.
DateTime
required
The date and time in UTC when the Query was created.
String
required
The unique identifier of the actor that performed the Query.
DateTime
required
The date and time in UTC when the Query was last modified.
String
required
The unique identifier of the actor that modified the Query.
String
required
The bytes processed by the Query.
Int
required
The duration of the Query in milliseconds.
String
required
The number of records processed by the Query.
Int
required
The bytes returned by the Query.
Int
required
The number of records returned by the Query.
Booster
If the Query was boosted, the Booster that was used.
See Booster
Returns an array of the most frequent values in a given column. The resulting array is sorted in descending order of approximate frequency of values.
Arguments
TopValuesInput
required
Show TopValuesInput
The fields for querying the top values in a given column.
DataPoolInput
required
The Data Pool to be queried. A Data Pool ID or unique name can be provided.
Show DataPoolInput
ID
The ID of the Data Pool.
String
The name of the Data Pool.
String
required
The column to fetch the unique values from.
TimeRangeInput
The time range for calculating the top values.
Show TimeRangeInput
The fields required to specify the time range for a time series, counter, or leaderboard Metric query.If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.If both relative and absolute time ranges are provided, the relative time range will take precedence.If a LAST_N relative time period is selected, an n ≥ 1 must be provided. If no n is provided or n < 1, a BAD_REQUEST error will be returned.
String
The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.
Set this to filter on an alternative timestamp field.
The number of time units for the LAST_N relative periods.
DateTime
The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.
DateTime
The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
Int
The maximum number of values to return. It can be a number between 1 and 1,000. If the parameter is omitted, default value 10 is used.
Returns
Non-null
TopValuesResponse
Show TopValuesResponse
[String!]
required
An array with the list of values.
counter
Query a metric in counter format. Returns a single metric value for the given time range and filters.
Arguments
CounterInput
required
Show CounterInput
The fields for querying a Metric in counter format.A Metric’s counter query returns a single value over a given time range.
MetricInput
The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.
The fields required to specify the time range for a time series, counter, or leaderboard Metric query.If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.If both relative and absolute time ranges are provided, the relative time range will take precedence.If a LAST_N relative time period is selected, an n ≥ 1 must be provided. If no n is provided or n < 1, a BAD_REQUEST error will be returned.
String
The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.
Set this to filter on an alternative timestamp field.
The number of time units for the LAST_N relative periods.
DateTime
The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.
DateTime
The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
String
The Query Filters to apply before retrieving the counter data, in the form of SQL. If no Query Filters are provided, all data is included.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.deprecated: Use filterSql instead
Show FilterInput
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 fields required to specify the time range for a time series, counter, or leaderboard Metric query.If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.If both relative and absolute time ranges are provided, the relative time range will take precedence.If a LAST_N relative time period is selected, an n ≥ 1 must be provided. If no n is provided or n < 1, a BAD_REQUEST error will be returned.
String
The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.
Set this to filter on an alternative timestamp field.
The number of time units for the LAST_N relative periods.
DateTime
The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.
DateTime
The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
String
The Query Filters to apply before retrieving the counter data, in the form of SQL. If no Query Filters are provided, all data is included.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.deprecated: Use filterSql instead
Show FilterInput
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"
Query a metric in time series format. Returns arrays of timestamps and metric values for the given time range and filters.
Arguments
TimeSeriesInput
required
Show TimeSeriesInput
The fields for querying a Metric in time series format.A Metric’s time series query returns the values over a given time range aggregated by a given time granularity; day, month, or year, for example.
MetricInput
The Metric to Query. It can be a pre-created one or it can be inlined here.
The fields required to specify the time range for a time series, counter, or leaderboard Metric query.If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.If both relative and absolute time ranges are provided, the relative time range will take precedence.If a LAST_N relative time period is selected, an n ≥ 1 must be provided. If no n is provided or n < 1, a BAD_REQUEST error will be returned.
String
The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.
Set this to filter on an alternative timestamp field.
The number of time units for the LAST_N relative periods.
DateTime
The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.
DateTime
The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
TimeSeriesGranularity
required
The time granularity (hour, day, month, etc.) to aggregate the Metric values by.
Show TimeSeriesGranularity
The available time series granularities. Granularities define the unit of time to aggregate the Metric data for a time series query.For example, if the granularity is set to DAY, then the the time series query will return a label and a value for each day.If there are no records for a given time series granularity, Propel will return the label and a value of “0” so that the time series can be properly visualized.
MINUTE: Aggregates values by minute intervals.
FIVE_MINUTES: Aggregates values by 5-minute intervals.
TEN_MINUTES: Aggregates values by 10-minute intervals.
FIFTEEN_MINUTES: Aggregates values by 15-minute intervals.
HOUR: Aggregates values by hourly intervals.
DAY: Aggregates values by daily intervals.
WEEK: Aggregates values by weekly intervals.
MONTH: Aggregates values by monthly intervals.
YEAR: Aggregates values by yearly intervals.
String
The Query Filters to apply before retrieving the time series data, in the form of SQL. If no Query Filters are provided, all data is included.
[String!]
Columns to group by.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the time series data. If no Query Filters are provided, all data is included.deprecated: Use filterSql instead
Show FilterInput
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.
[FilterInput!]
Additional filters to AND with this one. AND takes precedence over OR.
[FilterInput!]
Additional filters to OR with this one. AND takes precedence over OR.
Returns
Nullable
TimeSeriesResponse
Show TimeSeriesResponse
The time series response object. It contains an array of time series labels and an array of Metric values for the given time range and Query Filters.
[String!]
required
The time series labels.
[String]
required
The time series values.
[TimeSeriesResponseGroup!]
The time series values for each group in groupBy, if specified.
Show TimeSeriesResponseGroup
The time series response object for a group specified in groupBy. It contains an array of time series labels and an array of Metric values for a particular group.
[String]
required
The time series group’s columns.
[String!]
required
The time series group’s labels.
[String]
required
The time series group’s values.
QueryInfo
required
The Query statistics and metadata.
Show QueryInfo
The Query Info object. It contains metadata and statistics about a Query performed.
ID
required
The Query’s unique identifier.
DateTime
required
The date and time in UTC when the Query was created.
String
required
The unique identifier of the actor that performed the Query.
DateTime
required
The date and time in UTC when the Query was last modified.
String
required
The unique identifier of the actor that modified the Query.
String
required
The bytes processed by the Query.
Int
required
The duration of the Query in milliseconds.
String
required
The number of records processed by the Query.
Int
required
The bytes returned by the Query.
Int
required
The number of records returned by the Query.
Booster
If the Query was boosted, the Booster that was used.
See Booster
Query a metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the metric’s corresponding values for the given time range and filters.
Arguments
LeaderboardInput
required
Show LeaderboardInput
The fields for querying a Metric in leaderboard format.A Metric’s leaderboard query returns an ordered table of Dimension and Metric values over a given time range.
MetricInput
The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.
The fields required to specify the time range for a time series, counter, or leaderboard Metric query.If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.If both relative and absolute time ranges are provided, the relative time range will take precedence.If a LAST_N relative time period is selected, an n ≥ 1 must be provided. If no n is provided or n < 1, a BAD_REQUEST error will be returned.
String
The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.
Set this to filter on an alternative timestamp field.
The number of time units for the LAST_N relative periods.
DateTime
The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.
DateTime
The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.
String
The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the IANA time zone database. Defaults to “UTC”.
[DimensionInput!]
required
One or many Dimensions to group the Metric values by. Typically, Dimensions in a leaderboard are what you want to compare and rank.
Show DimensionInput
The fields for creating or modifying a Dimension.
String
required
The name of the column to create the Dimension from.
Sort
The sort order of the rows. It can be ascending (ASC) or descending (DESC) order. Defaults to descending (DESC) order when not provided.
Show Sort
The available sort orders.
ASC: Sort in ascending order.
DESC: Sort in descending order.
Int
required
The number of rows to be returned. It can be a number between 1 and 1,000.
String
The Query Filters to apply before retrieving the leaderboard data, in the form of SQL. If no Query Filters are provided, all data is included.
Show Deprecated Fields
ID
deprecated
The ID of the Metric to query.Required if metricName is not specified.deprecated: Use metric
String
deprecated
The name of the Metric to query.Required if metricId is not specified.deprecated: Use metric
[FilterInput!]
deprecated
The Query Filters to apply before retrieving the leaderboard data. If no Query Filters are provided, all data is included.deprecated: Use filterSql instead
Show FilterInput
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.
[FilterInput!]
Additional filters to AND with this one. AND takes precedence over OR.
[FilterInput!]
Additional filters to OR with this one. AND takes precedence over OR.
Returns
Nullable
LeaderboardResponse
Show LeaderboardResponse
The leaderboard response object. It contains an array of headers and a table (array of rows) with the selected Dimensions and corresponding Metric values for the given time range and Query Filters.
[String!]
required
The table headers. It contains the Dimension and Metric names.
[[String]!]
required
An ordered array of rows. Each row contains the Dimension values and the corresponding Metric value. A Dimension value can be empty. A Metric value will never be empty.
QueryInfo
required
The Query statistics and metadata.
Show QueryInfo
The Query Info object. It contains metadata and statistics about a Query performed.
ID
required
The Query’s unique identifier.
DateTime
required
The date and time in UTC when the Query was created.
String
required
The unique identifier of the actor that performed the Query.
DateTime
required
The date and time in UTC when the Query was last modified.
String
required
The unique identifier of the actor that modified the Query.
String
required
The bytes processed by the Query.
Int
required
The duration of the Query in milliseconds.
String
required
The number of records processed by the Query.
Int
required
The bytes returned by the Query.
Int
required
The number of records returned by the Query.
Booster
If the Query was boosted, the Booster that was used.
See Booster
Returns the Deletion Job specified by the given ID.The Deletion Job represents the asynchronous process of deleting data
given some filters inside a Data Pool.
Arguments
ID
required
Returns
Nullable
DeletionJob
Show DeletionJob
Deletion Job scheduled for a specific Data Pool.The Deletion Job represents the asynchronous process of deleting data
given some filters inside a Data Pool. It tracks the deletion process
until it is finished, showing the progress and the outcome when it is finished.
ID
required
The Deletion Job’s ID.
DateTime
required
The Deletion Job’s creation date and time in UTC.
String
required
Who created the Deletion Job.
DateTime
required
The Deletion Job’s last modification date and time in UTC.
String
required
Who last modified the Deletion Job.
Account
required
Account to which the Deletion Job belongs.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
Environment to which the Deletion Job belongs.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
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.
addColumnToDataPoolJob
Returns the AddColumnToDataPoolJob specified by the given ID.The AddColumnToDataPoolJob represents the asynchronous process of adding
a column, given its name and type, to a Data Pool.
Arguments
ID
required
Returns
Nullable
AddColumnToDataPoolJob
Show AddColumnToDataPoolJob
AddColumnToDataPoolJob scheduled for a specific Data Pool.The Add Column Job represents the asynchronous process of adding a column,
given its name and type, to a Data Pool. It tracks the process of adding a column
until it is finished, showing the progress and the outcome when it is finished.
ID
required
The AddColumnToDataPoolJob’s ID.
DateTime
required
The AddColumnToDataPoolJob’s creation date and time in UTC.
String
required
Who created the AddColumnToDataPoolJob.
DateTime
required
The AddColumnToDataPoolJob’s last modification date and time in UTC.
String
required
Who modified the AddColumnToDataPoolJob last.
Account
required
Account to which the AddColumnToDataPoolJob belongs.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
Environment to which the AddColumnToDataPoolJob belongs.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Add column to Data Pool Job connection’s page info.
Show PageInfo
The page info object used for pagination.
String
Points to the first item returned in the results. Used when paginating backward.
String
Points to the last item returned in the results. Used when paginating forward.
Boolean
required
A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.
Boolean
required
A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.
updateDataPoolRecordsJob
Returns the UpdateDataPoolRecords Job specified by the given ID.The UpdateDataPoolRecords Job represents the asynchronous process of updating
records inside a Data Pool.
Arguments
ID
required
Returns
Nullable
UpdateDataPoolRecordsJob
Show UpdateDataPoolRecordsJob
UpdateDataPoolRecords Job scheduled for a specific Data Pool.
The Update Data Pool Records Job represents the asynchronous process of updating records
given some filters, inside a Data Pool. It tracks the process of updating records
until it is finished, showing the progress and the outcome when it is finished.
ID
required
The UpdateDataPoolRecords Job’s ID
DateTime
required
The UpdateDataPoolRecords Job’s creation date and time in UTC
String
required
Who created the UpdateDataPoolRecords Job
DateTime
required
The UpdateDataPoolRecords Job’s last modification date and time in UTC
String
required
Who last modified the UpdateDataPoolRecords Job
Account
required
Account to which the UpdateDataPoolRecords Job belongs
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
Environment to which the UpdateDataPoolRecords Job belongs
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
The Update Data Pool records Job connection’s page info.
Show PageInfo
The page info object used for pagination.
String
Points to the first item returned in the results. Used when paginating backward.
String
Points to the last item returned in the results. Used when paginating forward.
Boolean
required
A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.
Boolean
required
A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.
materializedView
Returns the Materialized View specified by the given ID.
Arguments
ID
required
Returns
Nullable
MaterializedView
Show MaterializedView
ID
required
The Materialized View’s unique identifier.
String
required
The Materialized View’s unique name.
String
required
The Materialized View’s description.
Account
required
The Materialized View’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Materialized View’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
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
DataPool
The Materialized View’s source Data Pool.
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
[DataPool!]
required
Other Data Pools queried by the Materialized View.
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
materializedViewByName
Returns the Materialized View specified by its unique name.
Arguments
String
required
Returns
Nullable
MaterializedView
Show MaterializedView
ID
required
The Materialized View’s unique identifier.
String
required
The Materialized View’s unique name.
String
required
The Materialized View’s description.
Account
required
The Materialized View’s Account.
Show Account
The Account object.
ID
required
The Account’s unique identifier.
Environment
required
The Materialized View’s Environment.
Show Environment
The Environments object.Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.
ID
required
The Environment’s unique identifier.
String
The Environment’s unique name.
String
The Environment’s description.
DateTime
The Environment’s creation date and time in UTC.
DateTime
The Environment’s last modification date and time in UTC.
String
The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.
String
The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.
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
DataPool
The Materialized View’s source Data Pool.
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
[DataPool!]
required
Other Data Pools queried by the Materialized View.
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
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.4344","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/queries","slug":"/docs/management-api/queries","pageMetadata":{"title":"Queries","description":"Available queries in the Management API","icon":"magnifying-glass","href":"/docs/management-api/queries"},"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: \"Available queries 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`,ol:`ol`,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:`application`,children:`application`}),`\n`,_jsxs(ParamField,{path:` `,id:`param`,children:[_jsx(_components.p,{children:`Returns the Application specified by the given ID.`}),_jsx(Heading,{level:`3`,id:`arguments`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id`}),_jsx(Heading,{level:`3`,id:`returns`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Application`})]}),_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-1`,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(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-2`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment`,children:[_jsx(_components.p,{children:`The Application’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-3`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-1`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-1`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-1`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-1`,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-1`,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-1`,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-1`,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(Expandable,{title:`Propeller`,children:[_jsx(_components.p,{children:`A Propeller determines your Application’s query processing power. The larger the Propeller, the faster the queries and the higher the cost. Every Propel Application (and therefore every set of API credentials) has a Propeller that determines the speed and cost of queries.`}),_jsx(ParamField,{path:` `,id:`param-1`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_X_SMALL`}),`: Max records per second: 5,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_SMALL`}),`: Max records per second: 25,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_MEDIUM`}),`: Max records per second: 100,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_LARGE`}),`: Max records per second: 250,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_X_LARGE`}),`: Max records per second: 500,000,000 records per second`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`scopes`,type:`[ApplicationScope!]`,required:true,id:`param-scopes`,children:[_jsx(_components.p,{children:`The Application’s OAuth 2.0 scopes.`}),_jsxs(Expandable,{title:`ApplicationScope`,children:[_jsx(_components.p,{children:`The API operations an Application is authorized to perform.`}),_jsxs(ParamField,{path:` `,id:`param-2`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ADMIN`}),`: Grant read/write access to Data Sources, Data Pools, Metrics and Policies.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`APPLICATION_ADMIN`}),`: Grant read/write access to Applications.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_QUERY`}),`: Grant read access to query Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_READ`}),`: Grant read access to read Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_STATS`}),`: Grant read access to fetch column statistics from Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ENVIRONMENT_ADMIN`}),`: Grant read/write access to Environments.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_QUERY`}),`: Grant read access to query Metrics.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_STATS`}),`: Grant read access to fetch Dimension statistics from Metrics.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_READ`}),`: Grant read access to Metrics.`]}),`\n`]}),_jsxs(_components.p,{children:[`This does not allow querying Metrics. For that, see `,_jsx(_components.code,{children:`METRIC_QUERY`}),`.`]})]})]})]}),_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-2`,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-3`,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`})]})]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`applicationbyname`,children:`applicationByName`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-3`,children:[_jsx(_components.p,{children:`Returns the Application with the given unique name.`}),_jsx(Heading,{level:`3`,id:`arguments-4`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-2`}),_jsx(Heading,{level:`3`,id:`returns-2`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Application`})]}),_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-4`,children:_jsx(_components.p,{children:`The Application’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-3`,children:_jsx(_components.p,{children:`The Application’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-2`,children:_jsx(_components.p,{children:`The Application’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-2`,children:[_jsx(_components.p,{children:`The Application’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-5`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-1`,children:[_jsx(_components.p,{children:`The Application’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-6`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-4`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-3`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-2`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-2`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-2`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-2`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-3`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-3`,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-3`,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-3`,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-3`,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-1`,children:_jsx(_components.p,{children:`The Application’s OAuth 2.0 client identifier.`})}),_jsx(ParamField,{path:`secret`,type:`String`,id:`param-secret-1`,children:_jsx(_components.p,{children:`The Application’s OAuth 2.0 client secret.`})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,required:true,id:`param-propeller-1`,children:[_jsx(_components.p,{children:`The Application’s Propeller.`}),_jsxs(Expandable,{title:`Propeller`,children:[_jsx(_components.p,{children:`A Propeller determines your Application’s query processing power. The larger the Propeller, the faster the queries and the higher the cost. Every Propel Application (and therefore every set of API credentials) has a Propeller that determines the speed and cost of queries.`}),_jsx(ParamField,{path:` `,id:`param-4`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_X_SMALL`}),`: Max records per second: 5,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_SMALL`}),`: Max records per second: 25,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_MEDIUM`}),`: Max records per second: 100,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_LARGE`}),`: Max records per second: 250,000,000 records per second`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`P1_X_LARGE`}),`: Max records per second: 500,000,000 records per second`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`scopes`,type:`[ApplicationScope!]`,required:true,id:`param-scopes-1`,children:[_jsx(_components.p,{children:`The Application’s OAuth 2.0 scopes.`}),_jsxs(Expandable,{title:`ApplicationScope`,children:[_jsx(_components.p,{children:`The API operations an Application is authorized to perform.`}),_jsxs(ParamField,{path:` `,id:`param-5`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ADMIN`}),`: Grant read/write access to Data Sources, Data Pools, Metrics and Policies.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`APPLICATION_ADMIN`}),`: Grant read/write access to Applications.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_QUERY`}),`: Grant read access to query Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_READ`}),`: Grant read access to read Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATA_POOL_STATS`}),`: Grant read access to fetch column statistics from Data Pools.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ENVIRONMENT_ADMIN`}),`: Grant read/write access to Environments.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_QUERY`}),`: Grant read access to query Metrics.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_STATS`}),`: Grant read access to fetch Dimension statistics from Metrics.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`METRIC_READ`}),`: Grant read access to Metrics.`]}),`\n`]}),_jsxs(_components.p,{children:[`This does not allow querying Metrics. For that, see `,_jsx(_components.code,{children:`METRIC_QUERY`}),`.`]})]})]})]}),_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 associated with the Application.`}),_jsx(Heading,{level:`3`,id:`arguments-5`,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#datapoolaccesspolicyconnection`,children:`DataPoolAccessPolicyConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-1`,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-6`,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#policyconnection`,children:`PolicyConnection`})]})]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`applications`,children:`applications`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-6`,children:[_jsx(_components.p,{children:`Returns the Applications within the Environment.`}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`applications`}),` query 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-7`,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`}),_jsx(Heading,{level:`3`,id:`returns-3`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`ApplicationConnection`})]}),_jsxs(Expandable,{title:`ApplicationConnection`,children:[_jsx(_components.p,{children:`The Application connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[ApplicationEdge!]`,required:true,id:`param-edges`,children:[_jsx(_components.p,{children:`The Application connection’s edges.`}),_jsxs(Expandable,{title:`ApplicationEdge`,children:[_jsx(_components.p,{children:`The Application edge object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsx(ParamField,{path:`cursor`,type:`String`,required:true,id:`param-cursor`,children:_jsx(_components.p,{children:`The edge’s cursor.`})}),_jsxs(ParamField,{path:`node`,type:`Application`,required:true,id:`param-node`,children:[_jsx(_components.p,{children:`The edge’s node.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#application`,children:`Application`})]})]})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[Application!]`,required:true,id:`param-nodes`,children:[_jsx(_components.p,{children:`The Application connection’s nodes.`}),_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-7`,children:_jsx(_components.p,{children:`The Application’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-5`,children:_jsx(_components.p,{children:`The Application’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-4`,children:_jsx(_components.p,{children:`The Application’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-4`,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-2`,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-4`,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-4`,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-4`,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-4`,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-2`,children:_jsx(_components.p,{children:`The Application’s OAuth 2.0 client identifier.`})}),_jsx(ParamField,{path:`secret`,type:`String`,id:`param-secret-2`,children:_jsx(_components.p,{children:`The Application’s OAuth 2.0 client secret.`})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,required:true,id:`param-propeller-2`,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-2`,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-2`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies associated with the Application.`}),_jsx(Heading,{level:`3`,id:`arguments-8`,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#datapoolaccesspolicyconnection`,children:`DataPoolAccessPolicyConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-2`,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-9`,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#policyconnection`,children:`PolicyConnection`})]})]})})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info`,children:[_jsx(_components.p,{children:`The Application connection’s page info.`}),_jsxs(Expandable,{title:`PageInfo`,children:[_jsx(_components.p,{children:`The page info object used for pagination.`}),_jsx(ParamField,{path:`startCursor`,type:`String`,id:`param-start-cursor`,children:_jsx(_components.p,{children:`Points to the first item returned in the results. Used when paginating backward.`})}),_jsx(ParamField,{path:`endCursor`,type:`String`,id:`param-end-cursor`,children:_jsx(_components.p,{children:`Points to the last item returned in the results. Used when paginating forward.`})}),_jsx(ParamField,{path:`hasNextPage`,type:`Boolean`,required:true,id:`param-has-next-page`,children:_jsx(_components.p,{children:`A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.`})}),_jsx(ParamField,{path:`hasPreviousPage`,type:`Boolean`,required:true,id:`param-has-previous-page`,children:_jsx(_components.p,{children:`A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`datasource`,children:`dataSource`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-7`,children:[_jsx(_components.p,{children:`Returns the Data Source specified by the given ID.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`graphql`,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:`graphql`,children:_jsxs(_components.code,{language:`graphql`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`query`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` dataSource`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DSOXXXXX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` id`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` uniqueName`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` tables`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`first`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`){`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` nodes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` id`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` name`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` columns`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`first`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` nodes`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` name`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` type`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` isNullable`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` supportedDataPoolColumnTypes`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`arguments-10`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-8`}),_jsx(Heading,{level:`3`,id:`returns-4`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSource`})]}),_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-9`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-6`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-5`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-5`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-10`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-3`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-11`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-7`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-6`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-5`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-5`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-5`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-5`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-6`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-6`,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-6`,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-6`,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-6`,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`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(Expandable,{title:`DataSourceType`,children:[_jsx(_components.p,{children:`The types of Data Sources.`}),_jsx(ParamField,{path:` `,id:`param-8`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`WEBHOOK`}),`: Indicates a Webhook Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TWILIO_SEGMENT`}),`: Indicates a Twilio Segment Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`S3`}),`: Indicates an Amazon S3 Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Redshift`}),`: Indicates a Redshift Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POSTGRESQL`}),`: Indicates a PostgreSQL Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`KAFKA`}),`: Indicates a Kafka Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Http`}),`: Indicates an Http Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CLICKHOUSE`}),`: Indicates a ClickHouse Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AMAZON_DYNAMODB`}),`: Indicates an Amazon DynamoDB Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AMAZON_DATA_FIREHOSE`}),`: Indicates an Amazon Data Firehose Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Snowflake`}),`: Indicates a Snowflake Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INTERNAL`}),`: Indicates an internal Data Source.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(Expandable,{title:`DataSourceStatus`,children:[_jsx(_components.p,{children:`The status of a Data Source.`}),_jsx(ParamField,{path:` `,id:`param-9`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Data Source has been created, but it is not connected yet.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CONNECTING`}),`: Propel is attempting to connect the Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CONNECTED`}),`: The Data Source is connected.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BROKEN`}),`: The Data Source failed to connect.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Data Source.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsx(Expandable,{title:`ConnectionSettings`,children:_jsxs(ParamField,{path:`ConnectionSettings`,type:`SnowflakeConnectionSettings | InternalConnectionSettings | AmazonDataFirehoseConnectionSettings | AmazonDynamoDBConnectionSettings | ClickHouseConnectionSettings | HttpConnectionSettings | KafkaConnectionSettings | PostgreSqlConnectionSettings | S3ConnectionSettings | TwilioSegmentConnectionSettings | WebhookConnectionSettings`,id:`param-connection-settings-1`,children:[_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#snowflakeconnectionsettings`,children:`SnowflakeConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#internalconnectionsettings`,children:`InternalConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#amazondatafirehoseconnectionsettings`,children:`AmazonDataFirehoseConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#amazondynamodbconnectionsettings`,children:`AmazonDynamoDBConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#clickhouseconnectionsettings`,children:`ClickHouseConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#httpconnectionsettings`,children:`HttpConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#kafkaconnectionsettings`,children:`KafkaConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#postgresqlconnectionsettings`,children:`PostgreSqlConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#s3connectionsettings`,children:`S3ConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#twiliosegmentconnectionsettings`,children:`TwilioSegmentConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#webhookconnectionsettings`,children:`WebhookConnectionSettings`})]})]})})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables`,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-11`,children:`Arguments`}),_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#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-12`,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#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(Expandable,{title:`DataSourceCheck`,children:[_jsx(_components.p,{children:`The Data Source Check object.`}),_jsx(_components.p,{children:`Data Source Checks are executed when setting up your Data Source. They check that Propel will be able to receive data and setup Data Pools.`}),_jsx(_components.p,{children:`The exact Checks to perform vary by Data Source. For example, Snowflake-backed Data Sources will have their own specific Checks.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`The name of the Data Source Check to be performed.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-7`,children:_jsx(_components.p,{children:`A description of the Data Source Check to be performed.`})}),_jsxs(ParamField,{path:`status`,type:`DataSourceCheckStatus`,required:true,id:`param-status-1`,children:[_jsx(_components.p,{children:`The status of the Data Source Check (all checks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcecheckstatus`,children:`DataSourceCheckStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error`,children:[_jsx(_components.p,{children:`If the Data Source Check failed, this field includes a descriptive error message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`checkedAt`,type:`DateTime`,id:`param-checked-at`,children:_jsx(_components.p,{children:`The time at which the Data Source Check was performed.`})})]})]}),_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-13`,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#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(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:`datasourcebyname`,children:`dataSourceByName`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-10`,children:[_jsx(_components.p,{children:`Returns the Data Source specified by the given unique name.`}),_jsx(Heading,{level:`3`,id:`arguments-14`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-8`}),_jsx(Heading,{level:`3`,id:`returns-5`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSource`})]}),_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-12`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-9`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-8`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-7`,children:[_jsx(_components.p,{children:`The Data Source’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-13`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-4`,children:[_jsx(_components.p,{children:`The Data Source’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-14`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-10`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-9`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-7`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-7`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-7`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-7`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-8`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-8`,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-8`,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-8`,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-8`,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-1`,children:[_jsx(_components.p,{children:`The Data Source’s type.`}),_jsxs(Expandable,{title:`DataSourceType`,children:[_jsx(_components.p,{children:`The types of Data Sources.`}),_jsx(ParamField,{path:` `,id:`param-11`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`WEBHOOK`}),`: Indicates a Webhook Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TWILIO_SEGMENT`}),`: Indicates a Twilio Segment Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`S3`}),`: Indicates an Amazon S3 Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Redshift`}),`: Indicates a Redshift Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POSTGRESQL`}),`: Indicates a PostgreSQL Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`KAFKA`}),`: Indicates a Kafka Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Http`}),`: Indicates an Http Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CLICKHOUSE`}),`: Indicates a ClickHouse Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AMAZON_DYNAMODB`}),`: Indicates an Amazon DynamoDB Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AMAZON_DATA_FIREHOSE`}),`: Indicates an Amazon Data Firehose Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Snowflake`}),`: Indicates a Snowflake Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INTERNAL`}),`: Indicates an internal Data Source.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`status`,type:`DataSourceStatus`,required:true,id:`param-status-2`,children:[_jsx(_components.p,{children:`The Data Source’s status.`}),_jsxs(Expandable,{title:`DataSourceStatus`,children:[_jsx(_components.p,{children:`The status of a Data Source.`}),_jsx(ParamField,{path:` `,id:`param-12`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Data Source has been created, but it is not connected yet.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CONNECTING`}),`: Propel is attempting to connect the Data Source.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CONNECTED`}),`: The Data Source is connected.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BROKEN`}),`: The Data Source failed to connect.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Data Source.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`connectionSettings`,type:`ConnectionSettings`,required:true,id:`param-connection-settings-2`,children:[_jsx(_components.p,{children:`The Data Source’s connection settings.`}),_jsx(Expandable,{title:`ConnectionSettings`,children:_jsxs(ParamField,{path:`ConnectionSettings`,type:`SnowflakeConnectionSettings | InternalConnectionSettings | AmazonDataFirehoseConnectionSettings | AmazonDynamoDBConnectionSettings | ClickHouseConnectionSettings | HttpConnectionSettings | KafkaConnectionSettings | PostgreSqlConnectionSettings | S3ConnectionSettings | TwilioSegmentConnectionSettings | WebhookConnectionSettings`,id:`param-connection-settings-3`,children:[_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#snowflakeconnectionsettings`,children:`SnowflakeConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#internalconnectionsettings`,children:`InternalConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#amazondatafirehoseconnectionsettings`,children:`AmazonDataFirehoseConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#amazondynamodbconnectionsettings`,children:`AmazonDynamoDBConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#clickhouseconnectionsettings`,children:`ClickHouseConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#httpconnectionsettings`,children:`HttpConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#kafkaconnectionsettings`,children:`KafkaConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#postgresqlconnectionsettings`,children:`PostgreSqlConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#s3connectionsettings`,children:`S3ConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#twiliosegmentconnectionsettings`,children:`TwilioSegmentConnectionSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#webhookconnectionsettings`,children:`WebhookConnectionSettings`})]})]})})]}),_jsxs(ParamField,{path:`tables`,type:`TableConnection`,id:`param-tables-1`,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-15`,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#tableconnection`,children:`TableConnection`})]})]}),_jsxs(ParamField,{path:`tableIntrospections`,type:`TableIntrospectionConnection`,id:`param-table-introspections-1`,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-16`,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#tableintrospectionconnection`,children:`TableIntrospectionConnection`})]})]}),_jsxs(ParamField,{path:`checks`,type:`[DataSourceCheck!]`,id:`param-checks-1`,children:[_jsx(_components.p,{children:`A list of checks performed on the Data Source during its most recent connection attempt.`}),_jsxs(Expandable,{title:`DataSourceCheck`,children:[_jsx(_components.p,{children:`The Data Source Check object.`}),_jsx(_components.p,{children:`Data Source Checks are executed when setting up your Data Source. They check that Propel will be able to receive data and setup Data Pools.`}),_jsx(_components.p,{children:`The exact Checks to perform vary by Data Source. For example, Snowflake-backed Data Sources will have their own specific Checks.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-1`,children:_jsx(_components.p,{children:`The name of the Data Source Check to be performed.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-10`,children:_jsx(_components.p,{children:`A description of the Data Source Check to be performed.`})}),_jsxs(ParamField,{path:`status`,type:`DataSourceCheckStatus`,required:true,id:`param-status-3`,children:[_jsx(_components.p,{children:`The status of the Data Source Check (all checks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datasourcecheckstatus`,children:`DataSourceCheckStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-2`,children:[_jsx(_components.p,{children:`If the Data Source Check failed, this field includes a descriptive error message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`checkedAt`,type:`DateTime`,id:`param-checked-at-1`,children:_jsx(_components.p,{children:`The time at which the Data Source Check was performed.`})})]})]}),_jsxs(ParamField,{path:`dataPools`,type:`DataPoolConnection`,id:`param-data-pools-1`,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-17`,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#datapoolconnection`,children:`DataPoolConnection`})]})]}),_jsx(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:`checks`}),` instead`]}),_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:`datasources`,children:`dataSources`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-13`,children:[_jsx(_components.p,{children:`Returns the Data Sources within the Environment.`}),_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. Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads.`}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataSources`}),` query 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-18`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-13`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-13`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-13`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-13`}),_jsx(Heading,{level:`3`,id:`returns-6`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataSourceConnection`})]}),_jsxs(Expandable,{title:`DataSourceConnection`,children:[_jsx(_components.p,{children:`The Data Source connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataSourceEdge!]`,required:true,id:`param-edges-1`,children:[_jsx(_components.p,{children:`The Data Source connection’s edges.`}),_jsxs(Expandable,{title:`DataSourceEdge`,children:[_jsx(_components.p,{children:`The Data Source edge object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsx(ParamField,{path:`cursor`,type:`String`,required:true,id:`param-cursor-1`,children:_jsx(_components.p,{children:`The edge’s cursor.`})}),_jsxs(ParamField,{path:`node`,type:`DataSource`,required:true,id:`param-node-1`,children:[_jsx(_components.p,{children:`The edge’s node.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})]})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataSource!]`,required:true,id:`param-nodes-1`,children:[_jsx(_components.p,{children:`The Data Source connection’s nodes.`}),_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-15`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-11`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-11`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-9`,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-5`,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-9`,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-9`,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-9`,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-9`,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-2`,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-4`,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-4`,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-19`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-14`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-14`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-14`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-14`}),_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-2`,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-20`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-15`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-15`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-15`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-15`}),_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-2`,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-2`,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-21`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-16`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-16`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-16`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-16`}),_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-4`,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(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-1`,children:[_jsx(_components.p,{children:`The Data Source connection’s page info.`}),_jsxs(Expandable,{title:`PageInfo`,children:[_jsx(_components.p,{children:`The page info object used for pagination.`}),_jsx(ParamField,{path:`startCursor`,type:`String`,id:`param-start-cursor-1`,children:_jsx(_components.p,{children:`Points to the first item returned in the results. Used when paginating backward.`})}),_jsx(ParamField,{path:`endCursor`,type:`String`,id:`param-end-cursor-1`,children:_jsx(_components.p,{children:`Points to the last item returned in the results. Used when paginating forward.`})}),_jsx(ParamField,{path:`hasNextPage`,type:`Boolean`,required:true,id:`param-has-next-page-1`,children:_jsx(_components.p,{children:`A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.`})}),_jsx(ParamField,{path:`hasPreviousPage`,type:`Boolean`,required:true,id:`param-has-previous-page-1`,children:_jsx(_components.p,{children:`A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`datapool`,children:`dataPool`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-14`,children:[_jsx(_components.p,{children:`Returns the Data Pool specified by the given ID.`}),_jsx(_components.p,{children:`A Data Pool is a cached table hydrated from your data warehouse optimized for high-concurrency and low-latency queries.`}),_jsx(Heading,{level:`3`,id:`arguments-22`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-16`}),_jsx(Heading,{level:`3`,id:`returns-7`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPool`})]}),_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-17`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-12`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-12`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-10`,children:[_jsx(_components.p,{children:`The Data Pool’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-18`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-6`,children:[_jsx(_components.p,{children:`The Data Pool’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-19`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-13`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-13`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-10`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-10`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-10`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-10`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-11`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-11`,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-11`,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-11`,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-11`,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`,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-5`,children:[_jsx(_components.p,{children:`The Data Pool’s status.`}),_jsxs(Expandable,{title:`DataPoolStatus`,children:[_jsx(_components.p,{children:`The status of a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-15`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Data Pool has been created and will be set up soon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PENDING`}),`: Propel is attempting to set up the Data Pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIVE`}),`: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SETUP_FAILED`}),`: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTED`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`BROKEN`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSED`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Data Pool and all of its associated data.`]}),`\n`]})})]})]}),_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`,children:[_jsx(_components.p,{children:`The Data Pool’s primary timestamp column, if any.`}),_jsxs(Expandable,{title:`Timestamp`,children:[_jsx(_components.p,{children:`A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name`,children:_jsx(_components.p,{children:`The name of the column that represents the primary timestamp.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-3`,children:_jsx(_components.p,{children:`The primary timestamp column’s type.`})})]})]}),_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`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-23`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-17`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-17`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-17`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-17`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-2`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-2`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-2`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_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-24`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-18`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-18`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-18`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-18`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-3`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-3`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-3`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_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(Expandable,{title:`DataPoolSetupTask`,children:[_jsx(_components.p,{children:`The Data Pool Setup Task object.`}),_jsx(_components.p,{children:`Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.`}),_jsx(_components.p,{children:`The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-2`,children:_jsx(_components.p,{children:`The name of the Data Pool Setup Task to be performed.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-14`,children:_jsx(_components.p,{children:`A description of the Data Pool Setup Task to be performed.`})}),_jsxs(ParamField,{path:`status`,type:`DataPoolSetupTaskStatus`,required:true,id:`param-status-6`,children:[_jsx(_components.p,{children:`The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsetuptaskstatus`,children:`DataPoolSetupTaskStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-5`,children:[_jsx(_components.p,{children:`If the Data Pool Setup Task failed, this field includes a descriptive error message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`completedAt`,type:`DateTime`,id:`param-completed-at`,children:_jsx(_components.p,{children:`The time at which the Data Pool Setup Task was completed.`})})]})]}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncing`,required:true,id:`param-syncing`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(Expandable,{title:`DataPoolSyncing`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(ParamField,{path:`status`,type:`DataPoolSyncStatus`,required:true,id:`param-status-7`,children:[_jsx(_components.p,{children:`Indicates whether syncing is enabled or disabled.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncstatus`,children:`DataPoolSyncStatus`})]})]}),_jsxs(ParamField,{path:`interval`,type:`DataPoolSyncInterval`,id:`param-interval`,children:[_jsx(_components.p,{children:`The syncing interval.`}),_jsxs(_components.p,{children:[`Note that the syncing interval is approximate. For example, setting the syncing interval to `,_jsx(_components.code,{children:`EVERY_1_HOUR`}),`\ndoes not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to\nwhen the Data Pool goes `,_jsx(_components.code,{children:`LIVE`}),`, and Propel will attempt to sync approximately every hour. Additionally,\nif you pause or resume syncing, this too can shift the syncing interval around.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncinterval`,children:`DataPoolSyncInterval`})]})]}),_jsx(ParamField,{path:`lastSyncedAt`,type:`DateTime`,id:`param-last-synced-at`,children:_jsx(_components.p,{children:`The date and time of the most recent Sync in UTC.`})})]})]}),_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-25`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter`,children:_jsxs(Expandable,{title:`SyncsFilter`,children:[_jsx(_components.p,{children:`The filter to apply when listing the Syncs for a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-16`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EMPTY`}),`: Returns only Syncs with empty records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT_EMPTY`}),`: Returns only Syncs that contain one or more records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALL`}),`: Returns all Syncs, regardless of whether they contain records or not.`]}),`\n`]})})]})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-19`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-19`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-19`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-19`}),_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-26`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-20`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-20`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-20`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-20`}),_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-27`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-21`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-21`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-21`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-21`}),_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-28`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-22`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-22`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-22`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-22`}),_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-29`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-23`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-23`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-23`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-23`}),_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`,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-3`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-30`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-24`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-24`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-24`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-24`}),_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-31`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression`}),_jsxs(Expandable,{title:`ValidateExpressionResult`,children:[_jsx(_components.p,{children:`Response returned by the validateExpression query for validating expressions in Custom Metrics.`}),_jsx(_components.p,{children:`Returns whether the expression is valid or not with a reason explaining why.`}),_jsx(ParamField,{path:`valid`,type:`Boolean`,required:true,id:`param-valid`,children:_jsx(_components.p,{children:`True if the expression is valid, false otherwise.`})}),_jsx(ParamField,{path:`reason`,type:`String`,id:`param-reason`,children:_jsx(_components.p,{children:`The reason for why the expression is not valid in case it isn’t, null otherwise.`})})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,required:true,id:`param-table-settings`,children:[_jsx(_components.p,{children:`The Data Pool’s table settings.`}),_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.`})})]})]}),_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(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-1`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-4`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-3`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_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(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-2`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-5`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-1`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-1`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-4`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_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(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-3`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-6`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-2`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-2`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-5`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-6`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`setupTasks`}),` instead`]}),_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.`})})]})]}),_jsxs(ParamField,{path:`tenant`,type:`Tenant`,deprecated:true,id:`param-tenant`,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(Expandable,{title:`Tenant`,children:[_jsx(_components.p,{children:`A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-4`,children:_jsx(_components.p,{children:`The name of the column that represents the tenant ID.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-7`,children:_jsx(_components.p,{children:`The tenant ID column’s type.`})})]})]}),_jsxs(ParamField,{path:`uniqueId`,type:`UniqueId`,deprecated:true,id:`param-unique-id`,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(Expandable,{title:`UniqueId`,children:[_jsx(_components.p,{children:`A 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(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-5`,children:_jsx(_components.p,{children:`The name of the column that represents the unique ID.`})})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`datapoolbyname`,children:`dataPoolByName`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-17`,children:[_jsx(_components.p,{children:`Returns the Data Pool specified by the given unique name.`}),_jsx(_components.p,{children:`A Data Pool is a cached table hydrated from your data warehouse optimized for high-concurrency and low-latency queries.`}),_jsx(Heading,{level:`3`,id:`arguments-32`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-14`}),_jsx(Heading,{level:`3`,id:`returns-8`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPool`})]}),_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-20`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-15`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-15`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-12`,children:[_jsx(_components.p,{children:`The Data Pool’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-21`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-7`,children:[_jsx(_components.p,{children:`The Data Pool’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-22`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-16`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-16`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-12`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-12`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-12`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-12`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-13`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-13`,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-13`,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-13`,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-13`,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-8`,children:[_jsx(_components.p,{children:`The Data Pool’s status.`}),_jsxs(Expandable,{title:`DataPoolStatus`,children:[_jsx(_components.p,{children:`The status of a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-18`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Data Pool has been created and will be set up soon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`PENDING`}),`: Propel is attempting to set up the Data Pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIVE`}),`: The Data Pool is set up and serving data. Check its Syncs to monitor data ingestion.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SETUP_FAILED`}),`: The Data Pool setup failed. Check its Setup Tasks before re-attempting setup.`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`CONNECTED`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`BROKEN`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSING`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`PAUSED`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Data Pool and all of its associated data.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`dataRetentionInDays`,type:`Int`,required:true,id:`param-data-retention-in-days-1`,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-1`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-1`,children:[_jsx(_components.p,{children:`The Data Pool’s primary timestamp column, if any.`}),_jsxs(Expandable,{title:`Timestamp`,children:[_jsx(_components.p,{children:`A Data Pool’s primary timestamp column. Propel uses the primary timestamp to order and partition your data in Data Pools. It will serve as the time dimension for your Metrics.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-6`,children:_jsx(_components.p,{children:`The name of the column that represents the primary timestamp.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-8`,children:_jsx(_components.p,{children:`The primary timestamp column’s type.`})})]})]}),_jsx(ParamField,{path:`recordCount`,type:`String`,id:`param-record-count-1`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-1`,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-1`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-33`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-25`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-25`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-25`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-25`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-4`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-4`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-4`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`availableMeasures`,type:`DataPoolColumnConnection`,id:`param-available-measures-1`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-34`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-26`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-26`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-26`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-26`}),_jsxs(Expandable,{title:`DataPoolColumnConnection`,children:[_jsx(_components.p,{children:`The Data Pool column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[DataPoolColumnEdge!]`,required:true,id:`param-edges-5`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumnedge`,children:`DataPoolColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataPoolColumn!]`,required:true,id:`param-nodes-5`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapoolcolumn`,children:`DataPoolColumn`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-5`,children:[_jsx(_components.p,{children:`The Data Pool column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`setupTasks`,type:`[DataPoolSetupTask!]`,id:`param-setup-tasks-1`,children:[_jsx(_components.p,{children:`A list of setup tasks performed on the Data Pool during its most recent setup attempt.`}),_jsxs(Expandable,{title:`DataPoolSetupTask`,children:[_jsx(_components.p,{children:`The Data Pool Setup Task object.`}),_jsx(_components.p,{children:`Data Pool Setup Tasks are executed when setting up your Data Pool. They ensure Propel will be able to sync records from your Data Source to your Data Pool.`}),_jsx(_components.p,{children:`The exact Setup Tasks to perform vary by Data Source. For example, Data Pools pointing to a Snowflake-backed Data Sources will have their own specific Setup Tasks.`}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-6`,children:_jsx(_components.p,{children:`The name of the Data Pool Setup Task to be performed.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-17`,children:_jsx(_components.p,{children:`A description of the Data Pool Setup Task to be performed.`})}),_jsxs(ParamField,{path:`status`,type:`DataPoolSetupTaskStatus`,required:true,id:`param-status-9`,children:[_jsx(_components.p,{children:`The status of the Data Pool Setup Task (all setup tasks begin as NOT_STARTED before transitioning to SUCCEEDED or FAILED).`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsetuptaskstatus`,children:`DataPoolSetupTaskStatus`})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-7`,children:[_jsx(_components.p,{children:`If the Data Pool Setup Task failed, this field includes a descriptive error message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#error`,children:`Error`})]})]}),_jsx(ParamField,{path:`completedAt`,type:`DateTime`,id:`param-completed-at-1`,children:_jsx(_components.p,{children:`The time at which the Data Pool Setup Task was completed.`})})]})]}),_jsxs(ParamField,{path:`syncing`,type:`DataPoolSyncing`,required:true,id:`param-syncing-1`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(Expandable,{title:`DataPoolSyncing`,children:[_jsx(_components.p,{children:`Settings related to Data Pool syncing.`}),_jsxs(ParamField,{path:`status`,type:`DataPoolSyncStatus`,required:true,id:`param-status-10`,children:[_jsx(_components.p,{children:`Indicates whether syncing is enabled or disabled.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncstatus`,children:`DataPoolSyncStatus`})]})]}),_jsxs(ParamField,{path:`interval`,type:`DataPoolSyncInterval`,id:`param-interval-1`,children:[_jsx(_components.p,{children:`The syncing interval.`}),_jsxs(_components.p,{children:[`Note that the syncing interval is approximate. For example, setting the syncing interval to `,_jsx(_components.code,{children:`EVERY_1_HOUR`}),`\ndoes not mean that syncing will occur exactly on the hour. Instead, the syncing interval starts relative to\nwhen the Data Pool goes `,_jsx(_components.code,{children:`LIVE`}),`, and Propel will attempt to sync approximately every hour. Additionally,\nif you pause or resume syncing, this too can shift the syncing interval around.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#datapoolsyncinterval`,children:`DataPoolSyncInterval`})]})]}),_jsx(ParamField,{path:`lastSyncedAt`,type:`DateTime`,id:`param-last-synced-at-1`,children:_jsx(_components.p,{children:`The date and time of the most recent Sync in UTC.`})})]})]}),_jsxs(ParamField,{path:`syncs`,type:`SyncConnection`,id:`param-syncs-1`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-35`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-1`,children:_jsxs(Expandable,{title:`SyncsFilter`,children:[_jsx(_components.p,{children:`The filter to apply when listing the Syncs for a Data Pool.`}),_jsx(ParamField,{path:` `,id:`param-19`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EMPTY`}),`: Returns only Syncs with empty records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`NOT_EMPTY`}),`: Returns only Syncs that contain one or more records.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALL`}),`: Returns all Syncs, regardless of whether they contain records or not.`]}),`\n`]})})]})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-27`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-27`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-27`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-27`}),_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-1`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-36`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-28`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-28`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-28`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-28`}),_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-1`,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-37`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-29`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-29`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-29`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-29`}),_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-1`,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-38`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-30`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-30`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-30`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-30`}),_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-1`,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-39`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-31`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-31`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-31`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-31`}),_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-1`,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-4`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-40`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-32`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-32`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-32`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-32`}),_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-1`,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-41`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-1`}),_jsxs(Expandable,{title:`ValidateExpressionResult`,children:[_jsx(_components.p,{children:`Response returned by the validateExpression query for validating expressions in Custom Metrics.`}),_jsx(_components.p,{children:`Returns whether the expression is valid or not with a reason explaining why.`}),_jsx(ParamField,{path:`valid`,type:`Boolean`,required:true,id:`param-valid-1`,children:_jsx(_components.p,{children:`True if the expression is valid, false otherwise.`})}),_jsx(ParamField,{path:`reason`,type:`String`,id:`param-reason-1`,children:_jsx(_components.p,{children:`The reason for why the expression is not valid in case it isn’t, null otherwise.`})})]})]}),_jsxs(ParamField,{path:`tableSettings`,type:`TableSettings`,required:true,id:`param-table-settings-1`,children:[_jsx(_components.p,{children:`The Data Pool’s table settings.`}),_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.`})})]})]}),_jsxs(ParamField,{path:`partitionByColumns`,type:`[DataPoolColumn!]`,id:`param-partition-by-columns-1`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PARTITION BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-7`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-9`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-3`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-3`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-7`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`primaryKeyColumns`,type:`[DataPoolColumn!]`,id:`param-primary-key-columns-1`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its PRIMARY KEY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-8`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-10`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-4`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-4`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-8`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(ParamField,{path:`orderByColumns`,type:`[DataPoolColumn!]`,id:`param-order-by-columns-1`,children:[_jsx(_components.p,{children:`The Data Pool’s columns that participate in its ORDER BY clause.`}),_jsxs(Expandable,{title:`DataPoolColumn`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-9`,children:_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-11`,children:[_jsx(_components.p,{children:`The Data Pool column’s type. This may differ from the corresponding Data Source column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`clickHouseType`,type:`String`,required:true,id:`param-click-house-type-5`,children:_jsx(_components.p,{children:`The ClickHouse type. This is the exact representation of the type in ClickHouse.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-5`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`name`,type:`String`,deprecated:true,id:`param-name-9`,children:[_jsx(_components.p,{children:`The name of the Data Source column that this Data Pool column derives from.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Start using `,_jsx(_components.code,{children:`columnName`}),` instead`]})]})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`error`,type:`Error`,deprecated:true,id:`param-error-8`,children:[_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Refer to `,_jsx(_components.code,{children:`setupTasks`}),` instead`]}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-3`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-3`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_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(Expandable,{title:`Tenant`,children:[_jsx(_components.p,{children:`A Data Pool’s tenant ID column. The tenant ID column is used to control access to your data with access policies.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-10`,children:_jsx(_components.p,{children:`The name of the column that represents the tenant ID.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-12`,children:_jsx(_components.p,{children:`The tenant ID column’s type.`})})]})]}),_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(Expandable,{title:`UniqueId`,children:[_jsx(_components.p,{children:`A 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(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-11`,children:_jsx(_components.p,{children:`The name of the column that represents the unique ID.`})})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`datapools`,children:`dataPools`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-20`,children:[_jsx(_components.p,{children:`Returns the Data Pools within the Environment.`}),_jsx(_components.p,{children:`A Data Pool is a cached table hydrated from your data warehouse optimized for high-concurrency and low-latency queries. Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads.`}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`dataPools`}),` query 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-42`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-33`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-33`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-33`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-33`}),_jsx(Heading,{level:`3`,id:`returns-9`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPoolConnection`})]}),_jsxs(Expandable,{title:`DataPoolConnection`,children:[_jsx(_components.p,{children:`The Data Pool connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsx(ParamField,{path:`edges`,type:`[DataPoolEdge!]`,required:true,id:`param-edges-6`,children:_jsxs(_components.p,{children:[`The Data Pool connection’s edges.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapooledge`,children:`DataPoolEdge`})]})}),_jsx(ParamField,{path:`nodes`,type:`[DataPool!]`,required:true,id:`param-nodes-6`,children:_jsxs(_components.p,{children:[`The Data Pool connection’s nodes.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-6`,children:[_jsx(_components.p,{children:`The Data Pool connection’s page info.`}),_jsxs(Expandable,{title:`PageInfo`,children:[_jsx(_components.p,{children:`The page info object used for pagination.`}),_jsx(ParamField,{path:`startCursor`,type:`String`,id:`param-start-cursor-2`,children:_jsx(_components.p,{children:`Points to the first item returned in the results. Used when paginating backward.`})}),_jsx(ParamField,{path:`endCursor`,type:`String`,id:`param-end-cursor-2`,children:_jsx(_components.p,{children:`Points to the last item returned in the results. Used when paginating forward.`})}),_jsx(ParamField,{path:`hasNextPage`,type:`Boolean`,required:true,id:`param-has-next-page-2`,children:_jsx(_components.p,{children:`A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.`})}),_jsx(ParamField,{path:`hasPreviousPage`,type:`Boolean`,required:true,id:`param-has-previous-page-2`,children:_jsx(_components.p,{children:`A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`environment`,children:`environment`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-21`,children:[_jsx(_components.p,{children:`Returns the Environment specified by the given ID.`}),_jsx(Heading,{level:`3`,id:`arguments-43`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-23`}),_jsx(Heading,{level:`3`,id:`returns-10`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Environment`})]}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-24`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-17`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-18`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-14`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-14`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-14`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-14`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-14`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-25`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`materializedviews`,children:`materializedViews`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-22`,children:[_jsx(_components.p,{children:`Returns the Materialized Views within the Environment.`}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`materializedViews`}),` query 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-44`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-34`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-34`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-34`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-34`}),_jsx(Heading,{level:`3`,id:`returns-11`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MaterializedViewConnection`})]}),_jsxs(Expandable,{title:`MaterializedViewConnection`,children:[_jsx(_components.p,{children:`The Materialized View connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsxs(ParamField,{path:`edges`,type:`[MaterializedViewEdge!]`,required:true,id:`param-edges-7`,children:[_jsx(_components.p,{children:`The Materialized View connection’s edges.`}),_jsxs(Expandable,{title:`MaterializedViewEdge`,children:[_jsx(_components.p,{children:`The Materialized View edge object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsx(ParamField,{path:`cursor`,type:`String`,required:true,id:`param-cursor-2`,children:_jsx(_components.p,{children:`The edge’s cursor.`})}),_jsxs(ParamField,{path:`node`,type:`MaterializedView`,required:true,id:`param-node-2`,children:[_jsx(_components.p,{children:`The edge’s node.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#materializedview`,children:`MaterializedView`})]})]})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[MaterializedView!]`,required:true,id:`param-nodes-7`,children:[_jsx(_components.p,{children:`The Materialized View connection’s nodes.`}),_jsxs(Expandable,{title:`MaterializedView`,children:[_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-26`,children:_jsx(_components.p,{children:`The Materialized View’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-18`,children:_jsx(_components.p,{children:`The Materialized View’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-19`,children:_jsx(_components.p,{children:`The Materialized View’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-15`,children:[_jsx(_components.p,{children:`The Materialized View’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-8`,children:[_jsx(_components.p,{children:`The Materialized View’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-15`,children:_jsx(_components.p,{children:`The Materialized View’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-15`,children:_jsx(_components.p,{children:`The Materialized View’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-15`,children:_jsx(_components.p,{children:`The Materialized View’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-15`,children:_jsx(_components.p,{children:`The Materialized View’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql`,children:_jsx(_components.p,{children:`The SQL that the Materialized View executes.`})}),_jsxs(ParamField,{path:`destination`,type:`DataPool`,required:true,id:`param-destination`,children:[_jsx(_components.p,{children:`The Materialized View’s destination (AKA “target”) Data Pool.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]}),_jsxs(ParamField,{path:`source`,type:`DataPool`,id:`param-source`,children:[_jsx(_components.p,{children:`The Materialized View’s source Data Pool.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]}),_jsxs(ParamField,{path:`others`,type:`[DataPool!]`,required:true,id:`param-others`,children:[_jsx(_components.p,{children:`Other Data Pools queried by the Materialized View.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})]})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-7`,children:[_jsx(_components.p,{children:`The Materialized View connection’s page info.`}),_jsxs(Expandable,{title:`PageInfo`,children:[_jsx(_components.p,{children:`The page info object used for pagination.`}),_jsx(ParamField,{path:`startCursor`,type:`String`,id:`param-start-cursor-3`,children:_jsx(_components.p,{children:`Points to the first item returned in the results. Used when paginating backward.`})}),_jsx(ParamField,{path:`endCursor`,type:`String`,id:`param-end-cursor-3`,children:_jsx(_components.p,{children:`Points to the last item returned in the results. Used when paginating forward.`})}),_jsx(ParamField,{path:`hasNextPage`,type:`Boolean`,required:true,id:`param-has-next-page-3`,children:_jsx(_components.p,{children:`A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.`})}),_jsx(ParamField,{path:`hasPreviousPage`,type:`Boolean`,required:true,id:`param-has-previous-page-3`,children:_jsx(_components.p,{children:`A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`datapoolaccesspolicy`,children:`dataPoolAccessPolicy`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-23`,children:[_jsx(_components.p,{children:`Returns the Data Pool Access Policy specified by the given ID.`}),_jsx(_components.p,{children:`A Data Pool Access Policy limits the data that Applications can access within a Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-45`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-27`}),_jsx(Heading,{level:`3`,id:`returns-12`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataPoolAccessPolicy`})]}),_jsxs(Expandable,{title:`DataPoolAccessPolicy`,children:[_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-28`,children:_jsx(_components.p,{children:`The ID of the Data Pool Access Policy.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-19`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-20`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-16`,children:[_jsx(_components.p,{children:`The Data Pool Access Policy’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-29`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-9`,children:[_jsx(_components.p,{children:`The Data Pool Access Policy’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-30`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-20`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-21`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-16`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-16`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-16`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-16`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-17`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-17`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-17`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-17`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’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-17`,children:_jsx(_components.p,{children:`The Data Pool Access Policy’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,required:true,id:`param-data-pool`,children:_jsxs(_components.p,{children:[`The Data Pool to which the Access Policy belongs.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsx(ParamField,{path:`columns`,type:`[String!]`,required:true,id:`param-columns-2`,children:_jsx(_components.p,{children:`Columns that the Access Policy makes available for querying.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql`,children:_jsx(_components.p,{children:`Row-level filters that the Access Policy applies before executing queries, in the form of SQL.`})}),_jsxs(ParamField,{path:`applications`,type:`ApplicationConnection`,required:true,id:`param-applications`,children:[_jsx(_components.p,{children:`Applications that are assigned to this Data Pool Access Policy.`}),_jsx(Heading,{level:`3`,id:`arguments-46`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-35`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-35`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-35`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-35`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#applicationconnection`,children:`ApplicationConnection`})]})]}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`rows`,type:`[Filter!]`,deprecated:true,id:`param-rows`,children:[_jsx(_components.p,{children:`Row-level filters that the Access Policy applies before executing queries.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filtersSql`}),` 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.`})})]})]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`metric`,children:`metric`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-24`,children:[_jsx(_components.p,{children:`Returns the Metric specified by the given ID.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(Heading,{level:`3`,id:`arguments-47`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-31`}),_jsx(Heading,{level:`3`,id:`returns-13`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Metric`})]}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-32`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-21`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-22`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-18`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-33`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-10`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-34`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-22`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-23`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-18`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-18`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-18`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-18`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-19`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-19`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-19`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-19`,children:_jsx(_components.p,{children:`The Metric’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-19`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-1`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_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-12`,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-6`,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`})]})]})]})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-2`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_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-13`,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-7`,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`})]})]})]})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-48`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-36`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-36`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-36`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-36`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-15`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(Expandable,{title:`MetricType`,children:[_jsx(_components.p,{children:`The available Metric types.`}),_jsx(ParamField,{path:` `,id:`param-25`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`COUNT`}),`: Counts the number of records that matches the Metric Filters. For time series, it will count the values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUM`}),`: Sums the values of the specified column for every record that matches the Metric Filters. For time series, it will sum the values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`COUNT_DISTINCT`}),`: Counts the number of distinct values in the specified column for every record that matches the Metric Filters. For time series, it will count the distinct values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AVERAGE`}),`: Averages the values of the specified column for every record that matches the Metric Filters. For time series, it will average the values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MIN`}),`: Selects the minimum value of the specified column for every record that matches the Metric Filters. For time series, it will select the minimum value for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MAX`}),`: Selects the maximum value of the specified column for every record that matches the Metric Filters. For time series, it will select the maximum value for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CUSTOM`}),`: Aggregates values based on the provided custom expression.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(Expandable,{title:`MetricSettings`,children:[_jsx(_components.p,{children:`A Metric’s settings, depending on its type.`}),_jsxs(ParamField,{path:`MetricSettings`,type:`CountMetricSettings | SumMetricSettings | CountDistinctMetricSettings | AverageMetricSettings | MinMetricSettings | MaxMetricSettings | CustomMetricSettings`,id:`param-metric-settings`,children:[_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#countmetricsettings`,children:`CountMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#summetricsettings`,children:`SumMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#countdistinctmetricsettings`,children:`CountDistinctMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#averagemetricsettings`,children:`AverageMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#minmetricsettings`,children:`MinMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#maxmetricsettings`,children:`MaxMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#custommetricsettings`,children:`CustomMetricSettings`})]})]})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_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-14`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-16`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-8`,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`})]})]})]})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-49`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input`,children:_jsxs(Expandable,{title:`CounterInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in counter format.`}),_jsx(_components.p,{children:`A Metric’s counter query returns a single value over a given time range.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric`,children:[_jsx(_components.p,{children:`The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#metricinput`,children:`MetricInput`})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range`,children:[_jsx(_components.p,{children:`The time range for calculating the counter.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timerangeinput`,children:`TimeRangeInput`})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-1`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the counter data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#filterinput`,children:`FilterInput`})]})]})]})]})}),_jsxs(Expandable,{title:`CounterResponse`,children:[_jsx(_components.p,{children:`The counter response object. It contains a single Metric value for the given time range and Query Filters.`}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-1`,children:_jsx(_components.p,{children:`The value of the counter.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#queryinfo`,children:`QueryInfo`})]})]})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-50`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-1`,children:_jsxs(Expandable,{title:`TimeSeriesInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in time series format.`}),_jsx(_components.p,{children:`A Metric’s time series query returns the values over a given time range aggregated by a given time granularity; day, month, or year, for example.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-1`,children:[_jsx(_components.p,{children:`The Metric to Query. It can be a pre-created one or it can be inlined here.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#metricinput`,children:`MetricInput`})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-1`,children:[_jsx(_components.p,{children:`The time range for calculating the time series.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timerangeinput`,children:`TimeRangeInput`})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-1`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsxs(ParamField,{path:`granularity`,type:`TimeSeriesGranularity`,required:true,id:`param-granularity`,children:[_jsx(_components.p,{children:`The time granularity (hour, day, month, etc.) to aggregate the Metric values by.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#timeseriesgranularity`,children:`TimeSeriesGranularity`})]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-2`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the time series data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsx(ParamField,{path:`groupBy`,type:`[String!]`,id:`param-group-by`,children:_jsx(_components.p,{children:`Columns to group by.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-1`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-1`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-1`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the time series data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#filterinput`,children:`FilterInput`})]})]})]})]})}),_jsxs(Expandable,{title:`TimeSeriesResponse`,children:[_jsx(_components.p,{children:`The time series response object. It contains an array of time series labels and an array of Metric values for the given time range and Query Filters.`}),_jsx(ParamField,{path:`labels`,type:`[String!]`,required:true,id:`param-labels`,children:_jsx(_components.p,{children:`The time series labels.`})}),_jsx(ParamField,{path:`values`,type:`[String]`,required:true,id:`param-values`,children:_jsx(_components.p,{children:`The time series values.`})}),_jsxs(ParamField,{path:`groups`,type:`[TimeSeriesResponseGroup!]`,id:`param-groups`,children:[_jsxs(_components.p,{children:[`The time series values for each group in `,_jsx(_components.code,{children:`groupBy`}),`, if specified.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponsegroup`,children:`TimeSeriesResponseGroup`})]})]}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-1`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#queryinfo`,children:`QueryInfo`})]})]})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-51`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-2`,children:_jsxs(Expandable,{title:`LeaderboardInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in leaderboard format.`}),_jsx(_components.p,{children:`A Metric’s leaderboard query returns an ordered table of Dimension and Metric values over a given time range.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-2`,children:[_jsx(_components.p,{children:`The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#metricinput`,children:`MetricInput`})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-2`,children:[_jsx(_components.p,{children:`The time range for calculating the leaderboard.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timerangeinput`,children:`TimeRangeInput`})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-2`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,required:true,id:`param-dimensions-1`,children:[_jsx(_components.p,{children:`One or many Dimensions to group the Metric values by. Typically, Dimensions in a leaderboard are what you want to compare and rank.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#dimensioninput`,children:`DimensionInput`})]})]}),_jsxs(ParamField,{path:`sort`,type:`Sort`,id:`param-sort`,children:[_jsxs(_components.p,{children:[`The sort order of the rows. It can be ascending (`,_jsx(_components.code,{children:`ASC`}),`) or descending (`,_jsx(_components.code,{children:`DESC`}),`) order. Defaults to descending (`,_jsx(_components.code,{children:`DESC`}),`) order when not provided.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#sort`,children:`Sort`})]})]}),_jsx(ParamField,{path:`rowLimit`,type:`Int`,required:true,id:`param-row-limit`,children:_jsx(_components.p,{children:`The number of rows to be returned. It can be a number between 1 and 1,000.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-3`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the leaderboard data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-2`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-2`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-2`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the leaderboard data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#filterinput`,children:`FilterInput`})]})]})]})]})}),_jsxs(Expandable,{title:`LeaderboardResponse`,children:[_jsx(_components.p,{children:`The leaderboard response object. It contains an array of headers and a table (array of rows) with the selected Dimensions and corresponding Metric values for the given time range and Query Filters.`}),_jsx(ParamField,{path:`headers`,type:`[String!]`,required:true,id:`param-headers`,children:_jsx(_components.p,{children:`The table headers. It contains the Dimension and Metric names.`})}),_jsx(ParamField,{path:`rows`,type:`[[String]!]`,required:true,id:`param-rows-1`,children:_jsx(_components.p,{children:`An ordered array of rows. Each row contains the Dimension values and the corresponding Metric value. A Dimension value can be empty. A Metric value will never be empty.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-2`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#queryinfo`,children:`QueryInfo`})]})]})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-3`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-52`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-37`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-37`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-37`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-37`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-2`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`metricbyname`,children:`metricByName`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-26`,children:[_jsx(_components.p,{children:`Returns the Metric specified by the given unique name.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(Heading,{level:`3`,id:`arguments-53`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-23`}),_jsx(Heading,{level:`3`,id:`returns-14`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Metric`})]}),_jsxs(Expandable,{title:`Metric`,children:[_jsx(_components.p,{children:`The Metric object.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-35`,children:_jsx(_components.p,{children:`The Metric’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-24`,children:_jsx(_components.p,{children:`The Metric’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-24`,children:_jsx(_components.p,{children:`The Metric’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-20`,children:[_jsx(_components.p,{children:`The Metric’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-36`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-11`,children:[_jsx(_components.p,{children:`The Metric’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-37`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-25`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-25`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-20`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-20`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-20`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-20`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-21`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-21`,children:_jsx(_components.p,{children:`The Metric’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-21`,children:_jsx(_components.p,{children:`The Metric’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-21`,children:_jsx(_components.p,{children:`The Metric’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-21`,children:_jsx(_components.p,{children:`The Metric’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-2`,children:_jsxs(_components.p,{children:[`The Data Pool that powers this Metric.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-2`,children:[_jsx(_components.p,{children:`The Metric’s Dimensions. These Dimensions are available to Query Filters.`}),_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-15`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-17`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-9`,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`})]})]})]})]})]}),_jsxs(ParamField,{path:`timestamp`,type:`Dimension`,id:`param-timestamp-3`,children:[_jsx(_components.p,{children:`The Metric’s timestamp, if any. This is the same as its Data Pool’s timestamp, if any.`}),_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-16`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-18`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-10`,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`})]})]})]})]})]}),_jsxs(ParamField,{path:`boosters`,type:`BoosterConnection`,required:true,id:`param-boosters-1`,children:[_jsx(_components.p,{children:`List the Boosters associated to the Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-54`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-38`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-38`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-38`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-38`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#boosterconnection`,children:`BoosterConnection`})]})]}),_jsxs(ParamField,{path:`type`,type:`MetricType`,required:true,id:`param-type-19`,children:[_jsx(_components.p,{children:`The Metric’s type. The different Metric types determine how the values are calculated.`}),_jsxs(Expandable,{title:`MetricType`,children:[_jsx(_components.p,{children:`The available Metric types.`}),_jsx(ParamField,{path:` `,id:`param-27`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`COUNT`}),`: Counts the number of records that matches the Metric Filters. For time series, it will count the values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUM`}),`: Sums the values of the specified column for every record that matches the Metric Filters. For time series, it will sum the values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`COUNT_DISTINCT`}),`: Counts the number of distinct values in the specified column for every record that matches the Metric Filters. For time series, it will count the distinct values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AVERAGE`}),`: Averages the values of the specified column for every record that matches the Metric Filters. For time series, it will average the values for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MIN`}),`: Selects the minimum value of the specified column for every record that matches the Metric Filters. For time series, it will select the minimum value for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MAX`}),`: Selects the maximum value of the specified column for every record that matches the Metric Filters. For time series, it will select the maximum value for each time granularity.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CUSTOM`}),`: Aggregates values based on the provided custom expression.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`settings`,type:`MetricSettings`,required:true,id:`param-settings-1`,children:[_jsx(_components.p,{children:`The settings for the Metric. The settings are specific to the Metric’s type.`}),_jsxs(Expandable,{title:`MetricSettings`,children:[_jsx(_components.p,{children:`A Metric’s settings, depending on its type.`}),_jsxs(ParamField,{path:`MetricSettings`,type:`CountMetricSettings | SumMetricSettings | CountDistinctMetricSettings | AverageMetricSettings | MinMetricSettings | MaxMetricSettings | CustomMetricSettings`,id:`param-metric-settings-1`,children:[_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#countmetricsettings`,children:`CountMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#summetricsettings`,children:`SumMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#countdistinctmetricsettings`,children:`CountDistinctMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#averagemetricsettings`,children:`AverageMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#minmetricsettings`,children:`MinMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#maxmetricsettings`,children:`MaxMetricSettings`})]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#custommetricsettings`,children:`CustomMetricSettings`})]})]})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`measure`,type:`Dimension`,deprecated:true,id:`param-measure-1`,children:[_jsxs(_components.p,{children:[`The Metric’s measure. Access this from the Metric’s `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the Metric `,_jsx(_components.code,{children:`settings`}),` object instead.`]}),_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-17`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-20`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-11`,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-5`,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-5`,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`})]})]})]})]})]}),_jsxs(ParamField,{path:`counter`,type:`CounterResponse`,deprecated:true,id:`param-counter-1`,children:[_jsx(_components.p,{children:`Query the Metric in counter format. Returns the Metric’s value for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`counter`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-55`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-3`,children:_jsxs(Expandable,{title:`CounterInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in counter format.`}),_jsx(_components.p,{children:`A Metric’s counter query returns a single value over a given time range.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-3`,children:[_jsx(_components.p,{children:`The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#metricinput`,children:`MetricInput`})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-3`,children:[_jsx(_components.p,{children:`The time range for calculating the counter.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timerangeinput`,children:`TimeRangeInput`})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-3`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-4`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the counter data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-3`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-3`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-3`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#filterinput`,children:`FilterInput`})]})]})]})]})}),_jsxs(Expandable,{title:`CounterResponse`,children:[_jsx(_components.p,{children:`The counter response object. It contains a single Metric value for the given time range and Query Filters.`}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-2`,children:_jsx(_components.p,{children:`The value of the counter.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-3`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#queryinfo`,children:`QueryInfo`})]})]})]})]}),_jsxs(ParamField,{path:`timeSeries`,type:`TimeSeriesResponse`,deprecated:true,id:`param-time-series-1`,children:[_jsx(_components.p,{children:`Query the Metric in time series format. Returns arrays of timestamps and the Metric’s values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`timeSeries`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-56`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-4`,children:_jsxs(Expandable,{title:`TimeSeriesInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in time series format.`}),_jsx(_components.p,{children:`A Metric’s time series query returns the values over a given time range aggregated by a given time granularity; day, month, or year, for example.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-4`,children:[_jsx(_components.p,{children:`The Metric to Query. It can be a pre-created one or it can be inlined here.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#metricinput`,children:`MetricInput`})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-4`,children:[_jsx(_components.p,{children:`The time range for calculating the time series.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timerangeinput`,children:`TimeRangeInput`})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-4`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsxs(ParamField,{path:`granularity`,type:`TimeSeriesGranularity`,required:true,id:`param-granularity-1`,children:[_jsx(_components.p,{children:`The time granularity (hour, day, month, etc.) to aggregate the Metric values by.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#timeseriesgranularity`,children:`TimeSeriesGranularity`})]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-5`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the time series data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsx(ParamField,{path:`groupBy`,type:`[String!]`,id:`param-group-by-1`,children:_jsx(_components.p,{children:`Columns to group by.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-4`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-4`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-4`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the time series data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#filterinput`,children:`FilterInput`})]})]})]})]})}),_jsxs(Expandable,{title:`TimeSeriesResponse`,children:[_jsx(_components.p,{children:`The time series response object. It contains an array of time series labels and an array of Metric values for the given time range and Query Filters.`}),_jsx(ParamField,{path:`labels`,type:`[String!]`,required:true,id:`param-labels-1`,children:_jsx(_components.p,{children:`The time series labels.`})}),_jsx(ParamField,{path:`values`,type:`[String]`,required:true,id:`param-values-1`,children:_jsx(_components.p,{children:`The time series values.`})}),_jsxs(ParamField,{path:`groups`,type:`[TimeSeriesResponseGroup!]`,id:`param-groups-1`,children:[_jsxs(_components.p,{children:[`The time series values for each group in `,_jsx(_components.code,{children:`groupBy`}),`, if specified.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#timeseriesresponsegroup`,children:`TimeSeriesResponseGroup`})]})]}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-4`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#queryinfo`,children:`QueryInfo`})]})]})]})]}),_jsxs(ParamField,{path:`leaderboard`,type:`LeaderboardResponse`,deprecated:true,id:`param-leaderboard-1`,children:[_jsx(_components.p,{children:`Query the Metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the Metric’s corresponding values for the given time range and filters.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use the top-level `,_jsx(_components.code,{children:`leaderboard`}),` query instead`]}),_jsx(Heading,{level:`3`,id:`arguments-57`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-5`,children:_jsxs(Expandable,{title:`LeaderboardInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in leaderboard format.`}),_jsx(_components.p,{children:`A Metric’s leaderboard query returns an ordered table of Dimension and Metric values over a given time range.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-5`,children:[_jsx(_components.p,{children:`The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#metricinput`,children:`MetricInput`})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-5`,children:[_jsx(_components.p,{children:`The time range for calculating the leaderboard.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#timerangeinput`,children:`TimeRangeInput`})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-5`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,required:true,id:`param-dimensions-3`,children:[_jsx(_components.p,{children:`One or many Dimensions to group the Metric values by. Typically, Dimensions in a leaderboard are what you want to compare and rank.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#dimensioninput`,children:`DimensionInput`})]})]}),_jsxs(ParamField,{path:`sort`,type:`Sort`,id:`param-sort-1`,children:[_jsxs(_components.p,{children:[`The sort order of the rows. It can be ascending (`,_jsx(_components.code,{children:`ASC`}),`) or descending (`,_jsx(_components.code,{children:`DESC`}),`) order. Defaults to descending (`,_jsx(_components.code,{children:`DESC`}),`) order when not provided.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#sort`,children:`Sort`})]})]}),_jsx(ParamField,{path:`rowLimit`,type:`Int`,required:true,id:`param-row-limit-1`,children:_jsx(_components.p,{children:`The number of rows to be returned. It can be a number between 1 and 1,000.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-6`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the leaderboard data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-5`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-5`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-5`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the leaderboard data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#filterinput`,children:`FilterInput`})]})]})]})]})}),_jsxs(Expandable,{title:`LeaderboardResponse`,children:[_jsx(_components.p,{children:`The leaderboard response object. It contains an array of headers and a table (array of rows) with the selected Dimensions and corresponding Metric values for the given time range and Query Filters.`}),_jsx(ParamField,{path:`headers`,type:`[String!]`,required:true,id:`param-headers-1`,children:_jsx(_components.p,{children:`The table headers. It contains the Dimension and Metric names.`})}),_jsx(ParamField,{path:`rows`,type:`[[String]!]`,required:true,id:`param-rows-2`,children:_jsx(_components.p,{children:`An ordered array of rows. Each row contains the Dimension values and the corresponding Metric value. A Dimension value can be empty. A Metric value will never be empty.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-5`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#queryinfo`,children:`QueryInfo`})]})]})]})]}),_jsxs(ParamField,{path:`policies`,type:`PolicyConnection`,required:true,deprecated:true,id:`param-policies-4`,children:[_jsx(_components.p,{children:`List the Policies associated to the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`}),_jsx(Heading,{level:`3`,id:`arguments-58`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-39`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-39`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-39`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-39`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#policyconnection`,children:`PolicyConnection`})]})]}),_jsxs(ParamField,{path:`accessControlEnabled`,type:`Boolean`,required:true,deprecated:true,id:`param-access-control-enabled-3`,children:[_jsx(_components.p,{children:`Whether or not access control is enabled for the Metric.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: Use Data Pool Access Policies instead`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`metrics`,children:`metrics`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-28`,children:[_jsx(_components.p,{children:`Returns the Metrics within the Environment.`}),_jsx(_components.p,{children:`A Metric is a business indicator measured over time. Each Metric is associated with one Data Pool, which is a cached table hydrated from your data warehouse optimized for high-concurrency and low-latency queries. Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads.`}),_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`metrics`}),` query 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-59`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-40`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-40`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-40`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-40`}),_jsx(Heading,{level:`3`,id:`returns-15`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MetricConnection`})]}),_jsxs(Expandable,{title:`MetricConnection`,children:[_jsx(_components.p,{children:`The Metric connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsx(ParamField,{path:`edges`,type:`[MetricEdge!]`,required:true,id:`param-edges-8`,children:_jsxs(_components.p,{children:[`The Metric connection’s edges.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#metricedge`,children:`MetricEdge`})]})}),_jsx(ParamField,{path:`nodes`,type:`[Metric!]`,required:true,id:`param-nodes-8`,children:_jsxs(_components.p,{children:[`The Metric connection’s nodes.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#metric`,children:`Metric`})]})}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-8`,children:[_jsx(_components.p,{children:`The Metric connection’s page info.`}),_jsxs(Expandable,{title:`PageInfo`,children:[_jsx(_components.p,{children:`The page info object used for pagination.`}),_jsx(ParamField,{path:`startCursor`,type:`String`,id:`param-start-cursor-4`,children:_jsx(_components.p,{children:`Points to the first item returned in the results. Used when paginating backward.`})}),_jsx(ParamField,{path:`endCursor`,type:`String`,id:`param-end-cursor-4`,children:_jsx(_components.p,{children:`Points to the last item returned in the results. Used when paginating forward.`})}),_jsx(ParamField,{path:`hasNextPage`,type:`Boolean`,required:true,id:`param-has-next-page-4`,children:_jsx(_components.p,{children:`A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.`})}),_jsx(ParamField,{path:`hasPreviousPage`,type:`Boolean`,required:true,id:`param-has-previous-page-4`,children:_jsx(_components.p,{children:`A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`booster`,children:`booster`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-29`,children:[_jsx(_components.p,{children:`Returns the Booster specified by the given ID.`}),_jsx(_components.p,{children:`A Booster significantly improves the query performance for a Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-60`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-38`}),_jsx(Heading,{level:`3`,id:`returns-16`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Booster`})]}),_jsxs(Expandable,{title:`Booster`,children:[_jsx(_components.p,{children:`Boosters allow you to optimize Metric Queries for a subset of commonly used Dimensions. A Metric can have one or many Boosters to optimize for the different Query patterns.`}),_jsx(_components.p,{children:`Boosters can be understood as an aggregating index. The index is formed from left to right as follows:`}),_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`The Data Pool’s Tenant ID column (if present)`}),`\n`,_jsx(_components.li,{children:`Metric Filter columns (if present)`}),`\n`,_jsxs(_components.li,{children:[`Query Filter Dimensions (see `,_jsx(_components.code,{children:`dimensions`}),`)`]}),`\n`,_jsx(_components.li,{children:`The Data Pool’s timestamp column`}),`\n`]}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-39`,children:_jsx(_components.p,{children:`The Booster’s unique identifier.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-22`,children:[_jsx(_components.p,{children:`The Booster’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-40`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-12`,children:[_jsx(_components.p,{children:`The Booster’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-41`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-26`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-26`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-22`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-22`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-22`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-22`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-23`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-23`,children:_jsx(_components.p,{children:`The Booster’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-23`,children:_jsx(_components.p,{children:`The Booster’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-23`,children:_jsx(_components.p,{children:`The Booster’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-23`,children:_jsx(_components.p,{children:`The Booster’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`metric`,type:`Metric`,required:true,id:`param-metric-6`,children:_jsxs(_components.p,{children:[`The Metric this Booster is associated to.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#metric`,children:`Metric`})]})}),_jsxs(ParamField,{path:`status`,type:`BoosterStatus`,required:true,id:`param-status-11`,children:[_jsx(_components.p,{children:`The status of the Booster (once LIVE it will be available for speeding up Metric queries).`}),_jsxs(Expandable,{title:`BoosterStatus`,children:[_jsx(_components.p,{children:`The Booster status.`}),_jsx(ParamField,{path:` `,id:`param-30`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Booster has been created. Propel will start optimizing the Data Pool soon.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`OPTIMIZING`}),`: Propel is setting up the Booster and optimizing the Data Pool.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`LIVE`}),`: The Booster is now live and available to speed up Metric queries.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),`: Propel failed to setup the Booster. Please write to support. Alternatively, you can delete the Booster and try again.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Booster and all of its associated data.`]}),`\n`]})})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-9`,children:[_jsx(_components.p,{children:`If the Booster fails during the optimization process, this field includes a descriptive\nerror message.`}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-4`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-4`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsx(ParamField,{path:`progress`,type:`Float`,id:`param-progress`,children:_jsx(_components.p,{children:`When the Booster is OPTIMIZING, this represents its progress as a number from 0 to 1.\nIn all other states, progress is null.`})}),_jsxs(ParamField,{path:`dimensions`,type:`[Dimension!]`,required:true,id:`param-dimensions-4`,children:[_jsx(_components.p,{children:`Dimensions included in the Booster.`}),_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-18`,children:_jsx(_components.p,{children:`The column name it represents.`})}),_jsx(ParamField,{path:`type`,type:`String`,required:true,id:`param-type-21`,children:_jsx(_components.p,{children:`The column data type.`})}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,id:`param-is-nullable-12`,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-6`,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-6`,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(ParamField,{path:`recordCount`,type:`String`,id:`param-record-count-2`,children:_jsx(_components.p,{children:`The number of records in the Booster.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-2`,children:_jsx(_components.p,{children:`The amount of storage in terabytes used by the Booster.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`policy`,children:`policy`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-31`,children:[_jsx(_components.p,{children:`Returns a Policy by ID.`}),_jsx(Heading,{level:`3`,id:`arguments-61`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-42`}),_jsx(Heading,{level:`3`,id:`returns-17`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Policy`})]}),_jsxs(Expandable,{title:`Policy`,children:[_jsx(_components.p,{children:`The Policy type. It governs an Application’s access to a Metric’s data.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-43`,children:_jsx(_components.p,{children:`The Policy’s unique identifier.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-24`,children:[_jsx(_components.p,{children:`The Policy’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-44`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-13`,children:[_jsx(_components.p,{children:`The Policy’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-45`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-27`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-27`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-24`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-24`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-24`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-24`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-25`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-25`,children:_jsx(_components.p,{children:`The Policy’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-25`,children:_jsx(_components.p,{children:`The Policy’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-25`,children:_jsx(_components.p,{children:`The Policy’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-25`,children:_jsx(_components.p,{children:`The Policy’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:`PolicyType`,required:true,id:`param-type-22`,children:[_jsx(_components.p,{children:`The type of Policy.`}),_jsxs(Expandable,{title:`PolicyType`,children:[_jsx(_components.p,{children:`The types of Policies that can be applied to a Metric.`}),_jsx(ParamField,{path:` `,id:`param-32`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ALL_ACCESS`}),`: Grants access to all Metric data.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TENANT_ACCESS`}),`: Grants access to a specified tenant’s Metric data.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`application`,type:`Application`,required:true,id:`param-application`,children:_jsxs(_components.p,{children:[`The Application that is granted access.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#application`,children:`Application`})]})}),_jsx(ParamField,{path:`metric`,type:`Metric`,required:true,id:`param-metric-7`,children:_jsxs(_components.p,{children:[`The Metric that the Application is granted access to.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#metric`,children:`Metric`})]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`sync`,children:`sync`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-33`,children:[_jsx(_components.p,{children:`Returns a Sync by ID.`}),_jsx(Heading,{level:`3`,id:`arguments-62`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-46`}),_jsx(Heading,{level:`3`,id:`returns-18`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Sync`})]}),_jsxs(Expandable,{title:`Sync`,children:[_jsx(_components.p,{children:`The Sync object.`}),_jsx(_components.p,{children:`This represents the process of syncing data from your Data Source (for example, a Snowflake data warehouse) to your Data Pool.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-47`,children:_jsx(_components.p,{children:`The Sync’s unique identifier.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-26`,children:[_jsx(_components.p,{children:`The Sync’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-48`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,id:`param-environment-14`,children:[_jsx(_components.p,{children:`The Sync’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-49`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-28`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-28`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-26`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-26`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-26`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-26`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-27`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-27`,children:_jsx(_components.p,{children:`The Sync’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-27`,children:_jsx(_components.p,{children:`The Sync’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-27`,children:_jsx(_components.p,{children:`The Sync’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-27`,children:_jsx(_components.p,{children:`The Sync’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,id:`param-data-pool-3`,children:_jsxs(_components.p,{children:[`The Sync’s Data Pool.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-2`,children:[_jsx(_components.p,{children:`The Sync’s Data Pool’s Data Source.`}),_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-50`,children:_jsx(_components.p,{children:`The Data Source’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-29`,children:_jsx(_components.p,{children:`The Data Source’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-29`,children:_jsx(_components.p,{children:`The Data Source’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-28`,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-15`,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-28`,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-28`,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-28`,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-28`,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-23`,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-12`,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-5`,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-3`,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-63`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-41`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-41`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-41`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-41`}),_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-3`,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-64`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-42`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-42`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-42`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-42`}),_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-3`,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-3`,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-65`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-43`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-43`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-43`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-43`}),_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-10`,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`})]})]})})]})]}),_jsx(ParamField,{path:`processedRecords`,type:`String`,id:`param-processed-records`,children:_jsx(_components.p,{children:`The number of new, updated, and deleted records contained within the Sync, if known. This excludes filtered records.`})}),_jsx(ParamField,{path:`size`,type:`String`,id:`param-size`,children:_jsx(_components.p,{children:`The (compressed) size of the Sync, in bytes, if known.`})}),_jsxs(ParamField,{path:`status`,type:`SyncStatus`,required:true,id:`param-status-13`,children:[_jsx(_components.p,{children:`The status of the Sync (all Syncs begin as SYNCING before transitioning to SUCCEEDED or FAILED).`}),_jsxs(Expandable,{title:`SyncStatus`,children:[_jsx(_components.p,{children:`The status of a Sync.`}),_jsx(ParamField,{path:` `,id:`param-34`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SYNCING`}),`: Propel is actively syncing records contained within the Sync.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUCCEEDED`}),`: The Sync succeeded. Propel successfully synced all records contained within the Sync.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),`: The Sync failed. Propel failed to sync some or all records contained within the Sync.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DELETING`}),`: Propel is deleting the Sync.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`startedAt`,type:`DateTime`,id:`param-started-at`,children:_jsx(_components.p,{children:`The time at which the Sync started.`})}),_jsx(ParamField,{path:`succeededAt`,type:`DateTime`,id:`param-succeeded-at`,children:_jsx(_components.p,{children:`The time at which the Sync succeeded.`})}),_jsx(ParamField,{path:`failedAt`,type:`DateTime`,id:`param-failed-at`,children:_jsx(_components.p,{children:`The time at which the Sync failed.`})}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-11`,children:[_jsx(_components.p,{children:`If the Sync failed, this represents the reason the Sync failed.`}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-5`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-5`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`newRecords`,type:`String`,deprecated:true,id:`param-new-records`,children:[_jsx(_components.p,{children:`The number of new records contained within the Sync, if known. This excludes filtered records.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]}),_jsxs(ParamField,{path:`updatedRecords`,type:`String`,deprecated:true,id:`param-updated-records`,children:[_jsx(_components.p,{children:`The number of updated records contained within the Sync, if known. This excludes filtered records.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]}),_jsxs(ParamField,{path:`deletedRecords`,type:`String`,deprecated:true,id:`param-deleted-records`,children:[_jsx(_components.p,{children:`The number of deleted records contained within the Sync, if known. This excludes filtered records.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]}),_jsxs(ParamField,{path:`invalidRecords`,type:`String`,deprecated:true,id:`param-invalid-records`,children:[_jsx(_components.p,{children:`The number of filtered records contained within the Sync, due to issues such as a missing timestamp Dimension, if any are known to be invalid.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: All records are considered to be processed; see `,_jsx(_components.code,{children:`processedRecords`}),` instead`]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`table`,children:`table`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-35`,children:[_jsx(_components.p,{children:`Returns a table by ID.`}),_jsx(Heading,{level:`3`,id:`arguments-66`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-51`}),_jsx(Heading,{level:`3`,id:`returns-19`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`Table`})]}),_jsxs(Expandable,{title:`Table`,children:[_jsx(_components.p,{children:`The table object.`}),_jsx(_components.p,{children:`Once a table introspection succeeds, it creates a new table object for every table it introspected.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-52`,children:_jsx(_components.p,{children:`The table’s ID.`})}),_jsx(ParamField,{path:`name`,type:`String`,required:true,id:`param-name-10`,children:_jsx(_components.p,{children:`The table’s name.`})}),_jsx(ParamField,{path:`dataSource`,type:`DataSource`,id:`param-data-source-3`,children:_jsxs(_components.p,{children:[`The Data Source to which the table belongs.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datasource`,children:`DataSource`})]})}),_jsx(ParamField,{path:`rows`,type:`Int`,id:`param-rows-3`,children:_jsxs(_components.p,{children:[`The number of rows contained within the table at the time of introspection. Check the table’s `,_jsx(_components.code,{children:`cachedAt`}),` time, since this info can become out of date.`]})}),_jsx(ParamField,{path:`size`,type:`Int`,id:`param-size-1`,children:_jsxs(_components.p,{children:[`The size of the table (in bytes) at the time of introspection. Check the table’s `,_jsx(_components.code,{children:`cachedAt`}),` time, since this info can become out of date.`]})}),_jsx(ParamField,{path:`cachedAt`,type:`DateTime`,required:true,id:`param-cached-at`,children:_jsx(_components.p,{children:`The time at which the table was cached (i.e., the time at which it was introspected).`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-29`,children:_jsxs(_components.p,{children:[`The time at which the table was created. This is the same as its `,_jsx(_components.code,{children:`cachedAt`}),` time.`]})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-29`,children:_jsx(_components.p,{children:`The table’s creator. This corresponds to the initiator of the table Introspection. It can be either a User ID, an Application ID, or “system” if it was created by Propel.`})}),_jsxs(ParamField,{path:`columns`,type:`ColumnConnection`,id:`param-columns-3`,children:[_jsx(_components.p,{children:`The table’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-67`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-44`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-44`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-44`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-44`}),_jsxs(Expandable,{title:`ColumnConnection`,children:[_jsx(_components.p,{children:`The column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsx(ParamField,{path:`cachedAt`,type:`DateTime`,required:true,id:`param-cached-at-1`,children:_jsx(_components.p,{children:`The time at which the columns were cached (i.e., the time at which they were introspected).`})}),_jsxs(ParamField,{path:`edges`,type:`[ColumnEdge!]`,required:true,id:`param-edges-9`,children:[_jsx(_components.p,{children:`The column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#columnedge`,children:`ColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[Column!]`,required:true,id:`param-nodes-9`,children:[_jsx(_components.p,{children:`The column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#column`,children:`Column`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-9`,children:[_jsx(_components.p,{children:`The column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`availableTimestamps`,type:`ColumnConnection`,id:`param-available-timestamps`,children:[_jsx(_components.p,{children:`The table’s columns which can be used as a timestamp for a Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-68`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-45`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-45`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-45`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-45`}),_jsxs(Expandable,{title:`ColumnConnection`,children:[_jsx(_components.p,{children:`The column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsx(ParamField,{path:`cachedAt`,type:`DateTime`,required:true,id:`param-cached-at-2`,children:_jsx(_components.p,{children:`The time at which the columns were cached (i.e., the time at which they were introspected).`})}),_jsxs(ParamField,{path:`edges`,type:`[ColumnEdge!]`,required:true,id:`param-edges-10`,children:[_jsx(_components.p,{children:`The column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#columnedge`,children:`ColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[Column!]`,required:true,id:`param-nodes-10`,children:[_jsx(_components.p,{children:`The column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#column`,children:`Column`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-10`,children:[_jsx(_components.p,{children:`The column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(ParamField,{path:`availableMeasures`,type:`ColumnConnection`,id:`param-available-measures-2`,children:[_jsx(_components.p,{children:`The table’s columns which can be used as a measure for a Metric.`}),_jsx(Heading,{level:`3`,id:`arguments-69`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-46`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-46`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-46`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-46`}),_jsxs(Expandable,{title:`ColumnConnection`,children:[_jsx(_components.p,{children:`The column connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsx(ParamField,{path:`cachedAt`,type:`DateTime`,required:true,id:`param-cached-at-3`,children:_jsx(_components.p,{children:`The time at which the columns were cached (i.e., the time at which they were introspected).`})}),_jsxs(ParamField,{path:`edges`,type:`[ColumnEdge!]`,required:true,id:`param-edges-11`,children:[_jsx(_components.p,{children:`The column connection’s edges.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#columnedge`,children:`ColumnEdge`})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[Column!]`,required:true,id:`param-nodes-11`,children:[_jsx(_components.p,{children:`The column connection’s nodes.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#column`,children:`Column`})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-11`,children:[_jsx(_components.p,{children:`The column connection’s page info.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#pageinfo`,children:`PageInfo`})]})]})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`kind`,type:`String`,required:true,deprecated:true,id:`param-kind`,children:[_jsx(_components.p,{children:`Information about the table obtained from Snowflake.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`comment`,type:`String`,required:true,deprecated:true,id:`param-comment`,children:[_jsx(_components.p,{children:`Information about the table obtained from Snowflake.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`clusterBy`,type:`String`,deprecated:true,id:`param-cluster-by`,children:[_jsx(_components.p,{children:`Information about the table obtained from Snowflake.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`owner`,type:`String`,required:true,deprecated:true,id:`param-owner`,children:[_jsx(_components.p,{children:`Information about the table obtained from Snowflake.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`timeTravelRetentionInDays`,type:`Int`,deprecated:true,id:`param-time-travel-retention-in-days`,children:[_jsx(_components.p,{children:`Information about the table obtained from Snowflake.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`isAutomaticClusteringEnabled`,type:`Boolean`,deprecated:true,id:`param-is-automatic-clustering-enabled`,children:[_jsx(_components.p,{children:`Information about the table obtained from Snowflake.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`isChangeTrackingEnabled`,type:`Boolean`,deprecated:true,id:`param-is-change-tracking-enabled`,children:[_jsx(_components.p,{children:`Information about the table obtained from Snowflake.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`isSearchOptimizationEnabled`,type:`Boolean`,deprecated:true,id:`param-is-search-optimization-enabled`,children:[_jsx(_components.p,{children:`Information about the table obtained from Snowflake.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]}),_jsxs(ParamField,{path:`isExternal`,type:`Boolean`,required:true,deprecated:true,id:`param-is-external`,children:[_jsx(_components.p,{children:`Information about the table obtained from Snowflake.`}),_jsx(`span`,{style:{fontStyle:`italic`},children:`deprecated: This is Snowflake-specific, and will be removed`})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`metricreport`,children:`metricReport`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-36`,children:[_jsx(_components.p,{children:`Build a report, or table, consisting of multiple Metrics broken down by one-or-more dimensions.`}),_jsxs(_components.p,{children:[`The first few columns of the report are the dimensions you choose to break down by. The subsequent columns are the\nMetrics you choose to query. By default, the report sorts on the first Metric in descending order, but you can\nconfigure this with the `,_jsx(_components.code,{children:`orderByMetric`}),` and `,_jsx(_components.code,{children:`sort`}),` inputs.`]}),_jsxs(_components.p,{children:[`Finally, reports use cursor-based pagination. You can control page size with the `,_jsx(_components.code,{children:`first`}),` and\n`,_jsx(_components.code,{children:`last`}),` inputs.`]}),_jsx(Heading,{level:`3`,id:`arguments-70`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`MetricReportInput`,required:true,id:`param-input-6`,children:_jsxs(Expandable,{title:`MetricReportInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric Report.`}),_jsx(_components.p,{children:`A Metric Report is a table whose columns include dimensions and Metric values, calculated over a given time range.`}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-6`,children:[_jsx(_components.p,{children:`The time range for calculating the Metric Report.`}),_jsxs(Expandable,{title:`TimeRangeInput`,children:[_jsx(_components.p,{children:`The fields required to specify the time range for a time series, counter, or leaderboard Metric query.`}),_jsx(_components.p,{children:`If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.`}),_jsx(_components.p,{children:`If both relative and absolute time ranges are provided, the relative time range will take precedence.`}),_jsxs(_components.p,{children:[`If a `,_jsx(_components.code,{children:`LAST_N`}),` relative time period is selected, an `,_jsx(_components.code,{children:`n`}),` ≥ 1 must be provided. If no `,_jsx(_components.code,{children:`n`}),` is provided or `,_jsx(_components.code,{children:`n`}),` \u003c 1, a `,_jsx(_components.code,{children:`BAD_REQUEST`}),` error will be returned.`]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-4`,children:_jsx(_components.p,{children:`The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.\nSet this to filter on an alternative timestamp field.`})}),_jsxs(ParamField,{path:`relative`,type:`RelativeTimeRange`,id:`param-relative`,children:[_jsx(_components.p,{children:`The relative time period.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#relativetimerange`,children:`RelativeTimeRange`})]})]}),_jsx(ParamField,{path:`n`,type:`Int`,id:`param-n`,children:_jsxs(_components.p,{children:[`The number of time units for the `,_jsx(_components.code,{children:`LAST_N`}),` relative periods.`]})}),_jsx(ParamField,{path:`start`,type:`DateTime`,id:`param-start`,children:_jsx(_components.p,{children:`The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.`})}),_jsx(ParamField,{path:`stop`,type:`DateTime`,id:`param-stop`,children:_jsx(_components.p,{children:`The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.`})})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-6`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsxs(ParamField,{path:`dimensions`,type:`[MetricReportDimensionInput!]`,required:true,id:`param-dimensions-5`,children:[_jsx(_components.p,{children:`One or many dimensions to group the Metric values by. Typically, dimensions in a report are what you want to compare and rank.`}),_jsxs(Expandable,{title:`MetricReportDimensionInput`,children:[_jsx(_components.p,{children:`The fields for specifying a dimension to include in a Metric Report.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-19`,children:_jsx(_components.p,{children:`The column name of the dimension to include in a Metric Report. This must match the name of a Data Pool column.`})}),_jsx(ParamField,{path:`displayName`,type:`String`,id:`param-display-name`,children:_jsxs(_components.p,{children:[`The name to display in the `,_jsx(_components.code,{children:`headers`}),` array when displaying the report. This defaults to the column name if unspecified.`]})}),_jsxs(ParamField,{path:`sort`,type:`Sort`,id:`param-sort-2`,children:[_jsxs(_components.p,{children:[`The sort order for the dimension. It can be ascending (`,_jsx(_components.code,{children:`ASC`}),`) or descending (`,_jsx(_components.code,{children:`DESC`}),`) order. Defaults to ascending (`,_jsx(_components.code,{children:`ASC`}),`) order when not provided.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#sort`,children:`Sort`})]})]})]})]}),_jsxs(ParamField,{path:`metrics`,type:`[MetricReportMetricInput!]`,required:true,id:`param-metrics-2`,children:[_jsxs(_components.p,{children:[`One or more Metrics to include in the Metric Report. These will be broken down by `,_jsx(_components.code,{children:`dimensions`}),`.`]}),_jsxs(Expandable,{title:`MetricReportMetricInput`,children:[_jsx(_components.p,{children:`The fields for specifying a Metric to include in a Metric Report.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-8`,children:[_jsx(_components.p,{children:`The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#metricinput`,children:`MetricInput`})]})]}),_jsx(ParamField,{path:`displayName`,type:`String`,id:`param-display-name-1`,children:_jsxs(_components.p,{children:[`The name to display in the `,_jsx(_components.code,{children:`headers`}),` array when displaying the report. This defaults to the Metric’s unique name if unspecified.`]})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-7`,children:_jsx(_components.p,{children:`The Query Filters to apply when calculating the Metric, in the form of SQL.`})}),_jsxs(ParamField,{path:`sort`,type:`Sort`,id:`param-sort-3`,children:[_jsxs(_components.p,{children:[`The sort order for the Metric. It can be ascending (`,_jsx(_components.code,{children:`ASC`}),`) or descending (`,_jsx(_components.code,{children:`DESC`}),`) order. Defaults to descending (`,_jsx(_components.code,{children:`DESC`}),`) order when not provided.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#sort`,children:`Sort`})]})]}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`uniqueName`,type:`String`,deprecated:true,id:`param-unique-name-30`,children:[_jsx(_components.p,{children:`The Metric’s unique name. If not specified, Propel will lookup the Metric by ID.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`id`,type:`ID`,deprecated:true,id:`param-id-53`,children:[_jsx(_components.p,{children:`The Metric’s ID. If not specified, Propel will lookup the Metric by unique name.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-6`,children:[_jsx(_components.p,{children:`The Query Filters to apply when calculating the Metric.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#filterinput`,children:`FilterInput`})]})]})]})]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-8`,children:_jsx(_components.p,{children:`The Query Filters to apply when building the Metric Report, in the form of SQL. These can be used to filter out rows.`})}),_jsx(ParamField,{path:`orderByColumn`,type:`Int`,id:`param-order-by-column`,children:_jsxs(_components.p,{children:[`The index of the column to order the Metric Report by. The index is 1-based and defaults to the first Metric column. In other words, by default, reports are ordered by the first Metric; however, you can order by the second Metric, third Metric, etc., by overriding the `,_jsx(_components.code,{children:`orderByColumn`}),` input. You can also order by dimensions this way.`]})}),_jsx(ParamField,{path:`first`,type:`Int`,id:`param-first-47`,children:_jsx(_components.p,{children:`The number of rows to be returned when paging forward. It can be a number between 1 and 1,000.`})}),_jsx(ParamField,{path:`after`,type:`String`,id:`param-after-47`,children:_jsx(_components.p,{children:`The cursor to use when paging forward.`})}),_jsx(ParamField,{path:`last`,type:`Int`,id:`param-last-47`,children:_jsx(_components.p,{children:`The number of rows to be returned when paging forward. It can be a number between 1 and 1,000.`})}),_jsx(ParamField,{path:`before`,type:`String`,id:`param-before-47`,children:_jsx(_components.p,{children:`The cursor to use when paging backward.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-7`,children:[_jsx(_components.p,{children:`The Query Filters to apply when building the Metric Report. These can be used to filter out rows.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,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-3`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,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:`[FilterInput!]`,id:`param-or-1`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-20`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MetricReportConnection`})]}),_jsxs(Expandable,{title:`MetricReportConnection`,children:[_jsx(_components.p,{children:`The Metric Report connection object.`}),_jsxs(_components.p,{children:[`It includes `,_jsx(_components.code,{children:`headers`}),` and `,_jsx(_components.code,{children:`rows`}),` for a single page of a report. It also allows paging forward and backward to other\npages of the report.`]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-12`,children:[_jsx(_components.p,{children:`The report connection’s page info.`}),_jsxs(Expandable,{title:`PageInfo`,children:[_jsx(_components.p,{children:`The page info object used for pagination.`}),_jsx(ParamField,{path:`startCursor`,type:`String`,id:`param-start-cursor-5`,children:_jsx(_components.p,{children:`Points to the first item returned in the results. Used when paginating backward.`})}),_jsx(ParamField,{path:`endCursor`,type:`String`,id:`param-end-cursor-5`,children:_jsx(_components.p,{children:`Points to the last item returned in the results. Used when paginating forward.`})}),_jsx(ParamField,{path:`hasNextPage`,type:`Boolean`,required:true,id:`param-has-next-page-5`,children:_jsx(_components.p,{children:`A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.`})}),_jsx(ParamField,{path:`hasPreviousPage`,type:`Boolean`,required:true,id:`param-has-previous-page-5`,children:_jsx(_components.p,{children:`A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.`})})]})]}),_jsxs(ParamField,{path:`edges`,type:`[MetricReportEdge!]`,required:true,id:`param-edges-12`,children:[_jsx(_components.p,{children:`The report connection’s edges.`}),_jsxs(Expandable,{title:`MetricReportEdge`,children:[_jsx(_components.p,{children:`The Metric Report edge object.`}),_jsxs(ParamField,{path:`node`,type:`MetricReportNode`,required:true,id:`param-node-3`,children:[_jsx(_components.p,{children:`The edge’s node.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#metricreportnode`,children:`MetricReportNode`})]})]}),_jsx(ParamField,{path:`cursor`,type:`String`,required:true,id:`param-cursor-3`,children:_jsx(_components.p,{children:`The edge’s cursor.`})})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[MetricReportNode!]`,required:true,id:`param-nodes-12`,children:[_jsx(_components.p,{children:`The report connection’s nodes.`}),_jsxs(Expandable,{title:`MetricReportNode`,children:[_jsx(_components.p,{children:`The Metric Report node object.`}),_jsx(_components.p,{children:`This type represents a single row of a report.`}),_jsx(ParamField,{path:`headers`,type:`[String]`,required:true,id:`param-headers-2`,children:_jsx(_components.p,{children:`An ordered array of display names for your dimensions and Metrics, as defined in the report input. Use this to display your table’s header.`})}),_jsx(ParamField,{path:`row`,type:`[String]`,required:true,id:`param-row`,children:_jsx(_components.p,{children:`An ordered array of columns. Each column contains the dimension and Metric values for a single row, as defined in the report input. Use this to display a single row within your table.`})})]})]}),_jsx(ParamField,{path:`headers`,type:`[String]`,required:true,id:`param-headers-3`,children:_jsx(_components.p,{children:`An ordered array of display names for your dimensions and Metrics, as defined in the report input. Use this to display your table’s header.`})}),_jsx(ParamField,{path:`rows`,type:`[[String]!]`,required:true,id:`param-rows-4`,children:_jsx(_components.p,{children:`An ordered array of rows. Each row contains dimension and Metric values, as defined in the report input. Use these to display the rows of your table.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-6`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(Expandable,{title:`QueryInfo`,children:[_jsx(_components.p,{children:`The Query Info object. It contains metadata and statistics about a Query performed.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-54`,children:_jsx(_components.p,{children:`The Query’s unique identifier.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-30`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was created.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-30`,children:_jsx(_components.p,{children:`The unique identifier of the actor that performed the Query.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-29`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was last modified.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-29`,children:_jsx(_components.p,{children:`The unique identifier of the actor that modified the Query.`})}),_jsx(ParamField,{path:`bytesProcessed`,type:`String`,required:true,id:`param-bytes-processed`,children:_jsx(_components.p,{children:`The bytes processed by the Query.`})}),_jsx(ParamField,{path:`durationInMilliseconds`,type:`Int`,required:true,id:`param-duration-in-milliseconds`,children:_jsx(_components.p,{children:`The duration of the Query in milliseconds.`})}),_jsx(ParamField,{path:`recordsProcessed`,type:`String`,required:true,id:`param-records-processed`,children:_jsx(_components.p,{children:`The number of records processed by the Query.`})}),_jsx(ParamField,{path:`resultingBytes`,type:`Int`,required:true,id:`param-resulting-bytes`,children:_jsx(_components.p,{children:`The bytes returned by the Query.`})}),_jsx(ParamField,{path:`resultingRecords`,type:`Int`,required:true,id:`param-resulting-records`,children:_jsx(_components.p,{children:`The number of records returned by the Query.`})}),_jsx(ParamField,{path:`booster`,type:`Booster`,id:`param-booster`,children:_jsxs(_components.p,{children:[`If the Query was boosted, the Booster that was used.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#booster`,children:`Booster`})]})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,id:`param-propeller-3`,children:[_jsx(_components.p,{children:`The Propeller used for this query.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#propeller`,children:`Propeller`})]})]}),_jsxs(ParamField,{path:`status`,type:`QueryStatus`,required:true,id:`param-status-14`,children:[_jsx(_components.p,{children:`The Query status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querystatus`,children:`QueryStatus`})]})]}),_jsxs(ParamField,{path:`type`,type:`QueryType`,required:true,id:`param-type-24`,children:[_jsx(_components.p,{children:`The Query type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querytype`,children:`QueryType`})]})]}),_jsxs(ParamField,{path:`subtype`,type:`QuerySubtype`,id:`param-subtype`,children:[_jsx(_components.p,{children:`The Query subtype.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querysubtype`,children:`QuerySubtype`})]})]}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-1`,children:_jsx(_components.p,{children:`The SQL the query executed.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`sqlv1`,children:`sqlV1`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-37`,children:[_jsx(_components.p,{children:`Query Data Pools using SQL.`}),_jsx(Heading,{level:`3`,id:`arguments-71`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`SqlV1Input`,required:true,id:`param-input-7`,children:_jsxs(Expandable,{title:`SqlV1Input`,children:[_jsx(_components.p,{children:`Input to the SqlV1 api.`}),_jsx(ParamField,{path:`query`,type:`String`,required:true,id:`param-query-7`,children:_jsx(_components.p,{children:`The SQL query.`})}),_jsxs(ParamField,{path:`dialect`,type:`SqlDialectV1`,id:`param-dialect`,children:[_jsx(_components.p,{children:`The SQL dialect to use. If not provided, the query is parsed on a best-effort basis.`}),_jsxs(Expandable,{title:`SqlDialectV1`,children:[_jsx(_components.p,{children:`The SQL dialect to use when parsing queries.`}),_jsx(ParamField,{path:` `,id:`param-38`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POSTGRESQL`}),`: Parse as PostgreSQL-compatible SQL.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CLICKHOUSE`}),`: Parse as ClickHouse-compatible SQL.`]}),`\n`]})})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-21`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`SqlResponse`})]}),_jsxs(Expandable,{title:`SqlResponse`,children:[_jsx(_components.p,{children:`Response from the SQL API.`}),_jsxs(ParamField,{path:`columns`,type:`[SqlColumnResponse!]`,required:true,id:`param-columns-4`,children:[_jsxs(_components.p,{children:[`The column names in the same order as present in the `,_jsx(_components.code,{children:`data`}),` field.`]}),_jsxs(Expandable,{title:`SqlColumnResponse`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-20`,children:_jsx(_components.p,{children:`The name of the returned column.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-25`,children:[_jsx(_components.p,{children:`The returned column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-13`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})})]})]}),_jsx(ParamField,{path:`rows`,type:`[[String]!]`,required:true,id:`param-rows-5`,children:_jsx(_components.p,{children:`The data gathered by the SQL query. The data is returned in an N x M matrix format, where the\nfirst dimension are the rows retrieved, and the second dimension are the columns. Each cell\ncan be either a string or null, and the string can represent a number, text, date or boolean value.`})}),_jsxs(ParamField,{path:`info`,type:`QueryInfo`,required:true,id:`param-info`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(Expandable,{title:`QueryInfo`,children:[_jsx(_components.p,{children:`The Query Info object. It contains metadata and statistics about a Query performed.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-55`,children:_jsx(_components.p,{children:`The Query’s unique identifier.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-31`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was created.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-31`,children:_jsx(_components.p,{children:`The unique identifier of the actor that performed the Query.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-30`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was last modified.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-30`,children:_jsx(_components.p,{children:`The unique identifier of the actor that modified the Query.`})}),_jsx(ParamField,{path:`bytesProcessed`,type:`String`,required:true,id:`param-bytes-processed-1`,children:_jsx(_components.p,{children:`The bytes processed by the Query.`})}),_jsx(ParamField,{path:`durationInMilliseconds`,type:`Int`,required:true,id:`param-duration-in-milliseconds-1`,children:_jsx(_components.p,{children:`The duration of the Query in milliseconds.`})}),_jsx(ParamField,{path:`recordsProcessed`,type:`String`,required:true,id:`param-records-processed-1`,children:_jsx(_components.p,{children:`The number of records processed by the Query.`})}),_jsx(ParamField,{path:`resultingBytes`,type:`Int`,required:true,id:`param-resulting-bytes-1`,children:_jsx(_components.p,{children:`The bytes returned by the Query.`})}),_jsx(ParamField,{path:`resultingRecords`,type:`Int`,required:true,id:`param-resulting-records-1`,children:_jsx(_components.p,{children:`The number of records returned by the Query.`})}),_jsx(ParamField,{path:`booster`,type:`Booster`,id:`param-booster-1`,children:_jsxs(_components.p,{children:[`If the Query was boosted, the Booster that was used.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#booster`,children:`Booster`})]})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,id:`param-propeller-4`,children:[_jsx(_components.p,{children:`The Propeller used for this query.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#propeller`,children:`Propeller`})]})]}),_jsxs(ParamField,{path:`status`,type:`QueryStatus`,required:true,id:`param-status-15`,children:[_jsx(_components.p,{children:`The Query status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querystatus`,children:`QueryStatus`})]})]}),_jsxs(ParamField,{path:`type`,type:`QueryType`,required:true,id:`param-type-26`,children:[_jsx(_components.p,{children:`The Query type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querytype`,children:`QueryType`})]})]}),_jsxs(ParamField,{path:`subtype`,type:`QuerySubtype`,id:`param-subtype-1`,children:[_jsx(_components.p,{children:`The Query subtype.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querysubtype`,children:`QuerySubtype`})]})]}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-2`,children:_jsx(_components.p,{children:`The SQL the query executed.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`describesqlv1`,children:`describeSqlV1`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-39`,children:[_jsx(_components.p,{children:`Describe SQL statements Data Pools.`}),_jsx(Heading,{level:`3`,id:`arguments-72`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`DescribeSqlV1Input`,required:true,id:`param-input-8`,children:_jsxs(Expandable,{title:`DescribeSqlV1Input`,children:[_jsx(_components.p,{children:`Input for describing SqlV1 inputs.`}),_jsx(ParamField,{path:`query`,type:`String`,required:true,id:`param-query-8`,children:_jsx(_components.p,{children:`The SQL query.`})}),_jsxs(ParamField,{path:`dialect`,type:`SqlDialectV1`,id:`param-dialect-1`,children:[_jsx(_components.p,{children:`The SQL dialect to use. If not provided, the query is parsed on a best-effort basis.`}),_jsxs(Expandable,{title:`SqlDialectV1`,children:[_jsx(_components.p,{children:`The SQL dialect to use when parsing queries.`}),_jsx(ParamField,{path:` `,id:`param-40`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`POSTGRESQL`}),`: Parse as PostgreSQL-compatible SQL.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CLICKHOUSE`}),`: Parse as ClickHouse-compatible SQL.`]}),`\n`]})})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-22`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DescribeSqlResponse`})]}),_jsxs(Expandable,{title:`DescribeSqlResponse`,children:[_jsx(_components.p,{children:`Response from the describe SQL API.`}),_jsxs(ParamField,{path:`columns`,type:`[SqlColumnResponse!]`,required:true,id:`param-columns-5`,children:[_jsx(_components.p,{children:`The columns that the query would return.`}),_jsxs(Expandable,{title:`SqlColumnResponse`,children:[_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-21`,children:_jsx(_components.p,{children:`The name of the returned column.`})}),_jsxs(ParamField,{path:`type`,type:`ColumnType`,required:true,id:`param-type-27`,children:[_jsx(_components.p,{children:`The returned column’s type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#columntype`,children:`ColumnType`})]})]}),_jsx(ParamField,{path:`isNullable`,type:`Boolean`,required:true,id:`param-is-nullable-14`,children:_jsx(_components.p,{children:`Whether the column is nullable, meaning whether it accepts a null value.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`datagrid`,children:`dataGrid`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-41`,children:[_jsx(_components.p,{children:`Returns the individual records of a Data Pool with the convenience of built-in pagination, filtering, and sorting.`}),_jsx(Heading,{level:`3`,id:`arguments-73`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`DataGridInput`,required:true,id:`param-input-9`,children:_jsxs(Expandable,{title:`DataGridInput`,children:[_jsx(_components.p,{children:`The fields for querying Data Grid records.`}),_jsxs(ParamField,{path:`dataPool`,type:`DataPoolInput`,required:true,id:`param-data-pool-4`,children:[_jsx(_components.p,{children:`The Data Pool to be queried.`}),_jsxs(Expandable,{title:`DataPoolInput`,children:[_jsx(ParamField,{path:`id`,type:`ID`,id:`param-id-56`,children:_jsx(_components.p,{children:`The ID of the Data Pool.`})}),_jsx(ParamField,{path:`name`,type:`String`,id:`param-name-11`,children:_jsx(_components.p,{children:`The name of the Data Pool.`})})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-7`,children:[_jsx(_components.p,{children:`The time range for retrieving the records.`}),_jsxs(Expandable,{title:`TimeRangeInput`,children:[_jsx(_components.p,{children:`The fields required to specify the time range for a time series, counter, or leaderboard Metric query.`}),_jsx(_components.p,{children:`If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.`}),_jsx(_components.p,{children:`If both relative and absolute time ranges are provided, the relative time range will take precedence.`}),_jsxs(_components.p,{children:[`If a `,_jsx(_components.code,{children:`LAST_N`}),` relative time period is selected, an `,_jsx(_components.code,{children:`n`}),` ≥ 1 must be provided. If no `,_jsx(_components.code,{children:`n`}),` is provided or `,_jsx(_components.code,{children:`n`}),` \u003c 1, a `,_jsx(_components.code,{children:`BAD_REQUEST`}),` error will be returned.`]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-5`,children:_jsx(_components.p,{children:`The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.\nSet this to filter on an alternative timestamp field.`})}),_jsxs(ParamField,{path:`relative`,type:`RelativeTimeRange`,id:`param-relative-1`,children:[_jsx(_components.p,{children:`The relative time period.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#relativetimerange`,children:`RelativeTimeRange`})]})]}),_jsx(ParamField,{path:`n`,type:`Int`,id:`param-n-1`,children:_jsxs(_components.p,{children:[`The number of time units for the `,_jsx(_components.code,{children:`LAST_N`}),` relative periods.`]})}),_jsx(ParamField,{path:`start`,type:`DateTime`,id:`param-start-1`,children:_jsx(_components.p,{children:`The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.`})}),_jsx(ParamField,{path:`stop`,type:`DateTime`,id:`param-stop-1`,children:_jsx(_components.p,{children:`The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.`})})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-7`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsx(ParamField,{path:`columns`,type:`[String!]`,required:true,id:`param-columns-6`,children:_jsx(_components.p,{children:`The columns to retrieve.`})}),_jsx(ParamField,{path:`orderByColumn`,type:`Int`,id:`param-order-by-column-1`,children:_jsx(_components.p,{children:`The index of the column to order the table by. The index is 1-based. If not provided, records will be ordered by their timestamp by default.`})}),_jsxs(ParamField,{path:`sort`,type:`Sort`,id:`param-sort-4`,children:[_jsxs(_components.p,{children:[`The sort order of the rows. It can be ascending (`,_jsx(_components.code,{children:`ASC`}),`) or descending (`,_jsx(_components.code,{children:`DESC`}),`) order. Defaults to descending (`,_jsx(_components.code,{children:`DESC`}),`) order when not provided.`]}),_jsxs(Expandable,{title:`Sort`,children:[_jsx(_components.p,{children:`The available sort orders.`}),_jsx(ParamField,{path:` `,id:`param-42`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ASC`}),`: Sort in ascending order.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DESC`}),`: Sort in descending order.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-9`,children:_jsxs(_components.p,{children:[`The filters to apply to the records, in the form of SQL. You may only filter on columns included in the `,_jsx(_components.code,{children:`columns`}),` array input.`]})}),_jsx(ParamField,{path:`first`,type:`Int`,id:`param-first-48`,children:_jsx(_components.p,{children:`The number of rows to be returned when paging forward. It can be a number between 1 and 1,000.`})}),_jsx(ParamField,{path:`after`,type:`String`,id:`param-after-48`,children:_jsx(_components.p,{children:`The cursor to use when paging forward.`})}),_jsx(ParamField,{path:`last`,type:`Int`,id:`param-last-48`,children:_jsx(_components.p,{children:`The number of rows to be returned when paging forward. It can be a number between 1 and 1,000.`})}),_jsx(ParamField,{path:`before`,type:`String`,id:`param-before-48`,children:_jsx(_components.p,{children:`The cursor to use when paging backward.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-8`,children:[_jsxs(_components.p,{children:[`The filters to apply to the records. You may only filter on columns included in the `,_jsx(_components.code,{children:`columns`}),` array input.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,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-4`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,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:`[FilterInput!]`,id:`param-or-2`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})}),_jsx(Heading,{level:`3`,id:`returns-23`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DataGridConnection`})]}),_jsxs(Expandable,{title:`DataGridConnection`,children:[_jsx(_components.p,{children:`The Data Grid connection.`}),_jsxs(_components.p,{children:[`It includes `,_jsx(_components.code,{children:`headers`}),` and `,_jsx(_components.code,{children:`rows`}),` for a single page of a Data Grid table. It also allows paging forward and backward to other\npages of the Data Grid table.`]}),_jsx(ParamField,{path:`headers`,type:`[String!]`,required:true,id:`param-headers-4`,children:_jsx(_components.p,{children:`The Data Grid table’s headers.`})}),_jsx(ParamField,{path:`rows`,type:`[[String]!]`,required:true,id:`param-rows-6`,children:_jsx(_components.p,{children:`An array of arrays containing the values of the Data Grid table’s rows.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-9`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(Expandable,{title:`QueryInfo`,children:[_jsx(_components.p,{children:`The Query Info object. It contains metadata and statistics about a Query performed.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-57`,children:_jsx(_components.p,{children:`The Query’s unique identifier.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-32`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was created.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-32`,children:_jsx(_components.p,{children:`The unique identifier of the actor that performed the Query.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-31`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was last modified.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-31`,children:_jsx(_components.p,{children:`The unique identifier of the actor that modified the Query.`})}),_jsx(ParamField,{path:`bytesProcessed`,type:`String`,required:true,id:`param-bytes-processed-2`,children:_jsx(_components.p,{children:`The bytes processed by the Query.`})}),_jsx(ParamField,{path:`durationInMilliseconds`,type:`Int`,required:true,id:`param-duration-in-milliseconds-2`,children:_jsx(_components.p,{children:`The duration of the Query in milliseconds.`})}),_jsx(ParamField,{path:`recordsProcessed`,type:`String`,required:true,id:`param-records-processed-2`,children:_jsx(_components.p,{children:`The number of records processed by the Query.`})}),_jsx(ParamField,{path:`resultingBytes`,type:`Int`,required:true,id:`param-resulting-bytes-2`,children:_jsx(_components.p,{children:`The bytes returned by the Query.`})}),_jsx(ParamField,{path:`resultingRecords`,type:`Int`,required:true,id:`param-resulting-records-2`,children:_jsx(_components.p,{children:`The number of records returned by the Query.`})}),_jsx(ParamField,{path:`booster`,type:`Booster`,id:`param-booster-2`,children:_jsxs(_components.p,{children:[`If the Query was boosted, the Booster that was used.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#booster`,children:`Booster`})]})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,id:`param-propeller-5`,children:[_jsx(_components.p,{children:`The Propeller used for this query.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#propeller`,children:`Propeller`})]})]}),_jsxs(ParamField,{path:`status`,type:`QueryStatus`,required:true,id:`param-status-16`,children:[_jsx(_components.p,{children:`The Query status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querystatus`,children:`QueryStatus`})]})]}),_jsxs(ParamField,{path:`type`,type:`QueryType`,required:true,id:`param-type-28`,children:[_jsx(_components.p,{children:`The Query type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querytype`,children:`QueryType`})]})]}),_jsxs(ParamField,{path:`subtype`,type:`QuerySubtype`,id:`param-subtype-2`,children:[_jsx(_components.p,{children:`The Query subtype.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querysubtype`,children:`QuerySubtype`})]})]}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-3`,children:_jsx(_components.p,{children:`The SQL the query executed.`})})]})]}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-13`,children:[_jsx(_components.p,{children:`The Data Grid table’s page info.`}),_jsxs(Expandable,{title:`PageInfo`,children:[_jsx(_components.p,{children:`The page info object used for pagination.`}),_jsx(ParamField,{path:`startCursor`,type:`String`,id:`param-start-cursor-6`,children:_jsx(_components.p,{children:`Points to the first item returned in the results. Used when paginating backward.`})}),_jsx(ParamField,{path:`endCursor`,type:`String`,id:`param-end-cursor-6`,children:_jsx(_components.p,{children:`Points to the last item returned in the results. Used when paginating forward.`})}),_jsx(ParamField,{path:`hasNextPage`,type:`Boolean`,required:true,id:`param-has-next-page-6`,children:_jsx(_components.p,{children:`A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.`})}),_jsx(ParamField,{path:`hasPreviousPage`,type:`Boolean`,required:true,id:`param-has-previous-page-6`,children:_jsx(_components.p,{children:`A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.`})})]})]}),_jsxs(ParamField,{path:`edges`,type:`[DataGridEdge!]`,required:true,id:`param-edges-13`,children:[_jsx(_components.p,{children:`The Data Grid table’s edges.`}),_jsxs(Expandable,{title:`DataGridEdge`,children:[_jsx(_components.p,{children:`The Data Grid edge object.`}),_jsxs(ParamField,{path:`node`,type:`DataGridNode`,required:true,id:`param-node-4`,children:[_jsx(_components.p,{children:`The edge’s node.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#datagridnode`,children:`DataGridNode`})]})]}),_jsx(ParamField,{path:`cursor`,type:`String`,required:true,id:`param-cursor-4`,children:_jsx(_components.p,{children:`The edge’s cursor.`})})]})]}),_jsxs(ParamField,{path:`nodes`,type:`[DataGridNode!]`,required:true,id:`param-nodes-13`,children:[_jsx(_components.p,{children:`The Data Grid table’s nodes.`}),_jsxs(Expandable,{title:`DataGridNode`,children:[_jsx(_components.p,{children:`The Data Grid table’s node.`}),_jsx(_components.p,{children:`This type represents a single row of a Data Grid table.`}),_jsx(ParamField,{path:`headers`,type:`[String!]`,required:true,id:`param-headers-5`,children:_jsx(_components.p,{children:`The Data Grid table’s headers.`})}),_jsx(ParamField,{path:`row`,type:`[String]`,required:true,id:`param-row-1`,children:_jsx(_components.p,{children:`An array of the values for the row.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`recordsbyuniqueid`,children:`recordsByUniqueId`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-43`,children:[_jsx(_components.p,{children:`Returns records by the given unique IDs.`}),_jsx(Heading,{level:`3`,id:`arguments-74`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`RecordsByUniqueIdInput`,required:true,id:`param-input-10`,children:_jsxs(Expandable,{title:`RecordsByUniqueIdInput`,children:[_jsx(_components.p,{children:`The fields for querying records by unique ID.`}),_jsxs(ParamField,{path:`dataPool`,type:`DataPoolInput`,required:true,id:`param-data-pool-5`,children:[_jsx(_components.p,{children:`The Data Pool to be queried. A Data Pool ID or unique name can be provided.`}),_jsxs(Expandable,{title:`DataPoolInput`,children:[_jsx(ParamField,{path:`id`,type:`ID`,id:`param-id-58`,children:_jsx(_components.p,{children:`The ID of the Data Pool.`})}),_jsx(ParamField,{path:`name`,type:`String`,id:`param-name-12`,children:_jsx(_components.p,{children:`The name of the Data Pool.`})})]})]}),_jsx(ParamField,{path:`columns`,type:`[String!]`,required:true,id:`param-columns-7`,children:_jsx(_components.p,{children:`The columns to retrieve.`})}),_jsx(ParamField,{path:`uniqueIds`,type:`[String!]`,required:true,id:`param-unique-ids`,children:_jsx(_components.p,{children:`The unique IDs of the records to retrieve.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-24`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`RecordsByUniqueIdResponse`})]}),_jsxs(Expandable,{title:`RecordsByUniqueIdResponse`,children:[_jsx(ParamField,{path:`columns`,type:`[String!]`,required:true,id:`param-columns-8`,children:_jsx(_components.p,{children:`The Data Pool columns for the record.`})}),_jsx(ParamField,{path:`values`,type:`[[String]!]`,required:true,id:`param-values-2`,children:_jsx(_components.p,{children:`An array of values for the record.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-10`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(Expandable,{title:`QueryInfo`,children:[_jsx(_components.p,{children:`The Query Info object. It contains metadata and statistics about a Query performed.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-59`,children:_jsx(_components.p,{children:`The Query’s unique identifier.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-33`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was created.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-33`,children:_jsx(_components.p,{children:`The unique identifier of the actor that performed the Query.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-32`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was last modified.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-32`,children:_jsx(_components.p,{children:`The unique identifier of the actor that modified the Query.`})}),_jsx(ParamField,{path:`bytesProcessed`,type:`String`,required:true,id:`param-bytes-processed-3`,children:_jsx(_components.p,{children:`The bytes processed by the Query.`})}),_jsx(ParamField,{path:`durationInMilliseconds`,type:`Int`,required:true,id:`param-duration-in-milliseconds-3`,children:_jsx(_components.p,{children:`The duration of the Query in milliseconds.`})}),_jsx(ParamField,{path:`recordsProcessed`,type:`String`,required:true,id:`param-records-processed-3`,children:_jsx(_components.p,{children:`The number of records processed by the Query.`})}),_jsx(ParamField,{path:`resultingBytes`,type:`Int`,required:true,id:`param-resulting-bytes-3`,children:_jsx(_components.p,{children:`The bytes returned by the Query.`})}),_jsx(ParamField,{path:`resultingRecords`,type:`Int`,required:true,id:`param-resulting-records-3`,children:_jsx(_components.p,{children:`The number of records returned by the Query.`})}),_jsx(ParamField,{path:`booster`,type:`Booster`,id:`param-booster-3`,children:_jsxs(_components.p,{children:[`If the Query was boosted, the Booster that was used.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#booster`,children:`Booster`})]})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,id:`param-propeller-6`,children:[_jsx(_components.p,{children:`The Propeller used for this query.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#propeller`,children:`Propeller`})]})]}),_jsxs(ParamField,{path:`status`,type:`QueryStatus`,required:true,id:`param-status-17`,children:[_jsx(_components.p,{children:`The Query status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querystatus`,children:`QueryStatus`})]})]}),_jsxs(ParamField,{path:`type`,type:`QueryType`,required:true,id:`param-type-29`,children:[_jsx(_components.p,{children:`The Query type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querytype`,children:`QueryType`})]})]}),_jsxs(ParamField,{path:`subtype`,type:`QuerySubtype`,id:`param-subtype-3`,children:[_jsx(_components.p,{children:`The Query subtype.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querysubtype`,children:`QuerySubtype`})]})]}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-4`,children:_jsx(_components.p,{children:`The SQL the query executed.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`topvalues`,children:`topValues`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-44`,children:[_jsx(_components.p,{children:`Returns an array of the most frequent values in a given column. The resulting array is sorted in descending order of approximate frequency of values.`}),_jsx(Heading,{level:`3`,id:`arguments-75`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TopValuesInput`,required:true,id:`param-input-11`,children:_jsxs(Expandable,{title:`TopValuesInput`,children:[_jsx(_components.p,{children:`The fields for querying the top values in a given column.`}),_jsxs(ParamField,{path:`dataPool`,type:`DataPoolInput`,required:true,id:`param-data-pool-6`,children:[_jsx(_components.p,{children:`The Data Pool to be queried. A Data Pool ID or unique name can be provided.`}),_jsxs(Expandable,{title:`DataPoolInput`,children:[_jsx(ParamField,{path:`id`,type:`ID`,id:`param-id-60`,children:_jsx(_components.p,{children:`The ID of the Data Pool.`})}),_jsx(ParamField,{path:`name`,type:`String`,id:`param-name-13`,children:_jsx(_components.p,{children:`The name of the Data Pool.`})})]})]}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-22`,children:_jsx(_components.p,{children:`The column to fetch the unique values from.`})}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-8`,children:[_jsx(_components.p,{children:`The time range for calculating the top values.`}),_jsxs(Expandable,{title:`TimeRangeInput`,children:[_jsx(_components.p,{children:`The fields required to specify the time range for a time series, counter, or leaderboard Metric query.`}),_jsx(_components.p,{children:`If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.`}),_jsx(_components.p,{children:`If both relative and absolute time ranges are provided, the relative time range will take precedence.`}),_jsxs(_components.p,{children:[`If a `,_jsx(_components.code,{children:`LAST_N`}),` relative time period is selected, an `,_jsx(_components.code,{children:`n`}),` ≥ 1 must be provided. If no `,_jsx(_components.code,{children:`n`}),` is provided or `,_jsx(_components.code,{children:`n`}),` \u003c 1, a `,_jsx(_components.code,{children:`BAD_REQUEST`}),` error will be returned.`]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-6`,children:_jsx(_components.p,{children:`The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.\nSet this to filter on an alternative timestamp field.`})}),_jsxs(ParamField,{path:`relative`,type:`RelativeTimeRange`,id:`param-relative-2`,children:[_jsx(_components.p,{children:`The relative time period.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#relativetimerange`,children:`RelativeTimeRange`})]})]}),_jsx(ParamField,{path:`n`,type:`Int`,id:`param-n-2`,children:_jsxs(_components.p,{children:[`The number of time units for the `,_jsx(_components.code,{children:`LAST_N`}),` relative periods.`]})}),_jsx(ParamField,{path:`start`,type:`DateTime`,id:`param-start-2`,children:_jsx(_components.p,{children:`The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.`})}),_jsx(ParamField,{path:`stop`,type:`DateTime`,id:`param-stop-2`,children:_jsx(_components.p,{children:`The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.`})})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-8`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsx(ParamField,{path:`maxValues`,type:`Int`,id:`param-max-values`,children:_jsx(_components.p,{children:`The maximum number of values to return. It can be a number between 1 and 1,000. If the parameter is omitted, default value 10 is used.`})})]})}),_jsx(Heading,{level:`3`,id:`returns-25`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`TopValuesResponse`})]}),_jsx(Expandable,{title:`TopValuesResponse`,children:_jsx(ParamField,{path:`values`,type:`[String!]`,required:true,id:`param-values-3`,children:_jsx(_components.p,{children:`An array with the list of values.`})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`counter`,children:`counter`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-45`,children:[_jsx(_components.p,{children:`Query a metric in counter format. Returns a single metric value for the given time range and filters.`}),_jsx(Heading,{level:`3`,id:`arguments-76`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`CounterInput`,required:true,id:`param-input-12`,children:_jsxs(Expandable,{title:`CounterInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in counter format.`}),_jsx(_components.p,{children:`A Metric’s counter query returns a single value over a given time range.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-9`,children:[_jsx(_components.p,{children:`The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.`}),_jsxs(Expandable,{title:`MetricInput`,children:[_jsx(ParamField,{path:`id`,type:`ID`,id:`param-id-61`,children:_jsx(_components.p,{children:`The ID of a pre-configured Metric.`})}),_jsx(ParamField,{path:`name`,type:`String`,id:`param-name-14`,children:_jsx(_components.p,{children:`The name of a pre-configured Metric.`})}),_jsxs(ParamField,{path:`custom`,type:`CustomMetricQueryInput`,id:`param-custom`,children:[_jsx(_components.p,{children:`An ad hoc Custom Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#custommetricqueryinput`,children:`CustomMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`count`,type:`CountMetricQueryInput`,id:`param-count`,children:[_jsx(_components.p,{children:`An ad hoc Count Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#countmetricqueryinput`,children:`CountMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`sum`,type:`SumMetricQueryInput`,id:`param-sum`,children:[_jsx(_components.p,{children:`An ad hoc Sum Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#summetricqueryinput`,children:`SumMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`average`,type:`AverageMetricQueryInput`,id:`param-average`,children:[_jsx(_components.p,{children:`An ad hoc Average Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#averagemetricqueryinput`,children:`AverageMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`min`,type:`MinMetricQueryInput`,id:`param-min`,children:[_jsx(_components.p,{children:`An ad hoc Min Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#minmetricqueryinput`,children:`MinMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`max`,type:`MaxMetricQueryInput`,id:`param-max`,children:[_jsx(_components.p,{children:`An ad hoc Max Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#maxmetricqueryinput`,children:`MaxMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`countDistinct`,type:`CountDistinctMetricQueryInput`,id:`param-count-distinct`,children:[_jsx(_components.p,{children:`An ad hoc Count Distinct Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#countdistinctmetricqueryinput`,children:`CountDistinctMetricQueryInput`})]})]})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-9`,children:[_jsx(_components.p,{children:`The time range for calculating the counter.`}),_jsxs(Expandable,{title:`TimeRangeInput`,children:[_jsx(_components.p,{children:`The fields required to specify the time range for a time series, counter, or leaderboard Metric query.`}),_jsx(_components.p,{children:`If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.`}),_jsx(_components.p,{children:`If both relative and absolute time ranges are provided, the relative time range will take precedence.`}),_jsxs(_components.p,{children:[`If a `,_jsx(_components.code,{children:`LAST_N`}),` relative time period is selected, an `,_jsx(_components.code,{children:`n`}),` ≥ 1 must be provided. If no `,_jsx(_components.code,{children:`n`}),` is provided or `,_jsx(_components.code,{children:`n`}),` \u003c 1, a `,_jsx(_components.code,{children:`BAD_REQUEST`}),` error will be returned.`]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-7`,children:_jsx(_components.p,{children:`The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.\nSet this to filter on an alternative timestamp field.`})}),_jsxs(ParamField,{path:`relative`,type:`RelativeTimeRange`,id:`param-relative-3`,children:[_jsx(_components.p,{children:`The relative time period.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#relativetimerange`,children:`RelativeTimeRange`})]})]}),_jsx(ParamField,{path:`n`,type:`Int`,id:`param-n-3`,children:_jsxs(_components.p,{children:[`The number of time units for the `,_jsx(_components.code,{children:`LAST_N`}),` relative periods.`]})}),_jsx(ParamField,{path:`start`,type:`DateTime`,id:`param-start-3`,children:_jsx(_components.p,{children:`The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.`})}),_jsx(ParamField,{path:`stop`,type:`DateTime`,id:`param-stop-3`,children:_jsx(_components.p,{children:`The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.`})})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-9`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-10`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the counter data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-6`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-6`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-9`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,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-5`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,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:`[FilterInput!]`,id:`param-or-3`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-26`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`CounterResponse`})]}),_jsxs(Expandable,{title:`CounterResponse`,children:[_jsx(_components.p,{children:`The counter response object. It contains a single Metric value for the given time range and Query Filters.`}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-6`,children:_jsx(_components.p,{children:`The value of the counter.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-11`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(Expandable,{title:`QueryInfo`,children:[_jsx(_components.p,{children:`The Query Info object. It contains metadata and statistics about a Query performed.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-62`,children:_jsx(_components.p,{children:`The Query’s unique identifier.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-34`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was created.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-34`,children:_jsx(_components.p,{children:`The unique identifier of the actor that performed the Query.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-33`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was last modified.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-33`,children:_jsx(_components.p,{children:`The unique identifier of the actor that modified the Query.`})}),_jsx(ParamField,{path:`bytesProcessed`,type:`String`,required:true,id:`param-bytes-processed-4`,children:_jsx(_components.p,{children:`The bytes processed by the Query.`})}),_jsx(ParamField,{path:`durationInMilliseconds`,type:`Int`,required:true,id:`param-duration-in-milliseconds-4`,children:_jsx(_components.p,{children:`The duration of the Query in milliseconds.`})}),_jsx(ParamField,{path:`recordsProcessed`,type:`String`,required:true,id:`param-records-processed-4`,children:_jsx(_components.p,{children:`The number of records processed by the Query.`})}),_jsx(ParamField,{path:`resultingBytes`,type:`Int`,required:true,id:`param-resulting-bytes-4`,children:_jsx(_components.p,{children:`The bytes returned by the Query.`})}),_jsx(ParamField,{path:`resultingRecords`,type:`Int`,required:true,id:`param-resulting-records-4`,children:_jsx(_components.p,{children:`The number of records returned by the Query.`})}),_jsx(ParamField,{path:`booster`,type:`Booster`,id:`param-booster-4`,children:_jsxs(_components.p,{children:[`If the Query was boosted, the Booster that was used.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#booster`,children:`Booster`})]})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,id:`param-propeller-7`,children:[_jsx(_components.p,{children:`The Propeller used for this query.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#propeller`,children:`Propeller`})]})]}),_jsxs(ParamField,{path:`status`,type:`QueryStatus`,required:true,id:`param-status-18`,children:[_jsx(_components.p,{children:`The Query status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querystatus`,children:`QueryStatus`})]})]}),_jsxs(ParamField,{path:`type`,type:`QueryType`,required:true,id:`param-type-30`,children:[_jsx(_components.p,{children:`The Query type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querytype`,children:`QueryType`})]})]}),_jsxs(ParamField,{path:`subtype`,type:`QuerySubtype`,id:`param-subtype-4`,children:[_jsx(_components.p,{children:`The Query subtype.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querysubtype`,children:`QuerySubtype`})]})]}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-5`,children:_jsx(_components.p,{children:`The SQL the query executed.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`counters`,children:`counters`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-46`,children:[_jsx(_components.p,{children:`Query metrics in counter format. Returns a metric value for each input in the array of inputs.`}),_jsx(Heading,{level:`3`,id:`arguments-77`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`[CounterInput!]`,required:true,id:`param-input-13`,children:_jsxs(Expandable,{title:`[CounterInput!]`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in counter format.`}),_jsx(_components.p,{children:`A Metric’s counter query returns a single value over a given time range.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-10`,children:[_jsx(_components.p,{children:`The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.`}),_jsxs(Expandable,{title:`MetricInput`,children:[_jsx(ParamField,{path:`id`,type:`ID`,id:`param-id-63`,children:_jsx(_components.p,{children:`The ID of a pre-configured Metric.`})}),_jsx(ParamField,{path:`name`,type:`String`,id:`param-name-15`,children:_jsx(_components.p,{children:`The name of a pre-configured Metric.`})}),_jsxs(ParamField,{path:`custom`,type:`CustomMetricQueryInput`,id:`param-custom-1`,children:[_jsx(_components.p,{children:`An ad hoc Custom Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#custommetricqueryinput`,children:`CustomMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`count`,type:`CountMetricQueryInput`,id:`param-count-1`,children:[_jsx(_components.p,{children:`An ad hoc Count Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#countmetricqueryinput`,children:`CountMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`sum`,type:`SumMetricQueryInput`,id:`param-sum-1`,children:[_jsx(_components.p,{children:`An ad hoc Sum Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#summetricqueryinput`,children:`SumMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`average`,type:`AverageMetricQueryInput`,id:`param-average-1`,children:[_jsx(_components.p,{children:`An ad hoc Average Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#averagemetricqueryinput`,children:`AverageMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`min`,type:`MinMetricQueryInput`,id:`param-min-1`,children:[_jsx(_components.p,{children:`An ad hoc Min Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#minmetricqueryinput`,children:`MinMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`max`,type:`MaxMetricQueryInput`,id:`param-max-1`,children:[_jsx(_components.p,{children:`An ad hoc Max Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#maxmetricqueryinput`,children:`MaxMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`countDistinct`,type:`CountDistinctMetricQueryInput`,id:`param-count-distinct-1`,children:[_jsx(_components.p,{children:`An ad hoc Count Distinct Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#countdistinctmetricqueryinput`,children:`CountDistinctMetricQueryInput`})]})]})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-10`,children:[_jsx(_components.p,{children:`The time range for calculating the counter.`}),_jsxs(Expandable,{title:`TimeRangeInput`,children:[_jsx(_components.p,{children:`The fields required to specify the time range for a time series, counter, or leaderboard Metric query.`}),_jsx(_components.p,{children:`If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.`}),_jsx(_components.p,{children:`If both relative and absolute time ranges are provided, the relative time range will take precedence.`}),_jsxs(_components.p,{children:[`If a `,_jsx(_components.code,{children:`LAST_N`}),` relative time period is selected, an `,_jsx(_components.code,{children:`n`}),` ≥ 1 must be provided. If no `,_jsx(_components.code,{children:`n`}),` is provided or `,_jsx(_components.code,{children:`n`}),` \u003c 1, a `,_jsx(_components.code,{children:`BAD_REQUEST`}),` error will be returned.`]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-8`,children:_jsx(_components.p,{children:`The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.\nSet this to filter on an alternative timestamp field.`})}),_jsxs(ParamField,{path:`relative`,type:`RelativeTimeRange`,id:`param-relative-4`,children:[_jsx(_components.p,{children:`The relative time period.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#relativetimerange`,children:`RelativeTimeRange`})]})]}),_jsx(ParamField,{path:`n`,type:`Int`,id:`param-n-4`,children:_jsxs(_components.p,{children:[`The number of time units for the `,_jsx(_components.code,{children:`LAST_N`}),` relative periods.`]})}),_jsx(ParamField,{path:`start`,type:`DateTime`,id:`param-start-4`,children:_jsx(_components.p,{children:`The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.`})}),_jsx(ParamField,{path:`stop`,type:`DateTime`,id:`param-stop-4`,children:_jsx(_components.p,{children:`The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.`})})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-10`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-11`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the counter data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-7`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-7`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-10`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the counter data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,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-7`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,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:`[FilterInput!]`,id:`param-or-4`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-27`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`CounterResponse`})]}),_jsxs(Expandable,{title:`CounterResponse`,children:[_jsx(_components.p,{children:`The counter response object. It contains a single Metric value for the given time range and Query Filters.`}),_jsx(ParamField,{path:`value`,type:`String`,id:`param-value-8`,children:_jsx(_components.p,{children:`The value of the counter.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-12`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(Expandable,{title:`QueryInfo`,children:[_jsx(_components.p,{children:`The Query Info object. It contains metadata and statistics about a Query performed.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-64`,children:_jsx(_components.p,{children:`The Query’s unique identifier.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-35`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was created.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-35`,children:_jsx(_components.p,{children:`The unique identifier of the actor that performed the Query.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-34`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was last modified.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-34`,children:_jsx(_components.p,{children:`The unique identifier of the actor that modified the Query.`})}),_jsx(ParamField,{path:`bytesProcessed`,type:`String`,required:true,id:`param-bytes-processed-5`,children:_jsx(_components.p,{children:`The bytes processed by the Query.`})}),_jsx(ParamField,{path:`durationInMilliseconds`,type:`Int`,required:true,id:`param-duration-in-milliseconds-5`,children:_jsx(_components.p,{children:`The duration of the Query in milliseconds.`})}),_jsx(ParamField,{path:`recordsProcessed`,type:`String`,required:true,id:`param-records-processed-5`,children:_jsx(_components.p,{children:`The number of records processed by the Query.`})}),_jsx(ParamField,{path:`resultingBytes`,type:`Int`,required:true,id:`param-resulting-bytes-5`,children:_jsx(_components.p,{children:`The bytes returned by the Query.`})}),_jsx(ParamField,{path:`resultingRecords`,type:`Int`,required:true,id:`param-resulting-records-5`,children:_jsx(_components.p,{children:`The number of records returned by the Query.`})}),_jsx(ParamField,{path:`booster`,type:`Booster`,id:`param-booster-5`,children:_jsxs(_components.p,{children:[`If the Query was boosted, the Booster that was used.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#booster`,children:`Booster`})]})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,id:`param-propeller-8`,children:[_jsx(_components.p,{children:`The Propeller used for this query.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#propeller`,children:`Propeller`})]})]}),_jsxs(ParamField,{path:`status`,type:`QueryStatus`,required:true,id:`param-status-19`,children:[_jsx(_components.p,{children:`The Query status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querystatus`,children:`QueryStatus`})]})]}),_jsxs(ParamField,{path:`type`,type:`QueryType`,required:true,id:`param-type-31`,children:[_jsx(_components.p,{children:`The Query type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querytype`,children:`QueryType`})]})]}),_jsxs(ParamField,{path:`subtype`,type:`QuerySubtype`,id:`param-subtype-5`,children:[_jsx(_components.p,{children:`The Query subtype.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querysubtype`,children:`QuerySubtype`})]})]}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-6`,children:_jsx(_components.p,{children:`The SQL the query executed.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`timeseries`,children:`timeSeries`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-47`,children:[_jsx(_components.p,{children:`Query a metric in time series format. Returns arrays of timestamps and metric values for the given time range and filters.`}),_jsx(Heading,{level:`3`,id:`arguments-78`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`TimeSeriesInput`,required:true,id:`param-input-14`,children:_jsxs(Expandable,{title:`TimeSeriesInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in time series format.`}),_jsx(_components.p,{children:`A Metric’s time series query returns the values over a given time range aggregated by a given time granularity; day, month, or year, for example.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-11`,children:[_jsx(_components.p,{children:`The Metric to Query. It can be a pre-created one or it can be inlined here.`}),_jsxs(Expandable,{title:`MetricInput`,children:[_jsx(ParamField,{path:`id`,type:`ID`,id:`param-id-65`,children:_jsx(_components.p,{children:`The ID of a pre-configured Metric.`})}),_jsx(ParamField,{path:`name`,type:`String`,id:`param-name-16`,children:_jsx(_components.p,{children:`The name of a pre-configured Metric.`})}),_jsxs(ParamField,{path:`custom`,type:`CustomMetricQueryInput`,id:`param-custom-2`,children:[_jsx(_components.p,{children:`An ad hoc Custom Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#custommetricqueryinput`,children:`CustomMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`count`,type:`CountMetricQueryInput`,id:`param-count-2`,children:[_jsx(_components.p,{children:`An ad hoc Count Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#countmetricqueryinput`,children:`CountMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`sum`,type:`SumMetricQueryInput`,id:`param-sum-2`,children:[_jsx(_components.p,{children:`An ad hoc Sum Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#summetricqueryinput`,children:`SumMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`average`,type:`AverageMetricQueryInput`,id:`param-average-2`,children:[_jsx(_components.p,{children:`An ad hoc Average Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#averagemetricqueryinput`,children:`AverageMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`min`,type:`MinMetricQueryInput`,id:`param-min-2`,children:[_jsx(_components.p,{children:`An ad hoc Min Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#minmetricqueryinput`,children:`MinMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`max`,type:`MaxMetricQueryInput`,id:`param-max-2`,children:[_jsx(_components.p,{children:`An ad hoc Max Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#maxmetricqueryinput`,children:`MaxMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`countDistinct`,type:`CountDistinctMetricQueryInput`,id:`param-count-distinct-2`,children:[_jsx(_components.p,{children:`An ad hoc Count Distinct Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#countdistinctmetricqueryinput`,children:`CountDistinctMetricQueryInput`})]})]})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-11`,children:[_jsx(_components.p,{children:`The time range for calculating the time series.`}),_jsxs(Expandable,{title:`TimeRangeInput`,children:[_jsx(_components.p,{children:`The fields required to specify the time range for a time series, counter, or leaderboard Metric query.`}),_jsx(_components.p,{children:`If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.`}),_jsx(_components.p,{children:`If both relative and absolute time ranges are provided, the relative time range will take precedence.`}),_jsxs(_components.p,{children:[`If a `,_jsx(_components.code,{children:`LAST_N`}),` relative time period is selected, an `,_jsx(_components.code,{children:`n`}),` ≥ 1 must be provided. If no `,_jsx(_components.code,{children:`n`}),` is provided or `,_jsx(_components.code,{children:`n`}),` \u003c 1, a `,_jsx(_components.code,{children:`BAD_REQUEST`}),` error will be returned.`]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-9`,children:_jsx(_components.p,{children:`The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.\nSet this to filter on an alternative timestamp field.`})}),_jsxs(ParamField,{path:`relative`,type:`RelativeTimeRange`,id:`param-relative-5`,children:[_jsx(_components.p,{children:`The relative time period.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#relativetimerange`,children:`RelativeTimeRange`})]})]}),_jsx(ParamField,{path:`n`,type:`Int`,id:`param-n-5`,children:_jsxs(_components.p,{children:[`The number of time units for the `,_jsx(_components.code,{children:`LAST_N`}),` relative periods.`]})}),_jsx(ParamField,{path:`start`,type:`DateTime`,id:`param-start-5`,children:_jsx(_components.p,{children:`The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.`})}),_jsx(ParamField,{path:`stop`,type:`DateTime`,id:`param-stop-5`,children:_jsx(_components.p,{children:`The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.`})})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-11`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsxs(ParamField,{path:`granularity`,type:`TimeSeriesGranularity`,required:true,id:`param-granularity-2`,children:[_jsx(_components.p,{children:`The time granularity (hour, day, month, etc.) to aggregate the Metric values by.`}),_jsxs(Expandable,{title:`TimeSeriesGranularity`,children:[_jsx(_components.p,{children:`The available time series granularities. Granularities define the unit of time to aggregate the Metric data for a time series query.`}),_jsxs(_components.p,{children:[`For example, if the granularity is set to `,_jsx(_components.code,{children:`DAY`}),`, then the the time series query will return a label and a value for each day.`]}),_jsx(_components.p,{children:`If there are no records for a given time series granularity, Propel will return the label and a value of “0” so that the time series can be properly visualized.`}),_jsx(ParamField,{path:` `,id:`param-48`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MINUTE`}),`: Aggregates values by minute intervals.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FIVE_MINUTES`}),`: Aggregates values by 5-minute intervals.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TEN_MINUTES`}),`: Aggregates values by 10-minute intervals.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FIFTEEN_MINUTES`}),`: Aggregates values by 15-minute intervals.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`HOUR`}),`: Aggregates values by hourly intervals.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DAY`}),`: Aggregates values by daily intervals.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`WEEK`}),`: Aggregates values by weekly intervals.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`MONTH`}),`: Aggregates values by monthly intervals.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`YEAR`}),`: Aggregates values by yearly intervals.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-12`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the time series data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsx(ParamField,{path:`groupBy`,type:`[String!]`,id:`param-group-by-2`,children:_jsx(_components.p,{children:`Columns to group by.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-8`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-8`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-11`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the time series data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,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-9`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,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:`[FilterInput!]`,id:`param-or-5`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-28`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`TimeSeriesResponse`})]}),_jsxs(Expandable,{title:`TimeSeriesResponse`,children:[_jsx(_components.p,{children:`The time series response object. It contains an array of time series labels and an array of Metric values for the given time range and Query Filters.`}),_jsx(ParamField,{path:`labels`,type:`[String!]`,required:true,id:`param-labels-2`,children:_jsx(_components.p,{children:`The time series labels.`})}),_jsx(ParamField,{path:`values`,type:`[String]`,required:true,id:`param-values-4`,children:_jsx(_components.p,{children:`The time series values.`})}),_jsxs(ParamField,{path:`groups`,type:`[TimeSeriesResponseGroup!]`,id:`param-groups-2`,children:[_jsxs(_components.p,{children:[`The time series values for each group in `,_jsx(_components.code,{children:`groupBy`}),`, if specified.`]}),_jsxs(Expandable,{title:`TimeSeriesResponseGroup`,children:[_jsxs(_components.p,{children:[`The time series response object for a group specified in `,_jsx(_components.code,{children:`groupBy`}),`. It contains an array of time series labels and an array of Metric values for a particular group.`]}),_jsx(ParamField,{path:`group`,type:`[String]`,required:true,id:`param-group`,children:_jsx(_components.p,{children:`The time series group’s columns.`})}),_jsx(ParamField,{path:`labels`,type:`[String!]`,required:true,id:`param-labels-3`,children:_jsx(_components.p,{children:`The time series group’s labels.`})}),_jsx(ParamField,{path:`values`,type:`[String]`,required:true,id:`param-values-5`,children:_jsx(_components.p,{children:`The time series group’s values.`})})]})]}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-13`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(Expandable,{title:`QueryInfo`,children:[_jsx(_components.p,{children:`The Query Info object. It contains metadata and statistics about a Query performed.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-66`,children:_jsx(_components.p,{children:`The Query’s unique identifier.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-36`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was created.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-36`,children:_jsx(_components.p,{children:`The unique identifier of the actor that performed the Query.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-35`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was last modified.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-35`,children:_jsx(_components.p,{children:`The unique identifier of the actor that modified the Query.`})}),_jsx(ParamField,{path:`bytesProcessed`,type:`String`,required:true,id:`param-bytes-processed-6`,children:_jsx(_components.p,{children:`The bytes processed by the Query.`})}),_jsx(ParamField,{path:`durationInMilliseconds`,type:`Int`,required:true,id:`param-duration-in-milliseconds-6`,children:_jsx(_components.p,{children:`The duration of the Query in milliseconds.`})}),_jsx(ParamField,{path:`recordsProcessed`,type:`String`,required:true,id:`param-records-processed-6`,children:_jsx(_components.p,{children:`The number of records processed by the Query.`})}),_jsx(ParamField,{path:`resultingBytes`,type:`Int`,required:true,id:`param-resulting-bytes-6`,children:_jsx(_components.p,{children:`The bytes returned by the Query.`})}),_jsx(ParamField,{path:`resultingRecords`,type:`Int`,required:true,id:`param-resulting-records-6`,children:_jsx(_components.p,{children:`The number of records returned by the Query.`})}),_jsx(ParamField,{path:`booster`,type:`Booster`,id:`param-booster-6`,children:_jsxs(_components.p,{children:[`If the Query was boosted, the Booster that was used.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#booster`,children:`Booster`})]})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,id:`param-propeller-9`,children:[_jsx(_components.p,{children:`The Propeller used for this query.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#propeller`,children:`Propeller`})]})]}),_jsxs(ParamField,{path:`status`,type:`QueryStatus`,required:true,id:`param-status-20`,children:[_jsx(_components.p,{children:`The Query status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querystatus`,children:`QueryStatus`})]})]}),_jsxs(ParamField,{path:`type`,type:`QueryType`,required:true,id:`param-type-32`,children:[_jsx(_components.p,{children:`The Query type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querytype`,children:`QueryType`})]})]}),_jsxs(ParamField,{path:`subtype`,type:`QuerySubtype`,id:`param-subtype-6`,children:[_jsx(_components.p,{children:`The Query subtype.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querysubtype`,children:`QuerySubtype`})]})]}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-7`,children:_jsx(_components.p,{children:`The SQL the query executed.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`leaderboard`,children:`leaderboard`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-49`,children:[_jsx(_components.p,{children:`Query a metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the metric’s corresponding values for the given time range and filters.`}),_jsx(Heading,{level:`3`,id:`arguments-79`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`input`,type:`LeaderboardInput`,required:true,id:`param-input-15`,children:_jsxs(Expandable,{title:`LeaderboardInput`,children:[_jsx(_components.p,{children:`The fields for querying a Metric in leaderboard format.`}),_jsx(_components.p,{children:`A Metric’s leaderboard query returns an ordered table of Dimension and Metric values over a given time range.`}),_jsxs(ParamField,{path:`metric`,type:`MetricInput`,id:`param-metric-12`,children:[_jsx(_components.p,{children:`The Metric to query. You can query a pre-configured Metric by ID or name, or you can query an ad hoc Metric that you define inline.`}),_jsxs(Expandable,{title:`MetricInput`,children:[_jsx(ParamField,{path:`id`,type:`ID`,id:`param-id-67`,children:_jsx(_components.p,{children:`The ID of a pre-configured Metric.`})}),_jsx(ParamField,{path:`name`,type:`String`,id:`param-name-17`,children:_jsx(_components.p,{children:`The name of a pre-configured Metric.`})}),_jsxs(ParamField,{path:`custom`,type:`CustomMetricQueryInput`,id:`param-custom-3`,children:[_jsx(_components.p,{children:`An ad hoc Custom Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#custommetricqueryinput`,children:`CustomMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`count`,type:`CountMetricQueryInput`,id:`param-count-3`,children:[_jsx(_components.p,{children:`An ad hoc Count Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#countmetricqueryinput`,children:`CountMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`sum`,type:`SumMetricQueryInput`,id:`param-sum-3`,children:[_jsx(_components.p,{children:`An ad hoc Sum Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#summetricqueryinput`,children:`SumMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`average`,type:`AverageMetricQueryInput`,id:`param-average-3`,children:[_jsx(_components.p,{children:`An ad hoc Average Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#averagemetricqueryinput`,children:`AverageMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`min`,type:`MinMetricQueryInput`,id:`param-min-3`,children:[_jsx(_components.p,{children:`An ad hoc Min Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#minmetricqueryinput`,children:`MinMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`max`,type:`MaxMetricQueryInput`,id:`param-max-3`,children:[_jsx(_components.p,{children:`An ad hoc Max Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#maxmetricqueryinput`,children:`MaxMetricQueryInput`})]})]}),_jsxs(ParamField,{path:`countDistinct`,type:`CountDistinctMetricQueryInput`,id:`param-count-distinct-3`,children:[_jsx(_components.p,{children:`An ad hoc Count Distinct Metric.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/inputs#countdistinctmetricqueryinput`,children:`CountDistinctMetricQueryInput`})]})]})]})]}),_jsxs(ParamField,{path:`timeRange`,type:`TimeRangeInput`,id:`param-time-range-12`,children:[_jsx(_components.p,{children:`The time range for calculating the leaderboard.`}),_jsxs(Expandable,{title:`TimeRangeInput`,children:[_jsx(_components.p,{children:`The fields required to specify the time range for a time series, counter, or leaderboard Metric query.`}),_jsx(_components.p,{children:`If no relative or absolute time ranges are provided, Propel defaults to an absolute time range beginning with the earliest record in the Metric’s Data Pool and ending with the latest record.`}),_jsx(_components.p,{children:`If both relative and absolute time ranges are provided, the relative time range will take precedence.`}),_jsxs(_components.p,{children:[`If a `,_jsx(_components.code,{children:`LAST_N`}),` relative time period is selected, an `,_jsx(_components.code,{children:`n`}),` ≥ 1 must be provided. If no `,_jsx(_components.code,{children:`n`}),` is provided or `,_jsx(_components.code,{children:`n`}),` \u003c 1, a `,_jsx(_components.code,{children:`BAD_REQUEST`}),` error will be returned.`]}),_jsx(ParamField,{path:`timestamp`,type:`String`,id:`param-timestamp-10`,children:_jsx(_components.p,{children:`The timestamp field to use when querying. Defaults to the timestamp configured on the Data Pool or Metric, if any.\nSet this to filter on an alternative timestamp field.`})}),_jsxs(ParamField,{path:`relative`,type:`RelativeTimeRange`,id:`param-relative-6`,children:[_jsx(_components.p,{children:`The relative time period.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#relativetimerange`,children:`RelativeTimeRange`})]})]}),_jsx(ParamField,{path:`n`,type:`Int`,id:`param-n-6`,children:_jsxs(_components.p,{children:[`The number of time units for the `,_jsx(_components.code,{children:`LAST_N`}),` relative periods.`]})}),_jsx(ParamField,{path:`start`,type:`DateTime`,id:`param-start-6`,children:_jsx(_components.p,{children:`The optional start timestamp (inclusive). Defaults to the timestamp of the earliest record in the Data Pool.`})}),_jsx(ParamField,{path:`stop`,type:`DateTime`,id:`param-stop-6`,children:_jsx(_components.p,{children:`The optional end timestamp (exclusive). Defaults to the timestamp of the latest record in the Data Pool.`})})]})]}),_jsxs(ParamField,{path:`timeZone`,type:`String`,id:`param-time-zone-12`,children:[_jsx(_components.p,{children:`The time zone to use. Dates and times are always returned in UTC, but setting the time zone influences relative time ranges and granularities.`}),_jsxs(_components.p,{children:[`You can set this to “America/Los_Angeles”, “Europe/Berlin”, or any other value in the `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Tz_database`,children:`IANA time zone database`}),`. Defaults to “UTC”.`]})]}),_jsxs(ParamField,{path:`dimensions`,type:`[DimensionInput!]`,required:true,id:`param-dimensions-6`,children:[_jsx(_components.p,{children:`One or many Dimensions to group the Metric values by. Typically, Dimensions in a leaderboard are what you want to compare and rank.`}),_jsxs(Expandable,{title:`DimensionInput`,children:[_jsx(_components.p,{children:`The fields for creating or modifying a Dimension.`}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-23`,children:_jsx(_components.p,{children:`The name of the column to create the Dimension from.`})})]})]}),_jsxs(ParamField,{path:`sort`,type:`Sort`,id:`param-sort-5`,children:[_jsxs(_components.p,{children:[`The sort order of the rows. It can be ascending (`,_jsx(_components.code,{children:`ASC`}),`) or descending (`,_jsx(_components.code,{children:`DESC`}),`) order. Defaults to descending (`,_jsx(_components.code,{children:`DESC`}),`) order when not provided.`]}),_jsxs(Expandable,{title:`Sort`,children:[_jsx(_components.p,{children:`The available sort orders.`}),_jsx(ParamField,{path:` `,id:`param-50`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`ASC`}),`: Sort in ascending order.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DESC`}),`: Sort in descending order.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`rowLimit`,type:`Int`,required:true,id:`param-row-limit-2`,children:_jsx(_components.p,{children:`The number of rows to be returned. It can be a number between 1 and 1,000.`})}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-13`,children:_jsx(_components.p,{children:`The Query Filters to apply before retrieving the leaderboard data, in the form of SQL. If no Query Filters are provided, all data is included.`})}),_jsxs(Expandable,{title:`Deprecated Fields`,children:[_jsxs(ParamField,{path:`metricId`,type:`ID`,deprecated:true,id:`param-metric-id-9`,children:[_jsx(_components.p,{children:`The ID of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricName`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`metricName`,type:`String`,deprecated:true,id:`param-metric-name-9`,children:[_jsx(_components.p,{children:`The name of the Metric to query.`}),_jsxs(_components.p,{children:[`Required if `,_jsx(_components.code,{children:`metricId`}),` is not specified.`]}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`metric`})]})]}),_jsxs(ParamField,{path:`filters`,type:`[FilterInput!]`,deprecated:true,id:`param-filters-12`,children:[_jsx(_components.p,{children:`The Query Filters to apply before retrieving the leaderboard data. If no Query Filters are provided, all data is included.`}),_jsxs(`span`,{style:{fontStyle:`italic`},children:[`deprecated: Use `,_jsx(_components.code,{children:`filterSql`}),` instead`]}),_jsxs(Expandable,{title:`FilterInput`,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-10`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[FilterInput!]`,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:`[FilterInput!]`,id:`param-or-6`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})]})]})}),_jsx(Heading,{level:`3`,id:`returns-29`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`LeaderboardResponse`})]}),_jsxs(Expandable,{title:`LeaderboardResponse`,children:[_jsx(_components.p,{children:`The leaderboard response object. It contains an array of headers and a table (array of rows) with the selected Dimensions and corresponding Metric values for the given time range and Query Filters.`}),_jsx(ParamField,{path:`headers`,type:`[String!]`,required:true,id:`param-headers-6`,children:_jsx(_components.p,{children:`The table headers. It contains the Dimension and Metric names.`})}),_jsx(ParamField,{path:`rows`,type:`[[String]!]`,required:true,id:`param-rows-7`,children:_jsx(_components.p,{children:`An ordered array of rows. Each row contains the Dimension values and the corresponding Metric value. A Dimension value can be empty. A Metric value will never be empty.`})}),_jsxs(ParamField,{path:`query`,type:`QueryInfo`,required:true,id:`param-query-14`,children:[_jsx(_components.p,{children:`The Query statistics and metadata.`}),_jsxs(Expandable,{title:`QueryInfo`,children:[_jsx(_components.p,{children:`The Query Info object. It contains metadata and statistics about a Query performed.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-68`,children:_jsx(_components.p,{children:`The Query’s unique identifier.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-37`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was created.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-37`,children:_jsx(_components.p,{children:`The unique identifier of the actor that performed the Query.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-36`,children:_jsx(_components.p,{children:`The date and time in UTC when the Query was last modified.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-36`,children:_jsx(_components.p,{children:`The unique identifier of the actor that modified the Query.`})}),_jsx(ParamField,{path:`bytesProcessed`,type:`String`,required:true,id:`param-bytes-processed-7`,children:_jsx(_components.p,{children:`The bytes processed by the Query.`})}),_jsx(ParamField,{path:`durationInMilliseconds`,type:`Int`,required:true,id:`param-duration-in-milliseconds-7`,children:_jsx(_components.p,{children:`The duration of the Query in milliseconds.`})}),_jsx(ParamField,{path:`recordsProcessed`,type:`String`,required:true,id:`param-records-processed-7`,children:_jsx(_components.p,{children:`The number of records processed by the Query.`})}),_jsx(ParamField,{path:`resultingBytes`,type:`Int`,required:true,id:`param-resulting-bytes-7`,children:_jsx(_components.p,{children:`The bytes returned by the Query.`})}),_jsx(ParamField,{path:`resultingRecords`,type:`Int`,required:true,id:`param-resulting-records-7`,children:_jsx(_components.p,{children:`The number of records returned by the Query.`})}),_jsx(ParamField,{path:`booster`,type:`Booster`,id:`param-booster-7`,children:_jsxs(_components.p,{children:[`If the Query was boosted, the Booster that was used.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#booster`,children:`Booster`})]})}),_jsxs(ParamField,{path:`propeller`,type:`Propeller`,id:`param-propeller-10`,children:[_jsx(_components.p,{children:`The Propeller used for this query.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#propeller`,children:`Propeller`})]})]}),_jsxs(ParamField,{path:`status`,type:`QueryStatus`,required:true,id:`param-status-21`,children:[_jsx(_components.p,{children:`The Query status.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querystatus`,children:`QueryStatus`})]})]}),_jsxs(ParamField,{path:`type`,type:`QueryType`,required:true,id:`param-type-33`,children:[_jsx(_components.p,{children:`The Query type.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querytype`,children:`QueryType`})]})]}),_jsxs(ParamField,{path:`subtype`,type:`QuerySubtype`,id:`param-subtype-7`,children:[_jsx(_components.p,{children:`The Query subtype.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/enums#querysubtype`,children:`QuerySubtype`})]})]}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-8`,children:_jsx(_components.p,{children:`The SQL the query executed.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`deletionjob`,children:`deletionJob`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-51`,children:[_jsx(_components.p,{children:`Returns the Deletion Job specified by the given ID.`}),_jsx(_components.p,{children:`The Deletion Job represents the asynchronous process of deleting data\ngiven some filters inside a Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-80`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-69`}),_jsx(Heading,{level:`3`,id:`returns-30`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`DeletionJob`})]}),_jsxs(Expandable,{title:`DeletionJob`,children:[_jsx(_components.p,{children:`Deletion Job scheduled for a specific Data Pool.`}),_jsx(_components.p,{children:`The Deletion Job represents the asynchronous process of deleting data\ngiven some filters inside a Data Pool. It tracks the deletion process\nuntil it is finished, showing the progress and the outcome when it is finished.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-70`,children:_jsx(_components.p,{children:`The Deletion Job’s ID.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-38`,children:_jsx(_components.p,{children:`The Deletion Job’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-38`,children:_jsx(_components.p,{children:`Who created the Deletion Job.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-37`,children:_jsx(_components.p,{children:`The Deletion Job’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-37`,children:_jsx(_components.p,{children:`Who last modified the Deletion Job.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-29`,children:[_jsx(_components.p,{children:`Account to which the Deletion Job belongs.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-71`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-16`,children:[_jsx(_components.p,{children:`Environment to which the Deletion Job belongs.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-72`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-31`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-30`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-39`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-38`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-39`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-38`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-30`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,required:true,id:`param-data-pool-7`,children:_jsxs(_components.p,{children:[`The Data Pool whose records will be deleted by the Deletion Job.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`status`,type:`JobStatus`,required:true,id:`param-status-22`,children:[_jsx(_components.p,{children:`The current Deletion Job’s status.`}),_jsx(Expandable,{title:`JobStatus`,children:_jsx(ParamField,{path:` `,id:`param-52`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Job was created, but is not yet being executed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`IN_PROGRESS`}),`: The Job is executing.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUCCEEDED`}),`: The Job succeeded.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),`: The Job failed. Check the error message.`]}),`\n`]})})})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-14`,children:_jsx(_components.p,{children:`The filters that will be used for deleting data, in the form of SQL. Data matching the filters will be deleted.`})}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-12`,children:[_jsx(_components.p,{children:`The error that occurred while deleting data, if any.`}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-6`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-6`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsx(ParamField,{path:`progress`,type:`Float`,required:true,id:`param-progress-1`,children:_jsx(_components.p,{children:`The current progress of the Deletion Job, from 0.0 to 1.0.`})}),_jsx(ParamField,{path:`startedAt`,type:`DateTime`,id:`param-started-at-1`,children:_jsx(_components.p,{children:`The time at which the Deletion Job started.`})}),_jsx(ParamField,{path:`succeededAt`,type:`DateTime`,id:`param-succeeded-at-1`,children:_jsx(_components.p,{children:`The time at which the Deletion Job succeeded.`})}),_jsx(ParamField,{path:`failedAt`,type:`DateTime`,id:`param-failed-at-1`,children:_jsx(_components.p,{children:`The time at which the Deletion Job failed.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-13`,children:[_jsx(_components.p,{children:`The list of filters that will be used for deleting data. Data matching the filters will be deleted.`}),_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-7`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-7`,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-11`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[Filter!]`,id:`param-and-7`,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-7`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`addcolumntodatapooljob`,children:`addColumnToDataPoolJob`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-53`,children:[_jsx(_components.p,{children:`Returns the AddColumnToDataPoolJob specified by the given ID.`}),_jsx(_components.p,{children:`The AddColumnToDataPoolJob represents the asynchronous process of adding\na column, given its name and type, to a Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-81`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-73`}),_jsx(Heading,{level:`3`,id:`returns-31`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`AddColumnToDataPoolJob`})]}),_jsxs(Expandable,{title:`AddColumnToDataPoolJob`,children:[_jsx(_components.p,{children:`AddColumnToDataPoolJob scheduled for a specific Data Pool.`}),_jsx(_components.p,{children:`The Add Column Job represents the asynchronous process of adding a column,\ngiven its name and type, to a Data Pool. It tracks the process of adding a column\nuntil it is finished, showing the progress and the outcome when it is finished.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-74`,children:_jsx(_components.p,{children:`The AddColumnToDataPoolJob’s ID.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-40`,children:_jsx(_components.p,{children:`The AddColumnToDataPoolJob’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-40`,children:_jsx(_components.p,{children:`Who created the AddColumnToDataPoolJob.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-39`,children:_jsx(_components.p,{children:`The AddColumnToDataPoolJob’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-39`,children:_jsx(_components.p,{children:`Who modified the AddColumnToDataPoolJob last.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-31`,children:[_jsx(_components.p,{children:`Account to which the AddColumnToDataPoolJob belongs.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-75`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-17`,children:[_jsx(_components.p,{children:`Environment to which the AddColumnToDataPoolJob belongs.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-76`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-32`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-31`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-41`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-40`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-41`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-40`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-32`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,required:true,id:`param-data-pool-8`,children:_jsxs(_components.p,{children:[`The Data Pool to which a column will be added by the Job.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`status`,type:`JobStatus`,required:true,id:`param-status-23`,children:[_jsx(_components.p,{children:`The current AddColumnToDataPoolJob’s status.`}),_jsx(Expandable,{title:`JobStatus`,children:_jsx(ParamField,{path:` `,id:`param-54`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Job was created, but is not yet being executed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`IN_PROGRESS`}),`: The Job is executing.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUCCEEDED`}),`: The Job succeeded.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),`: The Job failed. Check the error message.`]}),`\n`]})})})]}),_jsx(ParamField,{path:`columnName`,type:`String`,required:true,id:`param-column-name-24`,children:_jsx(_components.p,{children:`Name of the new column.`})}),_jsxs(ParamField,{path:`columnType`,type:`ColumnType`,required:true,id:`param-column-type`,children:[_jsx(_components.p,{children:`Type of the new column.`}),_jsxs(Expandable,{title:`ColumnType`,children:[_jsx(_components.p,{children:`The Propel data types.`}),_jsx(ParamField,{path:` `,id:`param-55`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`BOOLEAN`}),`: True or false.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`STRING`}),`: A variable-length string.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FLOAT`}),`: A 32-bit signed double-precision floating point number.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DOUBLE`}),`: A 64-bit signed double-precision floating point number.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INT8`}),`: An 8-bit signed integer, with a minimum value of -2⁷ and a maximum value of 2⁷-1.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INT16`}),`: A 16-bit signed integer, with a minimum value of -2¹⁵ and a maximum value of 2¹⁵-1.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INT32`}),`: A 32-bit signed integer, with a minimum value of -2³¹ and a maximum value of 2³¹-1.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`INT64`}),`: A 64-bit signed integer, with a minimum value of -2⁶³ and a maximum value of 2⁶³-1.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`DATE`}),`: A date without a timestamp. For example, “YYYY-MM-DD”.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`TIMESTAMP`}),`: A date with a timestamp. For example, “yyy-MM-dd HH:mm:ss”.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`JSON`}),`: A JavaScript Object Notation (JSON) document.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CLICKHOUSE`}),`: A ClickHouse-specific type.`]}),`\n`]})})]})]}),_jsx(ParamField,{path:`columnClickHouseType`,type:`String`,id:`param-column-click-house-type`,children:_jsxs(_components.p,{children:[`The ClickHouse type of the new column when `,_jsx(_components.code,{children:`columnType`}),` is set to `,_jsx(_components.code,{children:`CLICKHOUSE`}),`.`]})}),_jsx(ParamField,{path:`jsonProperty`,type:`String`,id:`param-json-property`,children:_jsx(_components.p,{children:`JSON property to which the new column corresponds.`})}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-13`,children:[_jsx(_components.p,{children:`The error that occurred while adding the column data, if any.`}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-7`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-7`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsx(ParamField,{path:`progress`,type:`Float`,required:true,id:`param-progress-2`,children:_jsx(_components.p,{children:`The current progress of the AddColumnToDataPool Job, from 0.0 to 1.0.`})}),_jsx(ParamField,{path:`startedAt`,type:`DateTime`,id:`param-started-at-2`,children:_jsx(_components.p,{children:`The time at which the AddColumnToDataPool Job started.`})}),_jsx(ParamField,{path:`succeededAt`,type:`DateTime`,id:`param-succeeded-at-2`,children:_jsx(_components.p,{children:`The time at which the AddColumnToDataPool Job succeeded.`})}),_jsx(ParamField,{path:`failedAt`,type:`DateTime`,id:`param-failed-at-2`,children:_jsx(_components.p,{children:`The time at which the AddColumnToDataPool Job failed.`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`addcolumntodatapooljobbystatus`,children:`addColumnToDataPoolJobByStatus`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-56`,children:[_jsx(_components.p,{children:`Returns the AddColumnToDataPool Job specified by a given status.`}),_jsx(Heading,{level:`3`,id:`arguments-82`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`status`,type:`JobStatus`,required:true,id:`param-status-24`,children:_jsx(Expandable,{title:`JobStatus`,children:_jsx(ParamField,{path:` `,id:`param-57`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Job was created, but is not yet being executed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`IN_PROGRESS`}),`: The Job is executing.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUCCEEDED`}),`: The Job succeeded.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),`: The Job failed. Check the error message.`]}),`\n`]})})})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-49`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-49`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-49`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-49`}),_jsx(Heading,{level:`3`,id:`returns-32`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`AddColumnToDataPoolJobConnection`})]}),_jsxs(Expandable,{title:`AddColumnToDataPoolJobConnection`,children:[_jsx(_components.p,{children:`The Add column to Data Pool Job connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsx(ParamField,{path:`edges`,type:`[AddColumnToDataPoolJobEdge!]`,required:true,id:`param-edges-14`,children:_jsxs(_components.p,{children:[`The Add column to Data Pool Job connection’s edges.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#addcolumntodatapooljobedge`,children:`AddColumnToDataPoolJobEdge`})]})}),_jsx(ParamField,{path:`nodes`,type:`[AddColumnToDataPoolJob!]`,required:true,id:`param-nodes-14`,children:_jsxs(_components.p,{children:[`The Add column to Data Pool Job connection’s nodes.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#addcolumntodatapooljob`,children:`AddColumnToDataPoolJob`})]})}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-14`,children:[_jsx(_components.p,{children:`The Add column to Data Pool Job connection’s page info.`}),_jsxs(Expandable,{title:`PageInfo`,children:[_jsx(_components.p,{children:`The page info object used for pagination.`}),_jsx(ParamField,{path:`startCursor`,type:`String`,id:`param-start-cursor-7`,children:_jsx(_components.p,{children:`Points to the first item returned in the results. Used when paginating backward.`})}),_jsx(ParamField,{path:`endCursor`,type:`String`,id:`param-end-cursor-7`,children:_jsx(_components.p,{children:`Points to the last item returned in the results. Used when paginating forward.`})}),_jsx(ParamField,{path:`hasNextPage`,type:`Boolean`,required:true,id:`param-has-next-page-7`,children:_jsx(_components.p,{children:`A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.`})}),_jsx(ParamField,{path:`hasPreviousPage`,type:`Boolean`,required:true,id:`param-has-previous-page-7`,children:_jsx(_components.p,{children:`A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`updatedatapoolrecordsjob`,children:`updateDataPoolRecordsJob`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-58`,children:[_jsx(_components.p,{children:`Returns the UpdateDataPoolRecords Job specified by the given ID.`}),_jsx(_components.p,{children:`The UpdateDataPoolRecords Job represents the asynchronous process of updating\nrecords inside a Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-83`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-77`}),_jsx(Heading,{level:`3`,id:`returns-33`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`UpdateDataPoolRecordsJob`})]}),_jsxs(Expandable,{title:`UpdateDataPoolRecordsJob`,children:[_jsx(_components.p,{children:`UpdateDataPoolRecords Job scheduled for a specific Data Pool.\nThe Update Data Pool Records Job represents the asynchronous process of updating records\ngiven some filters, inside a Data Pool. It tracks the process of updating records\nuntil it is finished, showing the progress and the outcome when it is finished.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-78`,children:_jsx(_components.p,{children:`The UpdateDataPoolRecords Job’s ID`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-42`,children:_jsx(_components.p,{children:`The UpdateDataPoolRecords Job’s creation date and time in UTC`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-42`,children:_jsx(_components.p,{children:`Who created the UpdateDataPoolRecords Job`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-41`,children:_jsx(_components.p,{children:`The UpdateDataPoolRecords Job’s last modification date and time in UTC`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,required:true,id:`param-modified-by-41`,children:_jsx(_components.p,{children:`Who last modified the UpdateDataPoolRecords Job`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-33`,children:[_jsx(_components.p,{children:`Account to which the UpdateDataPoolRecords Job belongs`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-79`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-18`,children:[_jsx(_components.p,{children:`Environment to which the UpdateDataPoolRecords Job belongs`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-80`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-33`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-32`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-43`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-42`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-43`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-42`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-34`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`dataPool`,type:`DataPool`,required:true,id:`param-data-pool-9`,children:_jsxs(_components.p,{children:[`The Data Pool whose records will be updated by the UpdateDataPoolRecords Job\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#datapool`,children:`DataPool`})]})}),_jsxs(ParamField,{path:`status`,type:`JobStatus`,required:true,id:`param-status-25`,children:[_jsx(_components.p,{children:`The current UpdateDataPoolRecords Job’s status`}),_jsx(Expandable,{title:`JobStatus`,children:_jsx(ParamField,{path:` `,id:`param-59`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Job was created, but is not yet being executed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`IN_PROGRESS`}),`: The Job is executing.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUCCEEDED`}),`: The Job succeeded.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),`: The Job failed. Check the error message.`]}),`\n`]})})})]}),_jsx(ParamField,{path:`filterSql`,type:`String`,id:`param-filter-sql-15`,children:_jsx(_components.p,{children:`The filters that will be used for updating data, in the form of SQL. Data matching the filters will be updated.`})}),_jsxs(ParamField,{path:`set`,type:`[UpdateDataPoolRecordsJobSetColumn!]`,required:true,id:`param-set`,children:[_jsx(_components.p,{children:`Describes how the job will update the records.`}),_jsxs(Expandable,{title:`UpdateDataPoolRecordsJobSetColumn`,children:[_jsx(_components.p,{children:`The fields for creating an Update Data Pool Records Job.`}),_jsx(CodeBlock,{numberOfLines:`15`,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:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"column\": \"status\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"expression\": \"'completed'\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"column\": \"counter\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"expression\": \"counter + 1\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"column\": \"full_name\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`\"expression\": \"concat(first_name, ' ', last_name)\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(ParamField,{path:`column`,type:`String`,required:true,id:`param-column-8`,children:_jsx(_components.p,{children:`The name of the column to update.`})}),_jsx(ParamField,{path:`expression`,type:`String`,required:true,id:`param-expression-2`,children:_jsx(_components.p,{children:`The value to which the column will be updated. Once evaluated, it should be of the same data type as the column.`})})]})]}),_jsxs(ParamField,{path:`error`,type:`Error`,id:`param-error-14`,children:[_jsx(_components.p,{children:`The error that occurred while updating data, if any.`}),_jsxs(Expandable,{title:`Error`,children:[_jsx(_components.p,{children:`The error object.`}),_jsx(ParamField,{path:`code`,type:`Int`,id:`param-code-8`,children:_jsx(_components.p,{children:`The error code.`})}),_jsx(ParamField,{path:`message`,type:`String`,required:true,id:`param-message-8`,children:_jsx(_components.p,{children:`The error message.`})})]})]}),_jsx(ParamField,{path:`progress`,type:`Float`,required:true,id:`param-progress-3`,children:_jsx(_components.p,{children:`The current progress of the UpdateDataPoolRecords Job, from 0.0 to 1.0.`})}),_jsx(ParamField,{path:`startedAt`,type:`DateTime`,id:`param-started-at-3`,children:_jsx(_components.p,{children:`The time at which the UpdateDataPoolRecords Job started.`})}),_jsx(ParamField,{path:`succeededAt`,type:`DateTime`,id:`param-succeeded-at-3`,children:_jsx(_components.p,{children:`The time at which the UpdateDataPoolRecords Job succeeded.`})}),_jsx(ParamField,{path:`failedAt`,type:`DateTime`,id:`param-failed-at-3`,children:_jsx(_components.p,{children:`The time at which the UpdateDataPoolRecords Job failed.`})}),_jsx(Expandable,{title:`Deprecated Fields`,children:_jsxs(ParamField,{path:`filters`,type:`[Filter!]`,deprecated:true,id:`param-filters-14`,children:[_jsx(_components.p,{children:`The list of filters that will be used for updating data. Data matching the filters will be updated.`}),_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-9`,children:_jsx(_components.p,{children:`The name of the column to filter on.`})}),_jsxs(ParamField,{path:`operator`,type:`FilterOperator`,required:true,id:`param-operator-8`,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-12`,children:_jsx(_components.p,{children:`The value to compare the column to.`})}),_jsx(ParamField,{path:`and`,type:`[Filter!]`,id:`param-and-8`,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-8`,children:_jsx(_components.p,{children:`Additional filters to OR with this one. AND takes precedence over OR.`})})]})]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`updatedatapoolrecordsjobbystatus`,children:`updateDataPoolRecordsJobByStatus`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-60`,children:[_jsx(_components.p,{children:`Returns the UpdateDataPoolRecords Job specified by a given status.`}),_jsx(Heading,{level:`3`,id:`arguments-84`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`status`,type:`JobStatus`,required:true,id:`param-status-26`,children:_jsx(Expandable,{title:`JobStatus`,children:_jsx(ParamField,{path:` `,id:`param-61`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`CREATED`}),`: The Job was created, but is not yet being executed.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`IN_PROGRESS`}),`: The Job is executing.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`SUCCEEDED`}),`: The Job succeeded.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`FAILED`}),`: The Job failed. Check the error message.`]}),`\n`]})})})}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-50`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-50`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-50`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-50`}),_jsx(Heading,{level:`3`,id:`returns-34`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Non-null`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`UpdateDataPoolRecordsJobConnection`})]}),_jsxs(Expandable,{title:`UpdateDataPoolRecordsJobConnection`,children:[_jsx(_components.p,{children:`The Update Data Pool records Job connection object.`}),_jsxs(_components.p,{children:[`Learn more about `,_jsx(_components.a,{href:`https://www.propeldata.com/docs/api/pagination`,children:`pagination in GraphQL`}),`.`]}),_jsx(ParamField,{path:`edges`,type:`[UpdateDataPoolRecordsJobEdge!]`,required:true,id:`param-edges-15`,children:_jsxs(_components.p,{children:[`The Update Data Pool records Job connection’s edges.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#updatedatapoolrecordsjobedge`,children:`UpdateDataPoolRecordsJobEdge`})]})}),_jsx(ParamField,{path:`nodes`,type:`[UpdateDataPoolRecordsJob!]`,required:true,id:`param-nodes-15`,children:_jsxs(_components.p,{children:[`The Update Data Pool records Job connection’s nodes.\nSee `,_jsx(_components.a,{href:`/docs/management-api/types#updatedatapoolrecordsjob`,children:`UpdateDataPoolRecordsJob`})]})}),_jsxs(ParamField,{path:`pageInfo`,type:`PageInfo`,required:true,id:`param-page-info-15`,children:[_jsx(_components.p,{children:`The Update Data Pool records Job connection’s page info.`}),_jsxs(Expandable,{title:`PageInfo`,children:[_jsx(_components.p,{children:`The page info object used for pagination.`}),_jsx(ParamField,{path:`startCursor`,type:`String`,id:`param-start-cursor-8`,children:_jsx(_components.p,{children:`Points to the first item returned in the results. Used when paginating backward.`})}),_jsx(ParamField,{path:`endCursor`,type:`String`,id:`param-end-cursor-8`,children:_jsx(_components.p,{children:`Points to the last item returned in the results. Used when paginating forward.`})}),_jsx(ParamField,{path:`hasNextPage`,type:`Boolean`,required:true,id:`param-has-next-page-8`,children:_jsx(_components.p,{children:`A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.`})}),_jsx(ParamField,{path:`hasPreviousPage`,type:`Boolean`,required:true,id:`param-has-previous-page-8`,children:_jsx(_components.p,{children:`A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.`})})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`materializedview`,children:`materializedView`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-62`,children:[_jsx(_components.p,{children:`Returns the Materialized View specified by the given ID.`}),_jsx(Heading,{level:`3`,id:`arguments-85`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`id`,type:`ID`,required:true,id:`param-id-81`}),_jsx(Heading,{level:`3`,id:`returns-35`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MaterializedView`})]}),_jsxs(Expandable,{title:`MaterializedView`,children:[_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-82`,children:_jsx(_components.p,{children:`The Materialized View’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-34`,children:_jsx(_components.p,{children:`The Materialized View’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-33`,children:_jsx(_components.p,{children:`The Materialized View’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-35`,children:[_jsx(_components.p,{children:`The Materialized View’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-83`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-19`,children:[_jsx(_components.p,{children:`The Materialized View’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-84`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-35`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-34`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-44`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-43`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-44`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-43`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-36`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-45`,children:_jsx(_components.p,{children:`The Materialized View’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-44`,children:_jsx(_components.p,{children:`The Materialized View’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-45`,children:_jsx(_components.p,{children:`The Materialized View’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-44`,children:_jsx(_components.p,{children:`The Materialized View’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-9`,children:_jsx(_components.p,{children:`The SQL that the Materialized View executes.`})}),_jsxs(ParamField,{path:`destination`,type:`DataPool`,required:true,id:`param-destination-1`,children:[_jsx(_components.p,{children:`The Materialized View’s destination (AKA “target”) Data Pool.`}),_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-85`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-36`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-35`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-37`,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-20`,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-46`,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-45`,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-46`,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-45`,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-4`,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-27`,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-2`,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-2`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-11`,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-3`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-3`,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-9`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-86`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-51`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-51`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-51`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-51`}),_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-3`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-87`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-52`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-52`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-52`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-52`}),_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-2`,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-2`,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-2`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-88`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-2`,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-53`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-53`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-53`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-53`}),_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-3`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-89`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-54`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-54`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-54`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-54`}),_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-2`,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-90`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-55`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-55`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-55`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-55`}),_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-2`,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-91`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-56`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-56`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-56`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-56`}),_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-2`,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-92`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-57`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-57`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-57`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-57`}),_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-5`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-93`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-58`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-58`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-58`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-58`}),_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-2`,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-94`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-3`}),_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-2`,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-2`,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-2`,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-2`,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-15`,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-2`,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-2`,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(ParamField,{path:`source`,type:`DataPool`,id:`param-source-1`,children:[_jsx(_components.p,{children:`The Materialized View’s source Data Pool.`}),_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-86`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-37`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-36`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-38`,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-21`,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-47`,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-46`,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-47`,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-46`,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-5`,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-28`,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-3`,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-3`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-12`,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-4`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-4`,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-10`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-95`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-59`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-59`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-59`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-59`}),_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-4`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-96`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-60`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-60`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-60`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-60`}),_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-3`,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-3`,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-3`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-97`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-3`,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-61`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-61`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-61`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-61`}),_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-4`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-98`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-62`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-62`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-62`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-62`}),_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-3`,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-99`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-63`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-63`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-63`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-63`}),_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-3`,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-100`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-64`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-64`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-64`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-64`}),_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-3`,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-101`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-65`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-65`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-65`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-65`}),_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-5`,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-6`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-102`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-66`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-66`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-66`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-66`}),_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-3`,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-103`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-4`}),_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-3`,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-3`,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-3`,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-3`,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-16`,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-3`,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-3`,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(ParamField,{path:`others`,type:`[DataPool!]`,required:true,id:`param-others-1`,children:[_jsx(_components.p,{children:`Other Data Pools queried by the Materialized View.`}),_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-87`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-38`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-37`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-39`,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-22`,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-48`,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-47`,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-48`,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-47`,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-6`,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-29`,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-4`,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-4`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-13`,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-5`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-5`,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-11`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-104`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-67`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-67`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-67`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-67`}),_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-5`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-105`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-68`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-68`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-68`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-68`}),_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-4`,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-4`,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-4`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-106`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-4`,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-69`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-69`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-69`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-69`}),_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-5`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-107`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-70`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-70`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-70`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-70`}),_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-4`,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-108`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-71`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-71`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-71`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-71`}),_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-4`,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-109`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-72`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-72`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-72`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-72`}),_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-4`,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-110`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-73`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-73`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-73`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-73`}),_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-6`,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-7`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-111`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-74`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-74`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-74`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-74`}),_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-4`,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-112`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-5`}),_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-4`,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-4`,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-4`,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-17`,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-4`,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-4`,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`})]})]})]})]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`materializedviewbyname`,children:`materializedViewByName`}),`\n`,_jsxs(ParamField,{path:` `,id:`param-63`,children:[_jsx(_components.p,{children:`Returns the Materialized View specified by its unique name.`}),_jsx(Heading,{level:`3`,id:`arguments-113`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-39`}),_jsx(Heading,{level:`3`,id:`returns-36`,children:`Returns`}),_jsxs(`div`,{class:`return-label mint-flex mint-items-center mint-gap-2 mint-font-mono mint-text-sm`,children:[_jsx(`span`,{style:{fontWeight:700},children:`Nullable`}),_jsx(`div`,{class:`mint-px-2 mint-py-0.5 mint-rounded-md mint-bg-gray-100/50 dark:mint-bg-white/5 mint-text-gray-600 dark:mint-text-gray-200 mint-text-xs mint-font-medium`,children:`MaterializedView`})]}),_jsxs(Expandable,{title:`MaterializedView`,children:[_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-88`,children:_jsx(_components.p,{children:`The Materialized View’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-40`,children:_jsx(_components.p,{children:`The Materialized View’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-38`,children:_jsx(_components.p,{children:`The Materialized View’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-40`,children:[_jsx(_components.p,{children:`The Materialized View’s Account.`}),_jsxs(Expandable,{title:`Account`,children:[_jsx(_components.p,{children:`The Account object.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-89`,children:_jsx(_components.p,{children:`The Account’s unique identifier.`})})]})]}),_jsxs(ParamField,{path:`environment`,type:`Environment`,required:true,id:`param-environment-23`,children:[_jsx(_components.p,{children:`The Materialized View’s Environment.`}),_jsxs(Expandable,{title:`Environment`,children:[_jsx(_components.p,{children:`The Environments object.`}),_jsx(_components.p,{children:`Environments are independent and isolated Propel workspaces for development, staging (testing), and production workloads. Environments are hosted in a specific region, initially in us-east-2 only.`}),_jsx(ParamField,{path:`id`,type:`ID`,required:true,id:`param-id-90`,children:_jsx(_components.p,{children:`The Environment’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,id:`param-unique-name-41`,children:_jsx(_components.p,{children:`The Environment’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,id:`param-description-39`,children:_jsx(_components.p,{children:`The Environment’s description.`})}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,id:`param-created-at-49`,children:_jsx(_components.p,{children:`The Environment’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,id:`param-modified-at-48`,children:_jsx(_components.p,{children:`The Environment’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,id:`param-created-by-49`,children:_jsx(_components.p,{children:`The Environment’s creator. It can be either a User ID, an Environment ID, or “system” if it was created by Propel.`})}),_jsx(ParamField,{path:`modifiedBy`,type:`String`,id:`param-modified-by-48`,children:_jsx(_components.p,{children:`The Environment’s last modifier. It can be either a User ID, an Environment ID, or “system” if it was modified by Propel.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,id:`param-account-41`,children:[_jsx(_components.p,{children:`The Environment’s Account.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/docs/management-api/types#account`,children:`Account`})]})]})]})]}),_jsx(ParamField,{path:`createdAt`,type:`DateTime`,required:true,id:`param-created-at-50`,children:_jsx(_components.p,{children:`The Materialized View’s creation date and time in UTC.`})}),_jsx(ParamField,{path:`modifiedAt`,type:`DateTime`,required:true,id:`param-modified-at-49`,children:_jsx(_components.p,{children:`The Materialized View’s last modification date and time in UTC.`})}),_jsx(ParamField,{path:`createdBy`,type:`String`,required:true,id:`param-created-by-50`,children:_jsx(_components.p,{children:`The Materialized View’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-49`,children:_jsx(_components.p,{children:`The Materialized View’s last modifier. It can be either a User ID, an Application ID, or “system” if it was modified by Propel.`})}),_jsx(ParamField,{path:`sql`,type:`String`,required:true,id:`param-sql-10`,children:_jsx(_components.p,{children:`The SQL that the Materialized View executes.`})}),_jsxs(ParamField,{path:`destination`,type:`DataPool`,required:true,id:`param-destination-2`,children:[_jsx(_components.p,{children:`The Materialized View’s destination (AKA “target”) Data Pool.`}),_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-91`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-42`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-40`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-42`,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-24`,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-51`,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-50`,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-51`,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-50`,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-7`,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-30`,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-5`,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-5`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-14`,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-6`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-6`,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-12`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-114`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-75`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-75`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-75`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-75`}),_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-6`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-115`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-76`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-76`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-76`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-76`}),_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-5`,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-5`,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-5`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-116`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-5`,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-77`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-77`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-77`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-77`}),_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-6`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-117`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-78`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-78`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-78`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-78`}),_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-5`,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-118`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-79`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-79`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-79`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-79`}),_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-5`,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-119`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-80`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-80`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-80`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-80`}),_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-5`,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-120`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-81`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-81`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-81`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-81`}),_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-7`,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-8`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-121`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-82`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-82`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-82`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-82`}),_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-5`,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-122`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-6`}),_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-5`,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-5`,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-5`,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-5`,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-18`,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-5`,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-5`,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(ParamField,{path:`source`,type:`DataPool`,id:`param-source-2`,children:[_jsx(_components.p,{children:`The Materialized View’s source Data Pool.`}),_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-92`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-43`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-41`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-43`,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-25`,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-52`,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-51`,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-52`,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-51`,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-8`,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-31`,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-6`,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-6`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-15`,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-7`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-7`,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-13`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-123`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-83`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-83`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-83`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-83`}),_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-7`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-124`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-84`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-84`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-84`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-84`}),_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-6`,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-6`,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-6`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-125`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-6`,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-85`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-85`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-85`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-85`}),_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-7`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-126`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-86`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-86`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-86`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-86`}),_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-6`,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-127`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-87`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-87`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-87`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-87`}),_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-6`,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-128`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-88`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-88`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-88`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-88`}),_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-6`,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-129`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-89`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-89`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-89`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-89`}),_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-8`,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-9`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-130`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-90`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-90`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-90`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-90`}),_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-6`,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-131`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-7`}),_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-6`,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-6`,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-6`,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-6`,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-19`,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-6`,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-6`,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(ParamField,{path:`others`,type:`[DataPool!]`,required:true,id:`param-others-2`,children:[_jsx(_components.p,{children:`Other Data Pools queried by the Materialized View.`}),_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-93`,children:_jsx(_components.p,{children:`The Data Pool’s unique identifier.`})}),_jsx(ParamField,{path:`uniqueName`,type:`String`,required:true,id:`param-unique-name-44`,children:_jsx(_components.p,{children:`The Data Pool’s unique name.`})}),_jsx(ParamField,{path:`description`,type:`String`,required:true,id:`param-description-42`,children:_jsx(_components.p,{children:`The Data Pool’s description.`})}),_jsxs(ParamField,{path:`account`,type:`Account`,required:true,id:`param-account-44`,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-26`,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-53`,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-52`,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-53`,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-52`,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-9`,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-32`,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-7`,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-7`,children:_jsx(_components.p,{children:`The name of the Data Pool’s table.`})}),_jsxs(ParamField,{path:`timestamp`,type:`Timestamp`,id:`param-timestamp-16`,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-8`,children:_jsx(_components.p,{children:`The number of records in the Data Pool.`})}),_jsx(ParamField,{path:`sizeInTerabytes`,type:`Float`,id:`param-size-in-terabytes-8`,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-14`,children:[_jsx(_components.p,{children:`The Data Pool’s columns.`}),_jsx(Heading,{level:`3`,id:`arguments-132`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-91`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-91`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-91`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-91`}),_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-8`,children:[_jsx(_components.p,{children:`The list of measures (numeric columns) in the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-133`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-92`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-92`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-92`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-92`}),_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-7`,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-7`,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-7`,children:[_jsx(_components.p,{children:`The list of Syncs of the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-134`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`filter`,type:`SyncsFilter`,id:`param-filter-7`,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-93`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-93`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-93`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-93`}),_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-8`,children:[_jsx(_components.p,{children:`The list of Metrics powered by the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-135`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-94`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-94`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-94`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-94`}),_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-7`,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-136`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-95`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-95`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-95`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-95`}),_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-7`,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-137`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-96`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-96`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-96`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-96`}),_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-7`,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-138`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-97`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-97`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-97`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-97`}),_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-9`,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-10`,children:[_jsx(_components.p,{children:`A paginated list of Data Pool Access Policies available on the Data Pool.`}),_jsx(Heading,{level:`3`,id:`arguments-139`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`first`,type:`Int`,id:`param-first-98`}),_jsx(ParamField,{notPatch:true,path:`after`,type:`String`,id:`param-after-98`}),_jsx(ParamField,{notPatch:true,path:`last`,type:`Int`,id:`param-last-98`}),_jsx(ParamField,{notPatch:true,path:`before`,type:`String`,id:`param-before-98`}),_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-7`,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-140`,children:`Arguments`}),_jsx(ParamField,{notPatch:true,path:`expression`,type:`String`,required:true,id:`param-expression-8`}),_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-7`,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-7`,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-7`,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-7`,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-20`,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-7`,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-7`,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`})]})]})]})]})]})]})]})]})}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":"Queries","description":"Available queries in the Management API","icon":"magnifying-glass","href":"/docs/management-api/queries"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"application","slug":"application","depth":2,"children":[{"title":"Arguments","slug":"arguments","depth":3,"children":[]},{"title":"Returns","slug":"returns","depth":3,"children":[]}]},{"title":"applicationByName","slug":"applicationbyname","depth":2,"children":[{"title":"Arguments","slug":"arguments-4","depth":3,"children":[]},{"title":"Returns","slug":"returns-2","depth":3,"children":[]}]},{"title":"applications","slug":"applications","depth":2,"children":[{"title":"Arguments","slug":"arguments-7","depth":3,"children":[]},{"title":"Returns","slug":"returns-3","depth":3,"children":[]}]},{"title":"dataSource","slug":"datasource","depth":2,"children":[{"title":"Arguments","slug":"arguments-10","depth":3,"children":[]},{"title":"Returns","slug":"returns-4","depth":3,"children":[]}]},{"title":"dataSourceByName","slug":"datasourcebyname","depth":2,"children":[{"title":"Arguments","slug":"arguments-14","depth":3,"children":[]},{"title":"Returns","slug":"returns-5","depth":3,"children":[]}]},{"title":"dataSources","slug":"datasources","depth":2,"children":[{"title":"Arguments","slug":"arguments-18","depth":3,"children":[]},{"title":"Returns","slug":"returns-6","depth":3,"children":[]}]},{"title":"dataPool","slug":"datapool","depth":2,"children":[{"title":"Arguments","slug":"arguments-22","depth":3,"children":[]},{"title":"Returns","slug":"returns-7","depth":3,"children":[]}]},{"title":"dataPoolByName","slug":"datapoolbyname","depth":2,"children":[{"title":"Arguments","slug":"arguments-32","depth":3,"children":[]},{"title":"Returns","slug":"returns-8","depth":3,"children":[]}]},{"title":"dataPools","slug":"datapools","depth":2,"children":[{"title":"Arguments","slug":"arguments-42","depth":3,"children":[]},{"title":"Returns","slug":"returns-9","depth":3,"children":[]}]},{"title":"environment","slug":"environment","depth":2,"children":[{"title":"Arguments","slug":"arguments-43","depth":3,"children":[]},{"title":"Returns","slug":"returns-10","depth":3,"children":[]}]},{"title":"materializedViews","slug":"materializedviews","depth":2,"children":[{"title":"Arguments","slug":"arguments-44","depth":3,"children":[]},{"title":"Returns","slug":"returns-11","depth":3,"children":[]}]},{"title":"dataPoolAccessPolicy","slug":"datapoolaccesspolicy","depth":2,"children":[{"title":"Arguments","slug":"arguments-45","depth":3,"children":[]},{"title":"Returns","slug":"returns-12","depth":3,"children":[]}]},{"title":"metric","slug":"metric","depth":2,"children":[{"title":"Arguments","slug":"arguments-47","depth":3,"children":[]},{"title":"Returns","slug":"returns-13","depth":3,"children":[]}]},{"title":"metricByName","slug":"metricbyname","depth":2,"children":[{"title":"Arguments","slug":"arguments-53","depth":3,"children":[]},{"title":"Returns","slug":"returns-14","depth":3,"children":[]}]},{"title":"metrics","slug":"metrics","depth":2,"children":[{"title":"Arguments","slug":"arguments-59","depth":3,"children":[]},{"title":"Returns","slug":"returns-15","depth":3,"children":[]}]},{"title":"booster","slug":"booster","depth":2,"children":[{"title":"Arguments","slug":"arguments-60","depth":3,"children":[]},{"title":"Returns","slug":"returns-16","depth":3,"children":[]}]},{"title":"policy","slug":"policy","depth":2,"children":[{"title":"Arguments","slug":"arguments-61","depth":3,"children":[]},{"title":"Returns","slug":"returns-17","depth":3,"children":[]}]},{"title":"sync","slug":"sync","depth":2,"children":[{"title":"Arguments","slug":"arguments-62","depth":3,"children":[]},{"title":"Returns","slug":"returns-18","depth":3,"children":[]}]},{"title":"table","slug":"table","depth":2,"children":[{"title":"Arguments","slug":"arguments-66","depth":3,"children":[]},{"title":"Returns","slug":"returns-19","depth":3,"children":[]}]},{"title":"metricReport","slug":"metricreport","depth":2,"children":[{"title":"Arguments","slug":"arguments-70","depth":3,"children":[]},{"title":"Returns","slug":"returns-20","depth":3,"children":[]}]},{"title":"sqlV1","slug":"sqlv1","depth":2,"children":[{"title":"Arguments","slug":"arguments-71","depth":3,"children":[]},{"title":"Returns","slug":"returns-21","depth":3,"children":[]}]},{"title":"describeSqlV1","slug":"describesqlv1","depth":2,"children":[{"title":"Arguments","slug":"arguments-72","depth":3,"children":[]},{"title":"Returns","slug":"returns-22","depth":3,"children":[]}]},{"title":"dataGrid","slug":"datagrid","depth":2,"children":[{"title":"Arguments","slug":"arguments-73","depth":3,"children":[]},{"title":"Returns","slug":"returns-23","depth":3,"children":[]}]},{"title":"recordsByUniqueId","slug":"recordsbyuniqueid","depth":2,"children":[{"title":"Arguments","slug":"arguments-74","depth":3,"children":[]},{"title":"Returns","slug":"returns-24","depth":3,"children":[]}]},{"title":"topValues","slug":"topvalues","depth":2,"children":[{"title":"Arguments","slug":"arguments-75","depth":3,"children":[]},{"title":"Returns","slug":"returns-25","depth":3,"children":[]}]},{"title":"counter","slug":"counter","depth":2,"children":[{"title":"Arguments","slug":"arguments-76","depth":3,"children":[]},{"title":"Returns","slug":"returns-26","depth":3,"children":[]}]},{"title":"counters","slug":"counters","depth":2,"children":[{"title":"Arguments","slug":"arguments-77","depth":3,"children":[]},{"title":"Returns","slug":"returns-27","depth":3,"children":[]}]},{"title":"timeSeries","slug":"timeseries","depth":2,"children":[{"title":"Arguments","slug":"arguments-78","depth":3,"children":[]},{"title":"Returns","slug":"returns-28","depth":3,"children":[]}]},{"title":"leaderboard","slug":"leaderboard","depth":2,"children":[{"title":"Arguments","slug":"arguments-79","depth":3,"children":[]},{"title":"Returns","slug":"returns-29","depth":3,"children":[]}]},{"title":"deletionJob","slug":"deletionjob","depth":2,"children":[{"title":"Arguments","slug":"arguments-80","depth":3,"children":[]},{"title":"Returns","slug":"returns-30","depth":3,"children":[]}]},{"title":"addColumnToDataPoolJob","slug":"addcolumntodatapooljob","depth":2,"children":[{"title":"Arguments","slug":"arguments-81","depth":3,"children":[]},{"title":"Returns","slug":"returns-31","depth":3,"children":[]}]},{"title":"addColumnToDataPoolJobByStatus","slug":"addcolumntodatapooljobbystatus","depth":2,"children":[{"title":"Arguments","slug":"arguments-82","depth":3,"children":[]},{"title":"Returns","slug":"returns-32","depth":3,"children":[]}]},{"title":"updateDataPoolRecordsJob","slug":"updatedatapoolrecordsjob","depth":2,"children":[{"title":"Arguments","slug":"arguments-83","depth":3,"children":[]},{"title":"Returns","slug":"returns-33","depth":3,"children":[]}]},{"title":"updateDataPoolRecordsJobByStatus","slug":"updatedatapoolrecordsjobbystatus","depth":2,"children":[{"title":"Arguments","slug":"arguments-84","depth":3,"children":[]},{"title":"Returns","slug":"returns-34","depth":3,"children":[]}]},{"title":"materializedView","slug":"materializedview","depth":2,"children":[{"title":"Arguments","slug":"arguments-85","depth":3,"children":[]},{"title":"Returns","slug":"returns-35","depth":3,"children":[]}]},{"title":"materializedViewByName","slug":"materializedviewbyname","depth":2,"children":[{"title":"Arguments","slug":"arguments-113","depth":3,"children":[]},{"title":"Returns","slug":"returns-36","depth":3,"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"],"dynamicCss":".mint-flex {\n display: flex\n}\n.mint-items-center {\n align-items: center\n}\n.mint-gap-2 {\n gap: 0.5rem\n}\n.mint-rounded-md {\n border-radius: 0.375rem\n}\n.mint-bg-gray-100\\/50 {\n background-color: rgb(243 244 246 / 0.5)\n}\n.mint-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem\n}\n.mint-py-0\\.5 {\n padding-top: 0.125rem;\n padding-bottom: 0.125rem\n}\n.mint-font-mono {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace\n}\n.mint-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem\n}\n.mint-text-xs {\n font-size: 0.75rem;\n line-height: 1rem\n}\n.mint-font-medium {\n font-weight: 500\n}\n.mint-text-gray-600 {\n --tw-text-opacity: 1;\n color: rgb(75 85 99 / var(--tw-text-opacity, 1))\n}\n.dark\\:mint-bg-white\\/5:is(.dark *) {\n background-color: rgb(255 255 255 / 0.05)\n}\n.dark\\:mint-text-gray-200:is(.dark *) {\n --tw-text-opacity: 1;\n color: rgb(229 231 235 / var(--tw-text-opacity, 1))\n}","subdomain":"propeldocs","siteName":"Propel docs","title":"Queries - Propel docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T03:51:15.804Z","originalFileLocation":"docs/management-api/queries.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=\"Available queries 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=\"Queries - Propel docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Available queries 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/queries\">\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=Queries\u0026amp;description=Available+queries+in+the+Management+API\u0026amp;theme=f9dc867360e0a88fa037a043\u0026amp;signature=d93686bc8d883a7f5f30060166003f126ecabd3f31192b37a322e71831248130\">\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=\"Queries - Propel docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Available queries 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=Queries\u0026amp;description=Available+queries+in+the+Management+API\u0026amp;theme=f9dc867360e0a88fa037a043\u0026amp;signature=d93686bc8d883a7f5f30060166003f126ecabd3f31192b37a322e71831248130\">\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/queries\">\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/queries.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/queries#webpage\",\"url\":\"https://www.propeldata.com/docs/management-api/queries\",\"name\":\"Queries\",\"description\":\"Available queries in the Management API\",\"dateModified\":\"2026-01-07T03:51:15.804Z\",\"isPartOf\":{\"@id\":\"https://www.propeldata.com#website\"},\"breadcrumb\":{\"@id\":\"https://www.propeldata.com/docs/management-api/queries#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.propeldata.com/docs/management-api/queries#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Propel docs\",\"item\":\"https://www.propeldata.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Queries\",\"item\":\"https://www.propeldata.com/docs/management-api/queries\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.propeldata.com/docs/management-api/queries#article\",\"headline\":\"Queries\",\"name\":\"Queries\",\"description\":\"Available queries in the Management API\",\"url\":\"https://www.propeldata.com/docs/management-api/queries\",\"mainEntityOfPage\":{\"@id\":\"https://www.propeldata.com/docs/management-api/queries#webpage\"},\"dateModified\":\"2026-01-07T03:51:15.804Z\",\"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/queries.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","description":"Manage Propel resources via the API","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","description":"Available mutations in the Management API","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","icon":"list","href":"/docs/management-api/enums"},{"title":"Unions","icon":"code-merge","href":"/docs/management-api/unions"},{"title":"Scalars","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":"Queries - Propel docs","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}