billingTriggerConfigurations
Query billing trigger configurations for a specific target. By default returns only active configurations. Specify effective_from/effective_to for time range filtering. Use include_children=true on parent target to get configurations for all child targets.
Arguments
Start of the time range to query configurations for.
End of the time range to query configurations for.
Include all child targets of the specified target.
The target to query configurations for.
Returns
BillingTriggerConfigurationsConnectionPagination object for billing trigger configurations.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
- KT-CT-9706: Invalid billing trigger target input.
- KT-CT-9707: includeChildren cannot be used with effectiveFrom or effectiveTo parameters.
- KT-CT-9708: Both effectiveFrom and effectiveTo must be provided to filter by period.
Allowed Viewers
Required Permissions
Can query billing informationQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query BillingTriggerConfigurations(
$after: String,
$before: String,
$effectiveFrom: DateTime,
$effectiveTo: DateTime,
$first: Int,
$includeChildren: Boolean,
$last: Int,
$target: TargetInput!
) {
billingTriggerConfigurations(
after: $after,
before: $before,
effectiveFrom: $effectiveFrom,
effectiveTo: $effectiveTo,
first: $first,
includeChildren: $includeChildren,
last: $last,
target: $target
) {
edgeCount
edges {
...BillingTriggerConfigurationsEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"effectiveFrom": "1991-09-28T18:57:35.232404+00:00",
"effectiveTo": "2011-06-15T08:28:28.895984+00:00",
"first": 10,
"includeChildren": true,
"last": 10,
"target": TargetInput
}
Response
{
"data": {
"billingTriggerConfigurations": {
"edgeCount": 41,
"edges": [BillingTriggerConfigurationsEdge],
"pageInfo": PageInfo,
"totalCount": 95
}
}
}