Class AccountUsageBetaApi


  • public class AccountUsageBetaApi
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      ApiClient getApiClient()  
      SeriesListRep getContextsClientsideUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get contexts clientside usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds.
      okhttp3.Call getContextsClientsideUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback<SeriesListRep> _callback)
      Get contexts clientside usage (asynchronously) Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds.
      okhttp3.Call getContextsClientsideUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback _callback)
      Build call for getContextsClientsideUsage
      ApiResponse<SeriesListRep> getContextsClientsideUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get contexts clientside usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds.
      SeriesListRep getContextsServersideUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get contexts serverside usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds.
      okhttp3.Call getContextsServersideUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback<SeriesListRep> _callback)
      Get contexts serverside usage (asynchronously) Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds.
      okhttp3.Call getContextsServersideUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback _callback)
      Build call for getContextsServersideUsage
      ApiResponse<SeriesListRep> getContextsServersideUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get contexts serverside usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds.
      SeriesListRep getContextsTotalUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String sdkType, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get contexts total usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds.
      okhttp3.Call getContextsTotalUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String sdkType, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback<SeriesListRep> _callback)
      Get contexts total usage (asynchronously) Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds.
      okhttp3.Call getContextsTotalUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String sdkType, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback _callback)
      Build call for getContextsTotalUsage
      ApiResponse<SeriesListRep> getContextsTotalUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String contextKind, java.lang.String sdkName, java.lang.String sdkType, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get contexts total usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds.
      java.lang.String getCustomBaseUrl()  
      SeriesListRep getDataExportEventsUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String eventKind, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get data export events usage Get a time series array showing the number of data export events from your account.
      okhttp3.Call getDataExportEventsUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String eventKind, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback<SeriesListRep> _callback)
      Get data export events usage (asynchronously) Get a time series array showing the number of data export events from your account.
      okhttp3.Call getDataExportEventsUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String eventKind, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback _callback)
      Build call for getDataExportEventsUsage
      ApiResponse<SeriesListRep> getDataExportEventsUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String eventKind, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get data export events usage Get a time series array showing the number of data export events from your account.
      SeriesListRep getEvaluationsUsage​(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String from, java.lang.String to, java.lang.String tz)
      Get evaluations usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      okhttp3.Call getEvaluationsUsageAsync​(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String from, java.lang.String to, java.lang.String tz, ApiCallback<SeriesListRep> _callback)
      Get evaluations usage (asynchronously) Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      okhttp3.Call getEvaluationsUsageCall​(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String from, java.lang.String to, java.lang.String tz, ApiCallback _callback)
      Build call for getEvaluationsUsage
      ApiResponse<SeriesListRep> getEvaluationsUsageWithHttpInfo​(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String featureFlagKey, java.lang.String from, java.lang.String to, java.lang.String tz)
      Get evaluations usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      SeriesListRep getEventsUsage​(java.lang.String type, java.lang.String from, java.lang.String to)
      Get events usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      okhttp3.Call getEventsUsageAsync​(java.lang.String type, java.lang.String from, java.lang.String to, ApiCallback<SeriesListRep> _callback)
      Get events usage (asynchronously) Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      okhttp3.Call getEventsUsageCall​(java.lang.String type, java.lang.String from, java.lang.String to, ApiCallback _callback)
      Build call for getEventsUsage
      ApiResponse<SeriesListRep> getEventsUsageWithHttpInfo​(java.lang.String type, java.lang.String from, java.lang.String to)
      Get events usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation.
      SeriesListRep getExperimentationEventsUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String eventKey, java.lang.String eventKind, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get experimentation events usage Get a time series array showing the number of experimentation events from your account.
      okhttp3.Call getExperimentationEventsUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String eventKey, java.lang.String eventKind, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback<SeriesListRep> _callback)
      Get experimentation events usage (asynchronously) Get a time series array showing the number of experimentation events from your account.
      okhttp3.Call getExperimentationEventsUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String eventKey, java.lang.String eventKind, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback _callback)
      Build call for getExperimentationEventsUsage
      ApiResponse<SeriesListRep> getExperimentationEventsUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String eventKey, java.lang.String eventKind, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get experimentation events usage Get a time series array showing the number of experimentation events from your account.
      SeriesListRep getExperimentationKeysUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String experimentId, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get experimentation keys usage Get a time series array showing the number of experimentation keys from your account.
      okhttp3.Call getExperimentationKeysUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String experimentId, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback<SeriesListRep> _callback)
      Get experimentation keys usage (asynchronously) Get a time series array showing the number of experimentation keys from your account.
      okhttp3.Call getExperimentationKeysUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String experimentId, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback _callback)
      Build call for getExperimentationKeysUsage
      ApiResponse<SeriesListRep> getExperimentationKeysUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String experimentId, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get experimentation keys usage Get a time series array showing the number of experimentation keys from your account.
      int getHostIndex()  
      SeriesListRep getMAUClientsideUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get MAU clientside usage Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only.
      okhttp3.Call getMAUClientsideUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback<SeriesListRep> _callback)
      Get MAU clientside usage (asynchronously) Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only.
      okhttp3.Call getMAUClientsideUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback _callback)
      Build call for getMAUClientsideUsage
      ApiResponse<SeriesListRep> getMAUClientsideUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkName, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get MAU clientside usage Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only.
      SdkListRep getMauSdksByType​(java.lang.String from, java.lang.String to, java.lang.String sdktype)
      Get MAU SDKs by type Get a list of SDKs.
      okhttp3.Call getMauSdksByTypeAsync​(java.lang.String from, java.lang.String to, java.lang.String sdktype, ApiCallback<SdkListRep> _callback)
      Get MAU SDKs by type (asynchronously) Get a list of SDKs.
      okhttp3.Call getMauSdksByTypeCall​(java.lang.String from, java.lang.String to, java.lang.String sdktype, ApiCallback _callback)
      Build call for getMauSdksByType
      ApiResponse<SdkListRep> getMauSdksByTypeWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String sdktype)
      Get MAU SDKs by type Get a list of SDKs.
      SeriesListRep getMAUTotalUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkName, java.lang.String sdkType, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get MAU total usage Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only.<br/><br/>For past months, this reflects the context kind that was most recently marked as primary for that month.
      okhttp3.Call getMAUTotalUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkName, java.lang.String sdkType, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback<SeriesListRep> _callback)
      Get MAU total usage (asynchronously) Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only.<br/><br/>For past months, this reflects the context kind that was most recently marked as primary for that month.
      okhttp3.Call getMAUTotalUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkName, java.lang.String sdkType, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback _callback)
      Build call for getMAUTotalUsage
      ApiResponse<SeriesListRep> getMAUTotalUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String sdkName, java.lang.String sdkType, java.lang.String anonymous, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get MAU total usage Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only.<br/><br/>For past months, this reflects the context kind that was most recently marked as primary for that month.
      SeriesListRep getMauUsage​(java.lang.String from, java.lang.String to, java.lang.String project, java.lang.String environment, java.lang.String sdktype, java.lang.String sdk, java.lang.String anonymous, java.lang.String groupby, java.lang.String aggregationType, java.lang.String contextKind)
      Deprecated. 
      okhttp3.Call getMauUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String project, java.lang.String environment, java.lang.String sdktype, java.lang.String sdk, java.lang.String anonymous, java.lang.String groupby, java.lang.String aggregationType, java.lang.String contextKind, ApiCallback<SeriesListRep> _callback)
      Deprecated. 
      SeriesListRep getMauUsageByCategory​(java.lang.String from, java.lang.String to)
      Deprecated. 
      okhttp3.Call getMauUsageByCategoryAsync​(java.lang.String from, java.lang.String to, ApiCallback<SeriesListRep> _callback)
      Deprecated. 
      okhttp3.Call getMauUsageByCategoryCall​(java.lang.String from, java.lang.String to, ApiCallback _callback)
      Deprecated. 
      ApiResponse<SeriesListRep> getMauUsageByCategoryWithHttpInfo​(java.lang.String from, java.lang.String to)
      Deprecated. 
      okhttp3.Call getMauUsageCall​(java.lang.String from, java.lang.String to, java.lang.String project, java.lang.String environment, java.lang.String sdktype, java.lang.String sdk, java.lang.String anonymous, java.lang.String groupby, java.lang.String aggregationType, java.lang.String contextKind, ApiCallback _callback)
      Deprecated. 
      ApiResponse<SeriesListRep> getMauUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String project, java.lang.String environment, java.lang.String sdktype, java.lang.String sdk, java.lang.String anonymous, java.lang.String groupby, java.lang.String aggregationType, java.lang.String contextKind)
      Deprecated. 
      SeriesListRep getObservabilityErrorsUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get observability errors usage Get time-series arrays of the number of observability errors.
      okhttp3.Call getObservabilityErrorsUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback<SeriesListRep> _callback)
      Get observability errors usage (asynchronously) Get time-series arrays of the number of observability errors.
      okhttp3.Call getObservabilityErrorsUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback _callback)
      Build call for getObservabilityErrorsUsage
      ApiResponse<SeriesListRep> getObservabilityErrorsUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get observability errors usage Get time-series arrays of the number of observability errors.
      SeriesListRep getObservabilityLogsUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get observability logs usage Get time-series arrays of the number of observability logs.
      okhttp3.Call getObservabilityLogsUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback<SeriesListRep> _callback)
      Get observability logs usage (asynchronously) Get time-series arrays of the number of observability logs.
      okhttp3.Call getObservabilityLogsUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback _callback)
      Build call for getObservabilityLogsUsage
      ApiResponse<SeriesListRep> getObservabilityLogsUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get observability logs usage Get time-series arrays of the number of observability logs.
      SeriesListRep getObservabilityMetricsUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get observability metrics usage Get time-series arrays of the number of observability metrics.
      okhttp3.Call getObservabilityMetricsUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback<SeriesListRep> _callback)
      Get observability metrics usage (asynchronously) Get time-series arrays of the number of observability metrics.
      okhttp3.Call getObservabilityMetricsUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback _callback)
      Build call for getObservabilityMetricsUsage
      ApiResponse<SeriesListRep> getObservabilityMetricsUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get observability metrics usage Get time-series arrays of the number of observability metrics.
      SeriesListRep getObservabilitySessionsUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get observability sessions usage Get time-series arrays of the number of observability sessions.
      okhttp3.Call getObservabilitySessionsUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback<SeriesListRep> _callback)
      Get observability sessions usage (asynchronously) Get time-series arrays of the number of observability sessions.
      okhttp3.Call getObservabilitySessionsUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback _callback)
      Build call for getObservabilitySessionsUsage
      ApiResponse<SeriesListRep> getObservabilitySessionsUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get observability sessions usage Get time-series arrays of the number of observability sessions.
      SeriesListRep getObservabilityTracesUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get observability traces usage Get time-series arrays of the number of observability traces.
      okhttp3.Call getObservabilityTracesUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback<SeriesListRep> _callback)
      Get observability traces usage (asynchronously) Get time-series arrays of the number of observability traces.
      okhttp3.Call getObservabilityTracesUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback _callback)
      Build call for getObservabilityTracesUsage
      ApiResponse<SeriesListRep> getObservabilityTracesUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get observability traces usage Get time-series arrays of the number of observability traces.
      SeriesListRepFloat getServiceConnectionsUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String connectionType, java.lang.String relayVersion, java.lang.String sdkName, java.lang.String sdkVersion, java.lang.String sdkType, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get service connections usage Get a time series array showing the number of service connection minutes from your account.
      okhttp3.Call getServiceConnectionsUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String connectionType, java.lang.String relayVersion, java.lang.String sdkName, java.lang.String sdkVersion, java.lang.String sdkType, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback<SeriesListRepFloat> _callback)
      Get service connections usage (asynchronously) Get a time series array showing the number of service connection minutes from your account.
      okhttp3.Call getServiceConnectionsUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String connectionType, java.lang.String relayVersion, java.lang.String sdkName, java.lang.String sdkVersion, java.lang.String sdkType, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity, ApiCallback _callback)
      Build call for getServiceConnectionsUsage
      ApiResponse<SeriesListRepFloat> getServiceConnectionsUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String environmentKey, java.lang.String connectionType, java.lang.String relayVersion, java.lang.String sdkName, java.lang.String sdkVersion, java.lang.String sdkType, java.lang.String groupBy, java.lang.String aggregationType, java.lang.String granularity)
      Get service connections usage Get a time series array showing the number of service connection minutes from your account.
      SeriesListRep getStreamUsage​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz)
      Get stream usage Get a time-series array of the number of streaming connections to LaunchDarkly in each time period.
      okhttp3.Call getStreamUsageAsync​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, ApiCallback<SeriesListRep> _callback)
      Get stream usage (asynchronously) Get a time-series array of the number of streaming connections to LaunchDarkly in each time period.
      SeriesListRep getStreamUsageBySdkVersion​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, java.lang.String sdk, java.lang.String version)
      Get stream usage by SDK version Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version.
      okhttp3.Call getStreamUsageBySdkVersionAsync​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, java.lang.String sdk, java.lang.String version, ApiCallback<SeriesListRep> _callback)
      Get stream usage by SDK version (asynchronously) Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version.
      okhttp3.Call getStreamUsageBySdkVersionCall​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, java.lang.String sdk, java.lang.String version, ApiCallback _callback)
      Build call for getStreamUsageBySdkVersion
      ApiResponse<SeriesListRep> getStreamUsageBySdkVersionWithHttpInfo​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, java.lang.String sdk, java.lang.String version)
      Get stream usage by SDK version Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version.
      okhttp3.Call getStreamUsageCall​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz, ApiCallback _callback)
      Build call for getStreamUsage
      SdkVersionListRep getStreamUsageSdkversion​(java.lang.String source)
      Get stream usage SDK versions Get a list of SDK version objects, which contain an SDK name and version.
      okhttp3.Call getStreamUsageSdkversionAsync​(java.lang.String source, ApiCallback<SdkVersionListRep> _callback)
      Get stream usage SDK versions (asynchronously) Get a list of SDK version objects, which contain an SDK name and version.
      okhttp3.Call getStreamUsageSdkversionCall​(java.lang.String source, ApiCallback _callback)
      Build call for getStreamUsageSdkversion
      ApiResponse<SdkVersionListRep> getStreamUsageSdkversionWithHttpInfo​(java.lang.String source)
      Get stream usage SDK versions Get a list of SDK version objects, which contain an SDK name and version.
      ApiResponse<SeriesListRep> getStreamUsageWithHttpInfo​(java.lang.String source, java.lang.String from, java.lang.String to, java.lang.String tz)
      Get stream usage Get a time-series array of the number of streaming connections to LaunchDarkly in each time period.
      SeriesListRep getVegaAIUsage​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get Vega AI usage Get time-series arrays of the number of Vega AI usage.
      okhttp3.Call getVegaAIUsageAsync​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback<SeriesListRep> _callback)
      Get Vega AI usage (asynchronously) Get time-series arrays of the number of Vega AI usage.
      okhttp3.Call getVegaAIUsageCall​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType, ApiCallback _callback)
      Build call for getVegaAIUsage
      ApiResponse<SeriesListRep> getVegaAIUsageWithHttpInfo​(java.lang.String from, java.lang.String to, java.lang.String projectKey, java.lang.String granularity, java.lang.String aggregationType)
      Get Vega AI usage Get time-series arrays of the number of Vega AI usage.
      void setApiClient​(ApiClient apiClient)  
      void setCustomBaseUrl​(java.lang.String customBaseUrl)  
      void setHostIndex​(int hostIndex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AccountUsageBetaApi

        public AccountUsageBetaApi()
      • AccountUsageBetaApi

        public AccountUsageBetaApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public java.lang.String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(java.lang.String customBaseUrl)
      • getContextsClientsideUsageCall

        public okhttp3.Call getContextsClientsideUsageCall​(@Nullable
                                                           java.lang.String from,
                                                           @Nullable
                                                           java.lang.String to,
                                                           @Nullable
                                                           java.lang.String projectKey,
                                                           @Nullable
                                                           java.lang.String environmentKey,
                                                           @Nullable
                                                           java.lang.String contextKind,
                                                           @Nullable
                                                           java.lang.String sdkName,
                                                           @Nullable
                                                           java.lang.String anonymous,
                                                           @Nullable
                                                           java.lang.String groupBy,
                                                           @Nullable
                                                           java.lang.String aggregationType,
                                                           @Nullable
                                                           java.lang.String granularity,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for getContextsClientsideUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getContextsClientsideUsage

        public SeriesListRep getContextsClientsideUsage​(@Nullable
                                                        java.lang.String from,
                                                        @Nullable
                                                        java.lang.String to,
                                                        @Nullable
                                                        java.lang.String projectKey,
                                                        @Nullable
                                                        java.lang.String environmentKey,
                                                        @Nullable
                                                        java.lang.String contextKind,
                                                        @Nullable
                                                        java.lang.String sdkName,
                                                        @Nullable
                                                        java.lang.String anonymous,
                                                        @Nullable
                                                        java.lang.String groupBy,
                                                        @Nullable
                                                        java.lang.String aggregationType,
                                                        @Nullable
                                                        java.lang.String granularity)
                                                 throws ApiException
        Get contexts clientside usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds. Use this for breakdowns that go beyond the primary-only aggregation of MAU endpoints. The counts reflect data reported by client-side SDKs.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getContextsClientsideUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getContextsClientsideUsageWithHttpInfo​(@Nullable
                                                                                 java.lang.String from,
                                                                                 @Nullable
                                                                                 java.lang.String to,
                                                                                 @Nullable
                                                                                 java.lang.String projectKey,
                                                                                 @Nullable
                                                                                 java.lang.String environmentKey,
                                                                                 @Nullable
                                                                                 java.lang.String contextKind,
                                                                                 @Nullable
                                                                                 java.lang.String sdkName,
                                                                                 @Nullable
                                                                                 java.lang.String anonymous,
                                                                                 @Nullable
                                                                                 java.lang.String groupBy,
                                                                                 @Nullable
                                                                                 java.lang.String aggregationType,
                                                                                 @Nullable
                                                                                 java.lang.String granularity)
                                                                          throws ApiException
        Get contexts clientside usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds. Use this for breakdowns that go beyond the primary-only aggregation of MAU endpoints. The counts reflect data reported by client-side SDKs.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getContextsClientsideUsageAsync

        public okhttp3.Call getContextsClientsideUsageAsync​(@Nullable
                                                            java.lang.String from,
                                                            @Nullable
                                                            java.lang.String to,
                                                            @Nullable
                                                            java.lang.String projectKey,
                                                            @Nullable
                                                            java.lang.String environmentKey,
                                                            @Nullable
                                                            java.lang.String contextKind,
                                                            @Nullable
                                                            java.lang.String sdkName,
                                                            @Nullable
                                                            java.lang.String anonymous,
                                                            @Nullable
                                                            java.lang.String groupBy,
                                                            @Nullable
                                                            java.lang.String aggregationType,
                                                            @Nullable
                                                            java.lang.String granularity,
                                                            ApiCallback<SeriesListRep> _callback)
                                                     throws ApiException
        Get contexts clientside usage (asynchronously) Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds. Use this for breakdowns that go beyond the primary-only aggregation of MAU endpoints. The counts reflect data reported by client-side SDKs.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getContextsServersideUsageCall

        public okhttp3.Call getContextsServersideUsageCall​(@Nullable
                                                           java.lang.String from,
                                                           @Nullable
                                                           java.lang.String to,
                                                           @Nullable
                                                           java.lang.String projectKey,
                                                           @Nullable
                                                           java.lang.String environmentKey,
                                                           @Nullable
                                                           java.lang.String contextKind,
                                                           @Nullable
                                                           java.lang.String sdkName,
                                                           @Nullable
                                                           java.lang.String anonymous,
                                                           @Nullable
                                                           java.lang.String groupBy,
                                                           @Nullable
                                                           java.lang.String aggregationType,
                                                           @Nullable
                                                           java.lang.String granularity,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for getContextsServersideUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getContextsServersideUsage

        public SeriesListRep getContextsServersideUsage​(@Nullable
                                                        java.lang.String from,
                                                        @Nullable
                                                        java.lang.String to,
                                                        @Nullable
                                                        java.lang.String projectKey,
                                                        @Nullable
                                                        java.lang.String environmentKey,
                                                        @Nullable
                                                        java.lang.String contextKind,
                                                        @Nullable
                                                        java.lang.String sdkName,
                                                        @Nullable
                                                        java.lang.String anonymous,
                                                        @Nullable
                                                        java.lang.String groupBy,
                                                        @Nullable
                                                        java.lang.String aggregationType,
                                                        @Nullable
                                                        java.lang.String granularity)
                                                 throws ApiException
        Get contexts serverside usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds. Use this for breakdowns that go beyond the primary-only aggregation of MAU endpoints. The counts reflect data reported by server-side SDKs.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getContextsServersideUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getContextsServersideUsageWithHttpInfo​(@Nullable
                                                                                 java.lang.String from,
                                                                                 @Nullable
                                                                                 java.lang.String to,
                                                                                 @Nullable
                                                                                 java.lang.String projectKey,
                                                                                 @Nullable
                                                                                 java.lang.String environmentKey,
                                                                                 @Nullable
                                                                                 java.lang.String contextKind,
                                                                                 @Nullable
                                                                                 java.lang.String sdkName,
                                                                                 @Nullable
                                                                                 java.lang.String anonymous,
                                                                                 @Nullable
                                                                                 java.lang.String groupBy,
                                                                                 @Nullable
                                                                                 java.lang.String aggregationType,
                                                                                 @Nullable
                                                                                 java.lang.String granularity)
                                                                          throws ApiException
        Get contexts serverside usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds. Use this for breakdowns that go beyond the primary-only aggregation of MAU endpoints. The counts reflect data reported by server-side SDKs.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getContextsServersideUsageAsync

        public okhttp3.Call getContextsServersideUsageAsync​(@Nullable
                                                            java.lang.String from,
                                                            @Nullable
                                                            java.lang.String to,
                                                            @Nullable
                                                            java.lang.String projectKey,
                                                            @Nullable
                                                            java.lang.String environmentKey,
                                                            @Nullable
                                                            java.lang.String contextKind,
                                                            @Nullable
                                                            java.lang.String sdkName,
                                                            @Nullable
                                                            java.lang.String anonymous,
                                                            @Nullable
                                                            java.lang.String groupBy,
                                                            @Nullable
                                                            java.lang.String aggregationType,
                                                            @Nullable
                                                            java.lang.String granularity,
                                                            ApiCallback<SeriesListRep> _callback)
                                                     throws ApiException
        Get contexts serverside usage (asynchronously) Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds. Use this for breakdowns that go beyond the primary-only aggregation of MAU endpoints. The counts reflect data reported by server-side SDKs.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getContextsTotalUsageCall

        public okhttp3.Call getContextsTotalUsageCall​(@Nullable
                                                      java.lang.String from,
                                                      @Nullable
                                                      java.lang.String to,
                                                      @Nullable
                                                      java.lang.String projectKey,
                                                      @Nullable
                                                      java.lang.String environmentKey,
                                                      @Nullable
                                                      java.lang.String contextKind,
                                                      @Nullable
                                                      java.lang.String sdkName,
                                                      @Nullable
                                                      java.lang.String sdkType,
                                                      @Nullable
                                                      java.lang.String anonymous,
                                                      @Nullable
                                                      java.lang.String groupBy,
                                                      @Nullable
                                                      java.lang.String aggregationType,
                                                      @Nullable
                                                      java.lang.String granularity,
                                                      ApiCallback _callback)
                                               throws ApiException
        Build call for getContextsTotalUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getContextsTotalUsage

        public SeriesListRep getContextsTotalUsage​(@Nullable
                                                   java.lang.String from,
                                                   @Nullable
                                                   java.lang.String to,
                                                   @Nullable
                                                   java.lang.String projectKey,
                                                   @Nullable
                                                   java.lang.String environmentKey,
                                                   @Nullable
                                                   java.lang.String contextKind,
                                                   @Nullable
                                                   java.lang.String sdkName,
                                                   @Nullable
                                                   java.lang.String sdkType,
                                                   @Nullable
                                                   java.lang.String anonymous,
                                                   @Nullable
                                                   java.lang.String groupBy,
                                                   @Nullable
                                                   java.lang.String aggregationType,
                                                   @Nullable
                                                   java.lang.String granularity)
                                            throws ApiException
        Get contexts total usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds. Use this for breakdowns that go beyond the primary-only aggregation of MAU endpoints.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getContextsTotalUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getContextsTotalUsageWithHttpInfo​(@Nullable
                                                                            java.lang.String from,
                                                                            @Nullable
                                                                            java.lang.String to,
                                                                            @Nullable
                                                                            java.lang.String projectKey,
                                                                            @Nullable
                                                                            java.lang.String environmentKey,
                                                                            @Nullable
                                                                            java.lang.String contextKind,
                                                                            @Nullable
                                                                            java.lang.String sdkName,
                                                                            @Nullable
                                                                            java.lang.String sdkType,
                                                                            @Nullable
                                                                            java.lang.String anonymous,
                                                                            @Nullable
                                                                            java.lang.String groupBy,
                                                                            @Nullable
                                                                            java.lang.String aggregationType,
                                                                            @Nullable
                                                                            java.lang.String granularity)
                                                                     throws ApiException
        Get contexts total usage Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds. Use this for breakdowns that go beyond the primary-only aggregation of MAU endpoints.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getContextsTotalUsageAsync

        public okhttp3.Call getContextsTotalUsageAsync​(@Nullable
                                                       java.lang.String from,
                                                       @Nullable
                                                       java.lang.String to,
                                                       @Nullable
                                                       java.lang.String projectKey,
                                                       @Nullable
                                                       java.lang.String environmentKey,
                                                       @Nullable
                                                       java.lang.String contextKind,
                                                       @Nullable
                                                       java.lang.String sdkName,
                                                       @Nullable
                                                       java.lang.String sdkType,
                                                       @Nullable
                                                       java.lang.String anonymous,
                                                       @Nullable
                                                       java.lang.String groupBy,
                                                       @Nullable
                                                       java.lang.String aggregationType,
                                                       @Nullable
                                                       java.lang.String granularity,
                                                       ApiCallback<SeriesListRep> _callback)
                                                throws ApiException
        Get contexts total usage (asynchronously) Get a detailed time series of the number of context key usages observed by LaunchDarkly in your account, including non-primary context kinds. Use this for breakdowns that go beyond the primary-only aggregation of MAU endpoints.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        contextKind - A context kind to filter results by. Can be specified multiple times, one query parameter per context kind. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getDataExportEventsUsageCall

        public okhttp3.Call getDataExportEventsUsageCall​(@Nullable
                                                         java.lang.String from,
                                                         @Nullable
                                                         java.lang.String to,
                                                         @Nullable
                                                         java.lang.String projectKey,
                                                         @Nullable
                                                         java.lang.String environmentKey,
                                                         @Nullable
                                                         java.lang.String eventKind,
                                                         @Nullable
                                                         java.lang.String groupBy,
                                                         @Nullable
                                                         java.lang.String aggregationType,
                                                         @Nullable
                                                         java.lang.String granularity,
                                                         ApiCallback _callback)
                                                  throws ApiException
        Build call for getDataExportEventsUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        eventKind - An event kind to filter results by. Can be specified multiple times, one query parameter per event kind. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `environmentId`, `eventKind`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getDataExportEventsUsage

        public SeriesListRep getDataExportEventsUsage​(@Nullable
                                                      java.lang.String from,
                                                      @Nullable
                                                      java.lang.String to,
                                                      @Nullable
                                                      java.lang.String projectKey,
                                                      @Nullable
                                                      java.lang.String environmentKey,
                                                      @Nullable
                                                      java.lang.String eventKind,
                                                      @Nullable
                                                      java.lang.String groupBy,
                                                      @Nullable
                                                      java.lang.String aggregationType,
                                                      @Nullable
                                                      java.lang.String granularity)
                                               throws ApiException
        Get data export events usage Get a time series array showing the number of data export events from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        eventKind - An event kind to filter results by. Can be specified multiple times, one query parameter per event kind. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `environmentId`, `eventKind`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDataExportEventsUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getDataExportEventsUsageWithHttpInfo​(@Nullable
                                                                               java.lang.String from,
                                                                               @Nullable
                                                                               java.lang.String to,
                                                                               @Nullable
                                                                               java.lang.String projectKey,
                                                                               @Nullable
                                                                               java.lang.String environmentKey,
                                                                               @Nullable
                                                                               java.lang.String eventKind,
                                                                               @Nullable
                                                                               java.lang.String groupBy,
                                                                               @Nullable
                                                                               java.lang.String aggregationType,
                                                                               @Nullable
                                                                               java.lang.String granularity)
                                                                        throws ApiException
        Get data export events usage Get a time series array showing the number of data export events from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        eventKind - An event kind to filter results by. Can be specified multiple times, one query parameter per event kind. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `environmentId`, `eventKind`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getDataExportEventsUsageAsync

        public okhttp3.Call getDataExportEventsUsageAsync​(@Nullable
                                                          java.lang.String from,
                                                          @Nullable
                                                          java.lang.String to,
                                                          @Nullable
                                                          java.lang.String projectKey,
                                                          @Nullable
                                                          java.lang.String environmentKey,
                                                          @Nullable
                                                          java.lang.String eventKind,
                                                          @Nullable
                                                          java.lang.String groupBy,
                                                          @Nullable
                                                          java.lang.String aggregationType,
                                                          @Nullable
                                                          java.lang.String granularity,
                                                          ApiCallback<SeriesListRep> _callback)
                                                   throws ApiException
        Get data export events usage (asynchronously) Get a time series array showing the number of data export events from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        eventKind - An event kind to filter results by. Can be specified multiple times, one query parameter per event kind. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `environmentId`, `eventKind`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getEvaluationsUsageCall

        public okhttp3.Call getEvaluationsUsageCall​(@Nonnull
                                                    java.lang.String projectKey,
                                                    @Nonnull
                                                    java.lang.String environmentKey,
                                                    @Nonnull
                                                    java.lang.String featureFlagKey,
                                                    @Nullable
                                                    java.lang.String from,
                                                    @Nullable
                                                    java.lang.String to,
                                                    @Nullable
                                                    java.lang.String tz,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for getEvaluationsUsage
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getEvaluationsUsage

        public SeriesListRep getEvaluationsUsage​(@Nonnull
                                                 java.lang.String projectKey,
                                                 @Nonnull
                                                 java.lang.String environmentKey,
                                                 @Nonnull
                                                 java.lang.String featureFlagKey,
                                                 @Nullable
                                                 java.lang.String from,
                                                 @Nullable
                                                 java.lang.String to,
                                                 @Nullable
                                                 java.lang.String tz)
                                          throws ApiException
        Get evaluations usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getEvaluationsUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getEvaluationsUsageWithHttpInfo​(@Nonnull
                                                                          java.lang.String projectKey,
                                                                          @Nonnull
                                                                          java.lang.String environmentKey,
                                                                          @Nonnull
                                                                          java.lang.String featureFlagKey,
                                                                          @Nullable
                                                                          java.lang.String from,
                                                                          @Nullable
                                                                          java.lang.String to,
                                                                          @Nullable
                                                                          java.lang.String tz)
                                                                   throws ApiException
        Get evaluations usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getEvaluationsUsageAsync

        public okhttp3.Call getEvaluationsUsageAsync​(@Nonnull
                                                     java.lang.String projectKey,
                                                     @Nonnull
                                                     java.lang.String environmentKey,
                                                     @Nonnull
                                                     java.lang.String featureFlagKey,
                                                     @Nullable
                                                     java.lang.String from,
                                                     @Nullable
                                                     java.lang.String to,
                                                     @Nullable
                                                     java.lang.String tz,
                                                     ApiCallback<SeriesListRep> _callback)
                                              throws ApiException
        Get evaluations usage (asynchronously) Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        projectKey - The project key (required)
        environmentKey - The environment key (required)
        featureFlagKey - The feature flag key (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getEventsUsageCall

        public okhttp3.Call getEventsUsageCall​(@Nonnull
                                               java.lang.String type,
                                               @Nullable
                                               java.lang.String from,
                                               @Nullable
                                               java.lang.String to,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getEventsUsage
        Parameters:
        type - The type of event to retrieve. Must be either `received` or `published`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getEventsUsage

        public SeriesListRep getEventsUsage​(@Nonnull
                                            java.lang.String type,
                                            @Nullable
                                            java.lang.String from,
                                            @Nullable
                                            java.lang.String to)
                                     throws ApiException
        Get events usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        type - The type of event to retrieve. Must be either `received` or `published`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getEventsUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getEventsUsageWithHttpInfo​(@Nonnull
                                                                     java.lang.String type,
                                                                     @Nullable
                                                                     java.lang.String from,
                                                                     @Nullable
                                                                     java.lang.String to)
                                                              throws ApiException
        Get events usage Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        type - The type of event to retrieve. Must be either `received` or `published`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getEventsUsageAsync

        public okhttp3.Call getEventsUsageAsync​(@Nonnull
                                                java.lang.String type,
                                                @Nullable
                                                java.lang.String from,
                                                @Nullable
                                                java.lang.String to,
                                                ApiCallback<SeriesListRep> _callback)
                                         throws ApiException
        Get events usage (asynchronously) Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        type - The type of event to retrieve. Must be either `received` or `published`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getExperimentationEventsUsageCall

        public okhttp3.Call getExperimentationEventsUsageCall​(@Nullable
                                                              java.lang.String from,
                                                              @Nullable
                                                              java.lang.String to,
                                                              @Nullable
                                                              java.lang.String projectKey,
                                                              @Nullable
                                                              java.lang.String environmentKey,
                                                              @Nullable
                                                              java.lang.String eventKey,
                                                              @Nullable
                                                              java.lang.String eventKind,
                                                              @Nullable
                                                              java.lang.String groupBy,
                                                              @Nullable
                                                              java.lang.String aggregationType,
                                                              @Nullable
                                                              java.lang.String granularity,
                                                              ApiCallback _callback)
                                                       throws ApiException
        Build call for getExperimentationEventsUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        eventKey - An event key to filter results by. Can be specified multiple times, one query parameter per event key. (optional)
        eventKind - An event kind to filter results by. Can be specified multiple times, one query parameter per event kind. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `environmentId`, `eventKey`, `eventKind`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getExperimentationEventsUsage

        public SeriesListRep getExperimentationEventsUsage​(@Nullable
                                                           java.lang.String from,
                                                           @Nullable
                                                           java.lang.String to,
                                                           @Nullable
                                                           java.lang.String projectKey,
                                                           @Nullable
                                                           java.lang.String environmentKey,
                                                           @Nullable
                                                           java.lang.String eventKey,
                                                           @Nullable
                                                           java.lang.String eventKind,
                                                           @Nullable
                                                           java.lang.String groupBy,
                                                           @Nullable
                                                           java.lang.String aggregationType,
                                                           @Nullable
                                                           java.lang.String granularity)
                                                    throws ApiException
        Get experimentation events usage Get a time series array showing the number of experimentation events from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        eventKey - An event key to filter results by. Can be specified multiple times, one query parameter per event key. (optional)
        eventKind - An event kind to filter results by. Can be specified multiple times, one query parameter per event kind. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `environmentId`, `eventKey`, `eventKind`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getExperimentationEventsUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getExperimentationEventsUsageWithHttpInfo​(@Nullable
                                                                                    java.lang.String from,
                                                                                    @Nullable
                                                                                    java.lang.String to,
                                                                                    @Nullable
                                                                                    java.lang.String projectKey,
                                                                                    @Nullable
                                                                                    java.lang.String environmentKey,
                                                                                    @Nullable
                                                                                    java.lang.String eventKey,
                                                                                    @Nullable
                                                                                    java.lang.String eventKind,
                                                                                    @Nullable
                                                                                    java.lang.String groupBy,
                                                                                    @Nullable
                                                                                    java.lang.String aggregationType,
                                                                                    @Nullable
                                                                                    java.lang.String granularity)
                                                                             throws ApiException
        Get experimentation events usage Get a time series array showing the number of experimentation events from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        eventKey - An event key to filter results by. Can be specified multiple times, one query parameter per event key. (optional)
        eventKind - An event kind to filter results by. Can be specified multiple times, one query parameter per event kind. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `environmentId`, `eventKey`, `eventKind`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getExperimentationEventsUsageAsync

        public okhttp3.Call getExperimentationEventsUsageAsync​(@Nullable
                                                               java.lang.String from,
                                                               @Nullable
                                                               java.lang.String to,
                                                               @Nullable
                                                               java.lang.String projectKey,
                                                               @Nullable
                                                               java.lang.String environmentKey,
                                                               @Nullable
                                                               java.lang.String eventKey,
                                                               @Nullable
                                                               java.lang.String eventKind,
                                                               @Nullable
                                                               java.lang.String groupBy,
                                                               @Nullable
                                                               java.lang.String aggregationType,
                                                               @Nullable
                                                               java.lang.String granularity,
                                                               ApiCallback<SeriesListRep> _callback)
                                                        throws ApiException
        Get experimentation events usage (asynchronously) Get a time series array showing the number of experimentation events from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        eventKey - An event key to filter results by. Can be specified multiple times, one query parameter per event key. (optional)
        eventKind - An event kind to filter results by. Can be specified multiple times, one query parameter per event kind. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `environmentId`, `eventKey`, `eventKind`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getExperimentationKeysUsageCall

        public okhttp3.Call getExperimentationKeysUsageCall​(@Nullable
                                                            java.lang.String from,
                                                            @Nullable
                                                            java.lang.String to,
                                                            @Nullable
                                                            java.lang.String projectKey,
                                                            @Nullable
                                                            java.lang.String environmentKey,
                                                            @Nullable
                                                            java.lang.String experimentId,
                                                            @Nullable
                                                            java.lang.String groupBy,
                                                            @Nullable
                                                            java.lang.String aggregationType,
                                                            @Nullable
                                                            java.lang.String granularity,
                                                            ApiCallback _callback)
                                                     throws ApiException
        Build call for getExperimentationKeysUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        experimentId - An experiment ID to filter results by. Can be specified multiple times, one query parameter per experiment ID. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `experimentId`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getExperimentationKeysUsage

        public SeriesListRep getExperimentationKeysUsage​(@Nullable
                                                         java.lang.String from,
                                                         @Nullable
                                                         java.lang.String to,
                                                         @Nullable
                                                         java.lang.String projectKey,
                                                         @Nullable
                                                         java.lang.String environmentKey,
                                                         @Nullable
                                                         java.lang.String experimentId,
                                                         @Nullable
                                                         java.lang.String groupBy,
                                                         @Nullable
                                                         java.lang.String aggregationType,
                                                         @Nullable
                                                         java.lang.String granularity)
                                                  throws ApiException
        Get experimentation keys usage Get a time series array showing the number of experimentation keys from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        experimentId - An experiment ID to filter results by. Can be specified multiple times, one query parameter per experiment ID. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `experimentId`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getExperimentationKeysUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getExperimentationKeysUsageWithHttpInfo​(@Nullable
                                                                                  java.lang.String from,
                                                                                  @Nullable
                                                                                  java.lang.String to,
                                                                                  @Nullable
                                                                                  java.lang.String projectKey,
                                                                                  @Nullable
                                                                                  java.lang.String environmentKey,
                                                                                  @Nullable
                                                                                  java.lang.String experimentId,
                                                                                  @Nullable
                                                                                  java.lang.String groupBy,
                                                                                  @Nullable
                                                                                  java.lang.String aggregationType,
                                                                                  @Nullable
                                                                                  java.lang.String granularity)
                                                                           throws ApiException
        Get experimentation keys usage Get a time series array showing the number of experimentation keys from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        experimentId - An experiment ID to filter results by. Can be specified multiple times, one query parameter per experiment ID. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `experimentId`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getExperimentationKeysUsageAsync

        public okhttp3.Call getExperimentationKeysUsageAsync​(@Nullable
                                                             java.lang.String from,
                                                             @Nullable
                                                             java.lang.String to,
                                                             @Nullable
                                                             java.lang.String projectKey,
                                                             @Nullable
                                                             java.lang.String environmentKey,
                                                             @Nullable
                                                             java.lang.String experimentId,
                                                             @Nullable
                                                             java.lang.String groupBy,
                                                             @Nullable
                                                             java.lang.String aggregationType,
                                                             @Nullable
                                                             java.lang.String granularity,
                                                             ApiCallback<SeriesListRep> _callback)
                                                      throws ApiException
        Get experimentation keys usage (asynchronously) Get a time series array showing the number of experimentation keys from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        experimentId - An experiment ID to filter results by. Can be specified multiple times, one query parameter per experiment ID. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `experimentId`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getMAUClientsideUsageCall

        public okhttp3.Call getMAUClientsideUsageCall​(@Nullable
                                                      java.lang.String from,
                                                      @Nullable
                                                      java.lang.String to,
                                                      @Nullable
                                                      java.lang.String projectKey,
                                                      @Nullable
                                                      java.lang.String environmentKey,
                                                      @Nullable
                                                      java.lang.String sdkName,
                                                      @Nullable
                                                      java.lang.String anonymous,
                                                      @Nullable
                                                      java.lang.String groupBy,
                                                      @Nullable
                                                      java.lang.String aggregationType,
                                                      @Nullable
                                                      java.lang.String granularity,
                                                      ApiCallback _callback)
                                               throws ApiException
        Build call for getMAUClientsideUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getMAUClientsideUsage

        public SeriesListRep getMAUClientsideUsage​(@Nullable
                                                   java.lang.String from,
                                                   @Nullable
                                                   java.lang.String to,
                                                   @Nullable
                                                   java.lang.String projectKey,
                                                   @Nullable
                                                   java.lang.String environmentKey,
                                                   @Nullable
                                                   java.lang.String sdkName,
                                                   @Nullable
                                                   java.lang.String anonymous,
                                                   @Nullable
                                                   java.lang.String groupBy,
                                                   @Nullable
                                                   java.lang.String aggregationType,
                                                   @Nullable
                                                   java.lang.String granularity)
                                            throws ApiException
        Get MAU clientside usage Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only. The counts reflect data reported from client-side SDKs.<br/><br/>For past months, the primary context kind is fixed and reflects the last known primary kind for that month. For the current month, it may vary as new primary context kinds are observed.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMAUClientsideUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getMAUClientsideUsageWithHttpInfo​(@Nullable
                                                                            java.lang.String from,
                                                                            @Nullable
                                                                            java.lang.String to,
                                                                            @Nullable
                                                                            java.lang.String projectKey,
                                                                            @Nullable
                                                                            java.lang.String environmentKey,
                                                                            @Nullable
                                                                            java.lang.String sdkName,
                                                                            @Nullable
                                                                            java.lang.String anonymous,
                                                                            @Nullable
                                                                            java.lang.String groupBy,
                                                                            @Nullable
                                                                            java.lang.String aggregationType,
                                                                            @Nullable
                                                                            java.lang.String granularity)
                                                                     throws ApiException
        Get MAU clientside usage Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only. The counts reflect data reported from client-side SDKs.<br/><br/>For past months, the primary context kind is fixed and reflects the last known primary kind for that month. For the current month, it may vary as new primary context kinds are observed.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMAUClientsideUsageAsync

        public okhttp3.Call getMAUClientsideUsageAsync​(@Nullable
                                                       java.lang.String from,
                                                       @Nullable
                                                       java.lang.String to,
                                                       @Nullable
                                                       java.lang.String projectKey,
                                                       @Nullable
                                                       java.lang.String environmentKey,
                                                       @Nullable
                                                       java.lang.String sdkName,
                                                       @Nullable
                                                       java.lang.String anonymous,
                                                       @Nullable
                                                       java.lang.String groupBy,
                                                       @Nullable
                                                       java.lang.String aggregationType,
                                                       @Nullable
                                                       java.lang.String granularity,
                                                       ApiCallback<SeriesListRep> _callback)
                                                throws ApiException
        Get MAU clientside usage (asynchronously) Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only. The counts reflect data reported from client-side SDKs.<br/><br/>For past months, the primary context kind is fixed and reflects the last known primary kind for that month. For the current month, it may vary as new primary context kinds are observed.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getMAUTotalUsageCall

        public okhttp3.Call getMAUTotalUsageCall​(@Nullable
                                                 java.lang.String from,
                                                 @Nullable
                                                 java.lang.String to,
                                                 @Nullable
                                                 java.lang.String projectKey,
                                                 @Nullable
                                                 java.lang.String environmentKey,
                                                 @Nullable
                                                 java.lang.String sdkName,
                                                 @Nullable
                                                 java.lang.String sdkType,
                                                 @Nullable
                                                 java.lang.String anonymous,
                                                 @Nullable
                                                 java.lang.String groupBy,
                                                 @Nullable
                                                 java.lang.String aggregationType,
                                                 @Nullable
                                                 java.lang.String granularity,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for getMAUTotalUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getMAUTotalUsage

        public SeriesListRep getMAUTotalUsage​(@Nullable
                                              java.lang.String from,
                                              @Nullable
                                              java.lang.String to,
                                              @Nullable
                                              java.lang.String projectKey,
                                              @Nullable
                                              java.lang.String environmentKey,
                                              @Nullable
                                              java.lang.String sdkName,
                                              @Nullable
                                              java.lang.String sdkType,
                                              @Nullable
                                              java.lang.String anonymous,
                                              @Nullable
                                              java.lang.String groupBy,
                                              @Nullable
                                              java.lang.String aggregationType,
                                              @Nullable
                                              java.lang.String granularity)
                                       throws ApiException
        Get MAU total usage Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only.<br/><br/>For past months, this reflects the context kind that was most recently marked as primary for that month. For the current month, the context kind may vary as new primary kinds are observed.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMAUTotalUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getMAUTotalUsageWithHttpInfo​(@Nullable
                                                                       java.lang.String from,
                                                                       @Nullable
                                                                       java.lang.String to,
                                                                       @Nullable
                                                                       java.lang.String projectKey,
                                                                       @Nullable
                                                                       java.lang.String environmentKey,
                                                                       @Nullable
                                                                       java.lang.String sdkName,
                                                                       @Nullable
                                                                       java.lang.String sdkType,
                                                                       @Nullable
                                                                       java.lang.String anonymous,
                                                                       @Nullable
                                                                       java.lang.String groupBy,
                                                                       @Nullable
                                                                       java.lang.String aggregationType,
                                                                       @Nullable
                                                                       java.lang.String granularity)
                                                                throws ApiException
        Get MAU total usage Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only.<br/><br/>For past months, this reflects the context kind that was most recently marked as primary for that month. For the current month, the context kind may vary as new primary kinds are observed.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMAUTotalUsageAsync

        public okhttp3.Call getMAUTotalUsageAsync​(@Nullable
                                                  java.lang.String from,
                                                  @Nullable
                                                  java.lang.String to,
                                                  @Nullable
                                                  java.lang.String projectKey,
                                                  @Nullable
                                                  java.lang.String environmentKey,
                                                  @Nullable
                                                  java.lang.String sdkName,
                                                  @Nullable
                                                  java.lang.String sdkType,
                                                  @Nullable
                                                  java.lang.String anonymous,
                                                  @Nullable
                                                  java.lang.String groupBy,
                                                  @Nullable
                                                  java.lang.String aggregationType,
                                                  @Nullable
                                                  java.lang.String granularity,
                                                  ApiCallback<SeriesListRep> _callback)
                                           throws ApiException
        Get MAU total usage (asynchronously) Get a time series of the number of context key usages observed by LaunchDarkly in your account, for the primary context kind only.<br/><br/>For past months, this reflects the context kind that was most recently marked as primary for that month. For the current month, the context kind may vary as new primary kinds are observed.<br/><br/>The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        anonymous - An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getMauSdksByTypeCall

        public okhttp3.Call getMauSdksByTypeCall​(@Nullable
                                                 java.lang.String from,
                                                 @Nullable
                                                 java.lang.String to,
                                                 @Nullable
                                                 java.lang.String sdktype,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for getMauSdksByType
        Parameters:
        from - The data returned starts from this timestamp. Defaults to seven days ago. The timestamp is in Unix milliseconds, for example, 1656694800000. (optional)
        to - The data returned ends at this timestamp. Defaults to the current time. The timestamp is in Unix milliseconds, for example, 1657904400000. (optional)
        sdktype - The type of SDK with monthly active users (MAU) to list. Must be either `client` or `server`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getMauSdksByType

        public SdkListRep getMauSdksByType​(@Nullable
                                           java.lang.String from,
                                           @Nullable
                                           java.lang.String to,
                                           @Nullable
                                           java.lang.String sdktype)
                                    throws ApiException
        Get MAU SDKs by type Get a list of SDKs. These are all of the SDKs that have connected to LaunchDarkly by monthly active users (MAU) in the requested time period.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://launchdarkly.com/docs/home/account/metrics).
        Parameters:
        from - The data returned starts from this timestamp. Defaults to seven days ago. The timestamp is in Unix milliseconds, for example, 1656694800000. (optional)
        to - The data returned ends at this timestamp. Defaults to the current time. The timestamp is in Unix milliseconds, for example, 1657904400000. (optional)
        sdktype - The type of SDK with monthly active users (MAU) to list. Must be either `client` or `server`. (optional)
        Returns:
        SdkListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauSdksByTypeWithHttpInfo

        public ApiResponse<SdkListRep> getMauSdksByTypeWithHttpInfo​(@Nullable
                                                                    java.lang.String from,
                                                                    @Nullable
                                                                    java.lang.String to,
                                                                    @Nullable
                                                                    java.lang.String sdktype)
                                                             throws ApiException
        Get MAU SDKs by type Get a list of SDKs. These are all of the SDKs that have connected to LaunchDarkly by monthly active users (MAU) in the requested time period.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://launchdarkly.com/docs/home/account/metrics).
        Parameters:
        from - The data returned starts from this timestamp. Defaults to seven days ago. The timestamp is in Unix milliseconds, for example, 1656694800000. (optional)
        to - The data returned ends at this timestamp. Defaults to the current time. The timestamp is in Unix milliseconds, for example, 1657904400000. (optional)
        sdktype - The type of SDK with monthly active users (MAU) to list. Must be either `client` or `server`. (optional)
        Returns:
        ApiResponse<SdkListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauSdksByTypeAsync

        public okhttp3.Call getMauSdksByTypeAsync​(@Nullable
                                                  java.lang.String from,
                                                  @Nullable
                                                  java.lang.String to,
                                                  @Nullable
                                                  java.lang.String sdktype,
                                                  ApiCallback<SdkListRep> _callback)
                                           throws ApiException
        Get MAU SDKs by type (asynchronously) Get a list of SDKs. These are all of the SDKs that have connected to LaunchDarkly by monthly active users (MAU) in the requested time period.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://launchdarkly.com/docs/home/account/metrics).
        Parameters:
        from - The data returned starts from this timestamp. Defaults to seven days ago. The timestamp is in Unix milliseconds, for example, 1656694800000. (optional)
        to - The data returned ends at this timestamp. Defaults to the current time. The timestamp is in Unix milliseconds, for example, 1657904400000. (optional)
        sdktype - The type of SDK with monthly active users (MAU) to list. Must be either `client` or `server`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getMauUsageCall

        @Deprecated
        public okhttp3.Call getMauUsageCall​(@Nullable
                                            java.lang.String from,
                                            @Nullable
                                            java.lang.String to,
                                            @Nullable
                                            java.lang.String project,
                                            @Nullable
                                            java.lang.String environment,
                                            @Nullable
                                            java.lang.String sdktype,
                                            @Nullable
                                            java.lang.String sdk,
                                            @Nullable
                                            java.lang.String anonymous,
                                            @Nullable
                                            java.lang.String groupby,
                                            @Nullable
                                            java.lang.String aggregationType,
                                            @Nullable
                                            java.lang.String contextKind,
                                            ApiCallback _callback)
                                     throws ApiException
        Deprecated.
        Build call for getMauUsage
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        project - A project key to filter results to. Can be specified multiple times, one query parameter per project key, to view data for multiple projects. (optional)
        environment - An environment key to filter results to. When using this parameter, exactly one project key must also be set. Can be specified multiple times as separate query parameters to view data for multiple environments within a single project. (optional)
        sdktype - An SDK type to filter results to. Can be specified multiple times, one query parameter per SDK type. Valid values: client, server (optional)
        sdk - An SDK name to filter results to. Can be specified multiple times, one query parameter per SDK. (optional)
        anonymous - If specified, filters results to either anonymous or nonanonymous users. (optional)
        groupby - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions (for example, to group by both project and SDK). Valid values: project, environment, sdktype, sdk, anonymous, contextKind, sdkAppId (optional)
        aggregationType - If specified, queries for rolling 30-day, month-to-date, or daily incremental counts. Default is rolling 30-day. Valid values: rolling_30d, month_to_date, daily_incremental (optional)
        contextKind - Filters results to the specified context kinds. Can be specified multiple times, one query parameter per context kind. If not set, queries for the user context kind. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getMauUsage

        @Deprecated
        public SeriesListRep getMauUsage​(@Nullable
                                         java.lang.String from,
                                         @Nullable
                                         java.lang.String to,
                                         @Nullable
                                         java.lang.String project,
                                         @Nullable
                                         java.lang.String environment,
                                         @Nullable
                                         java.lang.String sdktype,
                                         @Nullable
                                         java.lang.String sdk,
                                         @Nullable
                                         java.lang.String anonymous,
                                         @Nullable
                                         java.lang.String groupby,
                                         @Nullable
                                         java.lang.String aggregationType,
                                         @Nullable
                                         java.lang.String contextKind)
                                  throws ApiException
        Deprecated.
        Get MAU usage Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account. The granularity is always daily.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://launchdarkly.com/docs/home/account/metrics).
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        project - A project key to filter results to. Can be specified multiple times, one query parameter per project key, to view data for multiple projects. (optional)
        environment - An environment key to filter results to. When using this parameter, exactly one project key must also be set. Can be specified multiple times as separate query parameters to view data for multiple environments within a single project. (optional)
        sdktype - An SDK type to filter results to. Can be specified multiple times, one query parameter per SDK type. Valid values: client, server (optional)
        sdk - An SDK name to filter results to. Can be specified multiple times, one query parameter per SDK. (optional)
        anonymous - If specified, filters results to either anonymous or nonanonymous users. (optional)
        groupby - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions (for example, to group by both project and SDK). Valid values: project, environment, sdktype, sdk, anonymous, contextKind, sdkAppId (optional)
        aggregationType - If specified, queries for rolling 30-day, month-to-date, or daily incremental counts. Default is rolling 30-day. Valid values: rolling_30d, month_to_date, daily_incremental (optional)
        contextKind - Filters results to the specified context kinds. Can be specified multiple times, one query parameter per context kind. If not set, queries for the user context kind. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauUsageWithHttpInfo

        @Deprecated
        public ApiResponse<SeriesListRep> getMauUsageWithHttpInfo​(@Nullable
                                                                  java.lang.String from,
                                                                  @Nullable
                                                                  java.lang.String to,
                                                                  @Nullable
                                                                  java.lang.String project,
                                                                  @Nullable
                                                                  java.lang.String environment,
                                                                  @Nullable
                                                                  java.lang.String sdktype,
                                                                  @Nullable
                                                                  java.lang.String sdk,
                                                                  @Nullable
                                                                  java.lang.String anonymous,
                                                                  @Nullable
                                                                  java.lang.String groupby,
                                                                  @Nullable
                                                                  java.lang.String aggregationType,
                                                                  @Nullable
                                                                  java.lang.String contextKind)
                                                           throws ApiException
        Deprecated.
        Get MAU usage Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account. The granularity is always daily.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://launchdarkly.com/docs/home/account/metrics).
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        project - A project key to filter results to. Can be specified multiple times, one query parameter per project key, to view data for multiple projects. (optional)
        environment - An environment key to filter results to. When using this parameter, exactly one project key must also be set. Can be specified multiple times as separate query parameters to view data for multiple environments within a single project. (optional)
        sdktype - An SDK type to filter results to. Can be specified multiple times, one query parameter per SDK type. Valid values: client, server (optional)
        sdk - An SDK name to filter results to. Can be specified multiple times, one query parameter per SDK. (optional)
        anonymous - If specified, filters results to either anonymous or nonanonymous users. (optional)
        groupby - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions (for example, to group by both project and SDK). Valid values: project, environment, sdktype, sdk, anonymous, contextKind, sdkAppId (optional)
        aggregationType - If specified, queries for rolling 30-day, month-to-date, or daily incremental counts. Default is rolling 30-day. Valid values: rolling_30d, month_to_date, daily_incremental (optional)
        contextKind - Filters results to the specified context kinds. Can be specified multiple times, one query parameter per context kind. If not set, queries for the user context kind. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauUsageAsync

        @Deprecated
        public okhttp3.Call getMauUsageAsync​(@Nullable
                                             java.lang.String from,
                                             @Nullable
                                             java.lang.String to,
                                             @Nullable
                                             java.lang.String project,
                                             @Nullable
                                             java.lang.String environment,
                                             @Nullable
                                             java.lang.String sdktype,
                                             @Nullable
                                             java.lang.String sdk,
                                             @Nullable
                                             java.lang.String anonymous,
                                             @Nullable
                                             java.lang.String groupby,
                                             @Nullable
                                             java.lang.String aggregationType,
                                             @Nullable
                                             java.lang.String contextKind,
                                             ApiCallback<SeriesListRep> _callback)
                                      throws ApiException
        Deprecated.
        Get MAU usage (asynchronously) Get a time-series array of the number of monthly active users (MAU) seen by LaunchDarkly from your account. The granularity is always daily.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://launchdarkly.com/docs/home/account/metrics).
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        project - A project key to filter results to. Can be specified multiple times, one query parameter per project key, to view data for multiple projects. (optional)
        environment - An environment key to filter results to. When using this parameter, exactly one project key must also be set. Can be specified multiple times as separate query parameters to view data for multiple environments within a single project. (optional)
        sdktype - An SDK type to filter results to. Can be specified multiple times, one query parameter per SDK type. Valid values: client, server (optional)
        sdk - An SDK name to filter results to. Can be specified multiple times, one query parameter per SDK. (optional)
        anonymous - If specified, filters results to either anonymous or nonanonymous users. (optional)
        groupby - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions (for example, to group by both project and SDK). Valid values: project, environment, sdktype, sdk, anonymous, contextKind, sdkAppId (optional)
        aggregationType - If specified, queries for rolling 30-day, month-to-date, or daily incremental counts. Default is rolling 30-day. Valid values: rolling_30d, month_to_date, daily_incremental (optional)
        contextKind - Filters results to the specified context kinds. Can be specified multiple times, one query parameter per context kind. If not set, queries for the user context kind. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getMauUsageByCategoryCall

        @Deprecated
        public okhttp3.Call getMauUsageByCategoryCall​(@Nullable
                                                      java.lang.String from,
                                                      @Nullable
                                                      java.lang.String to,
                                                      ApiCallback _callback)
                                               throws ApiException
        Deprecated.
        Build call for getMauUsageByCategory
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getMauUsageByCategory

        @Deprecated
        public SeriesListRep getMauUsageByCategory​(@Nullable
                                                   java.lang.String from,
                                                   @Nullable
                                                   java.lang.String to)
                                            throws ApiException
        Deprecated.
        Get MAU usage by category Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users. The category is either `browser`, `mobile`, or `backend`.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://launchdarkly.com/docs/home/account/metrics).
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauUsageByCategoryWithHttpInfo

        @Deprecated
        public ApiResponse<SeriesListRep> getMauUsageByCategoryWithHttpInfo​(@Nullable
                                                                            java.lang.String from,
                                                                            @Nullable
                                                                            java.lang.String to)
                                                                     throws ApiException
        Deprecated.
        Get MAU usage by category Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users. The category is either `browser`, `mobile`, or `backend`.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://launchdarkly.com/docs/home/account/metrics).
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getMauUsageByCategoryAsync

        @Deprecated
        public okhttp3.Call getMauUsageByCategoryAsync​(@Nullable
                                                       java.lang.String from,
                                                       @Nullable
                                                       java.lang.String to,
                                                       ApiCallback<SeriesListRep> _callback)
                                                throws ApiException
        Deprecated.
        Get MAU usage by category (asynchronously) Get time-series arrays of the number of monthly active users (MAU) seen by LaunchDarkly from your account, broken down by the category of users. The category is either `browser`, `mobile`, or `backend`.<br/><br/>Endpoints for retrieving monthly active users (MAU) do not return information about active context instances. After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should not rely on this endpoint. To learn more, read [Account usage metrics](https://launchdarkly.com/docs/home/account/metrics).
        Parameters:
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getObservabilityErrorsUsageCall

        public okhttp3.Call getObservabilityErrorsUsageCall​(@Nullable
                                                            java.lang.String from,
                                                            @Nullable
                                                            java.lang.String to,
                                                            @Nullable
                                                            java.lang.String projectKey,
                                                            @Nullable
                                                            java.lang.String granularity,
                                                            @Nullable
                                                            java.lang.String aggregationType,
                                                            ApiCallback _callback)
                                                     throws ApiException
        Build call for getObservabilityErrorsUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getObservabilityErrorsUsage

        public SeriesListRep getObservabilityErrorsUsage​(@Nullable
                                                         java.lang.String from,
                                                         @Nullable
                                                         java.lang.String to,
                                                         @Nullable
                                                         java.lang.String projectKey,
                                                         @Nullable
                                                         java.lang.String granularity,
                                                         @Nullable
                                                         java.lang.String aggregationType)
                                                  throws ApiException
        Get observability errors usage Get time-series arrays of the number of observability errors. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getObservabilityErrorsUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getObservabilityErrorsUsageWithHttpInfo​(@Nullable
                                                                                  java.lang.String from,
                                                                                  @Nullable
                                                                                  java.lang.String to,
                                                                                  @Nullable
                                                                                  java.lang.String projectKey,
                                                                                  @Nullable
                                                                                  java.lang.String granularity,
                                                                                  @Nullable
                                                                                  java.lang.String aggregationType)
                                                                           throws ApiException
        Get observability errors usage Get time-series arrays of the number of observability errors. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getObservabilityErrorsUsageAsync

        public okhttp3.Call getObservabilityErrorsUsageAsync​(@Nullable
                                                             java.lang.String from,
                                                             @Nullable
                                                             java.lang.String to,
                                                             @Nullable
                                                             java.lang.String projectKey,
                                                             @Nullable
                                                             java.lang.String granularity,
                                                             @Nullable
                                                             java.lang.String aggregationType,
                                                             ApiCallback<SeriesListRep> _callback)
                                                      throws ApiException
        Get observability errors usage (asynchronously) Get time-series arrays of the number of observability errors. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getObservabilityLogsUsageCall

        public okhttp3.Call getObservabilityLogsUsageCall​(@Nullable
                                                          java.lang.String from,
                                                          @Nullable
                                                          java.lang.String to,
                                                          @Nullable
                                                          java.lang.String projectKey,
                                                          @Nullable
                                                          java.lang.String granularity,
                                                          @Nullable
                                                          java.lang.String aggregationType,
                                                          ApiCallback _callback)
                                                   throws ApiException
        Build call for getObservabilityLogsUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getObservabilityLogsUsage

        public SeriesListRep getObservabilityLogsUsage​(@Nullable
                                                       java.lang.String from,
                                                       @Nullable
                                                       java.lang.String to,
                                                       @Nullable
                                                       java.lang.String projectKey,
                                                       @Nullable
                                                       java.lang.String granularity,
                                                       @Nullable
                                                       java.lang.String aggregationType)
                                                throws ApiException
        Get observability logs usage Get time-series arrays of the number of observability logs. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getObservabilityLogsUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getObservabilityLogsUsageWithHttpInfo​(@Nullable
                                                                                java.lang.String from,
                                                                                @Nullable
                                                                                java.lang.String to,
                                                                                @Nullable
                                                                                java.lang.String projectKey,
                                                                                @Nullable
                                                                                java.lang.String granularity,
                                                                                @Nullable
                                                                                java.lang.String aggregationType)
                                                                         throws ApiException
        Get observability logs usage Get time-series arrays of the number of observability logs. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getObservabilityLogsUsageAsync

        public okhttp3.Call getObservabilityLogsUsageAsync​(@Nullable
                                                           java.lang.String from,
                                                           @Nullable
                                                           java.lang.String to,
                                                           @Nullable
                                                           java.lang.String projectKey,
                                                           @Nullable
                                                           java.lang.String granularity,
                                                           @Nullable
                                                           java.lang.String aggregationType,
                                                           ApiCallback<SeriesListRep> _callback)
                                                    throws ApiException
        Get observability logs usage (asynchronously) Get time-series arrays of the number of observability logs. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getObservabilityMetricsUsageCall

        public okhttp3.Call getObservabilityMetricsUsageCall​(@Nullable
                                                             java.lang.String from,
                                                             @Nullable
                                                             java.lang.String to,
                                                             @Nullable
                                                             java.lang.String projectKey,
                                                             @Nullable
                                                             java.lang.String granularity,
                                                             @Nullable
                                                             java.lang.String aggregationType,
                                                             ApiCallback _callback)
                                                      throws ApiException
        Build call for getObservabilityMetricsUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getObservabilityMetricsUsage

        public SeriesListRep getObservabilityMetricsUsage​(@Nullable
                                                          java.lang.String from,
                                                          @Nullable
                                                          java.lang.String to,
                                                          @Nullable
                                                          java.lang.String projectKey,
                                                          @Nullable
                                                          java.lang.String granularity,
                                                          @Nullable
                                                          java.lang.String aggregationType)
                                                   throws ApiException
        Get observability metrics usage Get time-series arrays of the number of observability metrics. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getObservabilityMetricsUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getObservabilityMetricsUsageWithHttpInfo​(@Nullable
                                                                                   java.lang.String from,
                                                                                   @Nullable
                                                                                   java.lang.String to,
                                                                                   @Nullable
                                                                                   java.lang.String projectKey,
                                                                                   @Nullable
                                                                                   java.lang.String granularity,
                                                                                   @Nullable
                                                                                   java.lang.String aggregationType)
                                                                            throws ApiException
        Get observability metrics usage Get time-series arrays of the number of observability metrics. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getObservabilityMetricsUsageAsync

        public okhttp3.Call getObservabilityMetricsUsageAsync​(@Nullable
                                                              java.lang.String from,
                                                              @Nullable
                                                              java.lang.String to,
                                                              @Nullable
                                                              java.lang.String projectKey,
                                                              @Nullable
                                                              java.lang.String granularity,
                                                              @Nullable
                                                              java.lang.String aggregationType,
                                                              ApiCallback<SeriesListRep> _callback)
                                                       throws ApiException
        Get observability metrics usage (asynchronously) Get time-series arrays of the number of observability metrics. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getObservabilitySessionsUsageCall

        public okhttp3.Call getObservabilitySessionsUsageCall​(@Nullable
                                                              java.lang.String from,
                                                              @Nullable
                                                              java.lang.String to,
                                                              @Nullable
                                                              java.lang.String projectKey,
                                                              @Nullable
                                                              java.lang.String granularity,
                                                              @Nullable
                                                              java.lang.String aggregationType,
                                                              ApiCallback _callback)
                                                       throws ApiException
        Build call for getObservabilitySessionsUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getObservabilitySessionsUsage

        public SeriesListRep getObservabilitySessionsUsage​(@Nullable
                                                           java.lang.String from,
                                                           @Nullable
                                                           java.lang.String to,
                                                           @Nullable
                                                           java.lang.String projectKey,
                                                           @Nullable
                                                           java.lang.String granularity,
                                                           @Nullable
                                                           java.lang.String aggregationType)
                                                    throws ApiException
        Get observability sessions usage Get time-series arrays of the number of observability sessions. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getObservabilitySessionsUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getObservabilitySessionsUsageWithHttpInfo​(@Nullable
                                                                                    java.lang.String from,
                                                                                    @Nullable
                                                                                    java.lang.String to,
                                                                                    @Nullable
                                                                                    java.lang.String projectKey,
                                                                                    @Nullable
                                                                                    java.lang.String granularity,
                                                                                    @Nullable
                                                                                    java.lang.String aggregationType)
                                                                             throws ApiException
        Get observability sessions usage Get time-series arrays of the number of observability sessions. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getObservabilitySessionsUsageAsync

        public okhttp3.Call getObservabilitySessionsUsageAsync​(@Nullable
                                                               java.lang.String from,
                                                               @Nullable
                                                               java.lang.String to,
                                                               @Nullable
                                                               java.lang.String projectKey,
                                                               @Nullable
                                                               java.lang.String granularity,
                                                               @Nullable
                                                               java.lang.String aggregationType,
                                                               ApiCallback<SeriesListRep> _callback)
                                                        throws ApiException
        Get observability sessions usage (asynchronously) Get time-series arrays of the number of observability sessions. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getObservabilityTracesUsageCall

        public okhttp3.Call getObservabilityTracesUsageCall​(@Nullable
                                                            java.lang.String from,
                                                            @Nullable
                                                            java.lang.String to,
                                                            @Nullable
                                                            java.lang.String projectKey,
                                                            @Nullable
                                                            java.lang.String granularity,
                                                            @Nullable
                                                            java.lang.String aggregationType,
                                                            ApiCallback _callback)
                                                     throws ApiException
        Build call for getObservabilityTracesUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getObservabilityTracesUsage

        public SeriesListRep getObservabilityTracesUsage​(@Nullable
                                                         java.lang.String from,
                                                         @Nullable
                                                         java.lang.String to,
                                                         @Nullable
                                                         java.lang.String projectKey,
                                                         @Nullable
                                                         java.lang.String granularity,
                                                         @Nullable
                                                         java.lang.String aggregationType)
                                                  throws ApiException
        Get observability traces usage Get time-series arrays of the number of observability traces. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getObservabilityTracesUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getObservabilityTracesUsageWithHttpInfo​(@Nullable
                                                                                  java.lang.String from,
                                                                                  @Nullable
                                                                                  java.lang.String to,
                                                                                  @Nullable
                                                                                  java.lang.String projectKey,
                                                                                  @Nullable
                                                                                  java.lang.String granularity,
                                                                                  @Nullable
                                                                                  java.lang.String aggregationType)
                                                                           throws ApiException
        Get observability traces usage Get time-series arrays of the number of observability traces. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getObservabilityTracesUsageAsync

        public okhttp3.Call getObservabilityTracesUsageAsync​(@Nullable
                                                             java.lang.String from,
                                                             @Nullable
                                                             java.lang.String to,
                                                             @Nullable
                                                             java.lang.String projectKey,
                                                             @Nullable
                                                             java.lang.String granularity,
                                                             @Nullable
                                                             java.lang.String aggregationType,
                                                             ApiCallback<SeriesListRep> _callback)
                                                      throws ApiException
        Get observability traces usage (asynchronously) Get time-series arrays of the number of observability traces. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getServiceConnectionsUsageCall

        public okhttp3.Call getServiceConnectionsUsageCall​(@Nullable
                                                           java.lang.String from,
                                                           @Nullable
                                                           java.lang.String to,
                                                           @Nullable
                                                           java.lang.String projectKey,
                                                           @Nullable
                                                           java.lang.String environmentKey,
                                                           @Nullable
                                                           java.lang.String connectionType,
                                                           @Nullable
                                                           java.lang.String relayVersion,
                                                           @Nullable
                                                           java.lang.String sdkName,
                                                           @Nullable
                                                           java.lang.String sdkVersion,
                                                           @Nullable
                                                           java.lang.String sdkType,
                                                           @Nullable
                                                           java.lang.String groupBy,
                                                           @Nullable
                                                           java.lang.String aggregationType,
                                                           @Nullable
                                                           java.lang.String granularity,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for getServiceConnectionsUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        connectionType - A connection type to filter results by. Can be specified multiple times, one query parameter per connection type. (optional)
        relayVersion - A relay version to filter results by. Can be specified multiple times, one query parameter per relay version. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkVersion - An SDK version to filter results by. Can be specified multiple times, one query parameter per SDK version. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `connectionType`, `relayVersion`, `sdkName`, `sdkVersion`, `sdkType`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getServiceConnectionsUsage

        public SeriesListRepFloat getServiceConnectionsUsage​(@Nullable
                                                             java.lang.String from,
                                                             @Nullable
                                                             java.lang.String to,
                                                             @Nullable
                                                             java.lang.String projectKey,
                                                             @Nullable
                                                             java.lang.String environmentKey,
                                                             @Nullable
                                                             java.lang.String connectionType,
                                                             @Nullable
                                                             java.lang.String relayVersion,
                                                             @Nullable
                                                             java.lang.String sdkName,
                                                             @Nullable
                                                             java.lang.String sdkVersion,
                                                             @Nullable
                                                             java.lang.String sdkType,
                                                             @Nullable
                                                             java.lang.String groupBy,
                                                             @Nullable
                                                             java.lang.String aggregationType,
                                                             @Nullable
                                                             java.lang.String granularity)
                                                      throws ApiException
        Get service connections usage Get a time series array showing the number of service connection minutes from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        connectionType - A connection type to filter results by. Can be specified multiple times, one query parameter per connection type. (optional)
        relayVersion - A relay version to filter results by. Can be specified multiple times, one query parameter per relay version. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkVersion - An SDK version to filter results by. Can be specified multiple times, one query parameter per SDK version. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `connectionType`, `relayVersion`, `sdkName`, `sdkVersion`, `sdkType`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        Returns:
        SeriesListRepFloat
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getServiceConnectionsUsageWithHttpInfo

        public ApiResponse<SeriesListRepFloat> getServiceConnectionsUsageWithHttpInfo​(@Nullable
                                                                                      java.lang.String from,
                                                                                      @Nullable
                                                                                      java.lang.String to,
                                                                                      @Nullable
                                                                                      java.lang.String projectKey,
                                                                                      @Nullable
                                                                                      java.lang.String environmentKey,
                                                                                      @Nullable
                                                                                      java.lang.String connectionType,
                                                                                      @Nullable
                                                                                      java.lang.String relayVersion,
                                                                                      @Nullable
                                                                                      java.lang.String sdkName,
                                                                                      @Nullable
                                                                                      java.lang.String sdkVersion,
                                                                                      @Nullable
                                                                                      java.lang.String sdkType,
                                                                                      @Nullable
                                                                                      java.lang.String groupBy,
                                                                                      @Nullable
                                                                                      java.lang.String aggregationType,
                                                                                      @Nullable
                                                                                      java.lang.String granularity)
                                                                               throws ApiException
        Get service connections usage Get a time series array showing the number of service connection minutes from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        connectionType - A connection type to filter results by. Can be specified multiple times, one query parameter per connection type. (optional)
        relayVersion - A relay version to filter results by. Can be specified multiple times, one query parameter per relay version. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkVersion - An SDK version to filter results by. Can be specified multiple times, one query parameter per SDK version. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `connectionType`, `relayVersion`, `sdkName`, `sdkVersion`, `sdkType`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        Returns:
        ApiResponse<SeriesListRepFloat>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getServiceConnectionsUsageAsync

        public okhttp3.Call getServiceConnectionsUsageAsync​(@Nullable
                                                            java.lang.String from,
                                                            @Nullable
                                                            java.lang.String to,
                                                            @Nullable
                                                            java.lang.String projectKey,
                                                            @Nullable
                                                            java.lang.String environmentKey,
                                                            @Nullable
                                                            java.lang.String connectionType,
                                                            @Nullable
                                                            java.lang.String relayVersion,
                                                            @Nullable
                                                            java.lang.String sdkName,
                                                            @Nullable
                                                            java.lang.String sdkVersion,
                                                            @Nullable
                                                            java.lang.String sdkType,
                                                            @Nullable
                                                            java.lang.String groupBy,
                                                            @Nullable
                                                            java.lang.String aggregationType,
                                                            @Nullable
                                                            java.lang.String granularity,
                                                            ApiCallback<SeriesListRepFloat> _callback)
                                                     throws ApiException
        Get service connections usage (asynchronously) Get a time series array showing the number of service connection minutes from your account. The supported granularity varies by aggregation type. The maximum time range is 365 days.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        environmentKey - An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key. (optional)
        connectionType - A connection type to filter results by. Can be specified multiple times, one query parameter per connection type. (optional)
        relayVersion - A relay version to filter results by. Can be specified multiple times, one query parameter per relay version. (optional)
        sdkName - An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name. (optional)
        sdkVersion - An SDK version to filter results by. Can be specified multiple times, one query parameter per SDK version. (optional)
        sdkType - An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type. (optional)
        groupBy - If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `connectionType`, `relayVersion`, `sdkName`, `sdkVersion`, `sdkType`. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getStreamUsageCall

        public okhttp3.Call getStreamUsageCall​(@Nonnull
                                               java.lang.String source,
                                               @Nullable
                                               java.lang.String from,
                                               @Nullable
                                               java.lang.String to,
                                               @Nullable
                                               java.lang.String tz,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getStreamUsage
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getStreamUsage

        public SeriesListRep getStreamUsage​(@Nonnull
                                            java.lang.String source,
                                            @Nullable
                                            java.lang.String from,
                                            @Nullable
                                            java.lang.String to,
                                            @Nullable
                                            java.lang.String tz)
                                     throws ApiException
        Get stream usage Get a time-series array of the number of streaming connections to LaunchDarkly in each time period. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getStreamUsageWithHttpInfo​(@Nonnull
                                                                     java.lang.String source,
                                                                     @Nullable
                                                                     java.lang.String from,
                                                                     @Nullable
                                                                     java.lang.String to,
                                                                     @Nullable
                                                                     java.lang.String tz)
                                                              throws ApiException
        Get stream usage Get a time-series array of the number of streaming connections to LaunchDarkly in each time period. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageAsync

        public okhttp3.Call getStreamUsageAsync​(@Nonnull
                                                java.lang.String source,
                                                @Nullable
                                                java.lang.String from,
                                                @Nullable
                                                java.lang.String to,
                                                @Nullable
                                                java.lang.String tz,
                                                ApiCallback<SeriesListRep> _callback)
                                         throws ApiException
        Get stream usage (asynchronously) Get a time-series array of the number of streaming connections to LaunchDarkly in each time period. The granularity of the data depends on the age of the data requested. If the requested range is within the past two hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 30 days ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getStreamUsageBySdkVersionCall

        public okhttp3.Call getStreamUsageBySdkVersionCall​(@Nonnull
                                                           java.lang.String source,
                                                           @Nullable
                                                           java.lang.String from,
                                                           @Nullable
                                                           java.lang.String to,
                                                           @Nullable
                                                           java.lang.String tz,
                                                           @Nullable
                                                           java.lang.String sdk,
                                                           @Nullable
                                                           java.lang.String version,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for getStreamUsageBySdkVersion
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        sdk - If included, this filters the returned series to only those that match this SDK name. (optional)
        version - If included, this filters the returned series to only those that match this SDK version. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getStreamUsageBySdkVersion

        public SeriesListRep getStreamUsageBySdkVersion​(@Nonnull
                                                        java.lang.String source,
                                                        @Nullable
                                                        java.lang.String from,
                                                        @Nullable
                                                        java.lang.String to,
                                                        @Nullable
                                                        java.lang.String tz,
                                                        @Nullable
                                                        java.lang.String sdk,
                                                        @Nullable
                                                        java.lang.String version)
                                                 throws ApiException
        Get stream usage by SDK version Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version. Information about each series is in the metadata array. The granularity of the data depends on the age of the data requested. If the requested range is within the past 2 hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        sdk - If included, this filters the returned series to only those that match this SDK name. (optional)
        version - If included, this filters the returned series to only those that match this SDK version. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageBySdkVersionWithHttpInfo

        public ApiResponse<SeriesListRep> getStreamUsageBySdkVersionWithHttpInfo​(@Nonnull
                                                                                 java.lang.String source,
                                                                                 @Nullable
                                                                                 java.lang.String from,
                                                                                 @Nullable
                                                                                 java.lang.String to,
                                                                                 @Nullable
                                                                                 java.lang.String tz,
                                                                                 @Nullable
                                                                                 java.lang.String sdk,
                                                                                 @Nullable
                                                                                 java.lang.String version)
                                                                          throws ApiException
        Get stream usage by SDK version Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version. Information about each series is in the metadata array. The granularity of the data depends on the age of the data requested. If the requested range is within the past 2 hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        sdk - If included, this filters the returned series to only those that match this SDK name. (optional)
        version - If included, this filters the returned series to only those that match this SDK version. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageBySdkVersionAsync

        public okhttp3.Call getStreamUsageBySdkVersionAsync​(@Nonnull
                                                            java.lang.String source,
                                                            @Nullable
                                                            java.lang.String from,
                                                            @Nullable
                                                            java.lang.String to,
                                                            @Nullable
                                                            java.lang.String tz,
                                                            @Nullable
                                                            java.lang.String sdk,
                                                            @Nullable
                                                            java.lang.String version,
                                                            ApiCallback<SeriesListRep> _callback)
                                                     throws ApiException
        Get stream usage by SDK version (asynchronously) Get multiple series of the number of streaming connections to LaunchDarkly in each time period, separated by SDK type and version. Information about each series is in the metadata array. The granularity of the data depends on the age of the data requested. If the requested range is within the past 2 hours, minutely data is returned. If it is within the last two days, hourly data is returned. Otherwise, daily data is returned.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        from - The series of data returned starts from this timestamp. Defaults to 24 hours ago. (optional)
        to - The series of data returned ends at this timestamp. Defaults to the current time. (optional)
        tz - The timezone to use for breaks between days when returning daily data. (optional)
        sdk - If included, this filters the returned series to only those that match this SDK name. (optional)
        version - If included, this filters the returned series to only those that match this SDK version. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getStreamUsageSdkversionCall

        public okhttp3.Call getStreamUsageSdkversionCall​(@Nonnull
                                                         java.lang.String source,
                                                         ApiCallback _callback)
                                                  throws ApiException
        Build call for getStreamUsageSdkversion
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getStreamUsageSdkversion

        public SdkVersionListRep getStreamUsageSdkversion​(@Nonnull
                                                          java.lang.String source)
                                                   throws ApiException
        Get stream usage SDK versions Get a list of SDK version objects, which contain an SDK name and version. These are all of the SDKs that have connected to LaunchDarkly from your account in the past 60 days.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        Returns:
        SdkVersionListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageSdkversionWithHttpInfo

        public ApiResponse<SdkVersionListRep> getStreamUsageSdkversionWithHttpInfo​(@Nonnull
                                                                                   java.lang.String source)
                                                                            throws ApiException
        Get stream usage SDK versions Get a list of SDK version objects, which contain an SDK name and version. These are all of the SDKs that have connected to LaunchDarkly from your account in the past 60 days.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        Returns:
        ApiResponse<SdkVersionListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getStreamUsageSdkversionAsync

        public okhttp3.Call getStreamUsageSdkversionAsync​(@Nonnull
                                                          java.lang.String source,
                                                          ApiCallback<SdkVersionListRep> _callback)
                                                   throws ApiException
        Get stream usage SDK versions (asynchronously) Get a list of SDK version objects, which contain an SDK name and version. These are all of the SDKs that have connected to LaunchDarkly from your account in the past 60 days.
        Parameters:
        source - The source of streaming connections to describe. Must be either `client` or `server`. (required)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getVegaAIUsageCall

        public okhttp3.Call getVegaAIUsageCall​(@Nullable
                                               java.lang.String from,
                                               @Nullable
                                               java.lang.String to,
                                               @Nullable
                                               java.lang.String projectKey,
                                               @Nullable
                                               java.lang.String granularity,
                                               @Nullable
                                               java.lang.String aggregationType,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for getVegaAIUsage
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getVegaAIUsage

        public SeriesListRep getVegaAIUsage​(@Nullable
                                            java.lang.String from,
                                            @Nullable
                                            java.lang.String to,
                                            @Nullable
                                            java.lang.String projectKey,
                                            @Nullable
                                            java.lang.String granularity,
                                            @Nullable
                                            java.lang.String aggregationType)
                                     throws ApiException
        Get Vega AI usage Get time-series arrays of the number of Vega AI usage. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        SeriesListRep
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getVegaAIUsageWithHttpInfo

        public ApiResponse<SeriesListRep> getVegaAIUsageWithHttpInfo​(@Nullable
                                                                     java.lang.String from,
                                                                     @Nullable
                                                                     java.lang.String to,
                                                                     @Nullable
                                                                     java.lang.String projectKey,
                                                                     @Nullable
                                                                     java.lang.String granularity,
                                                                     @Nullable
                                                                     java.lang.String aggregationType)
                                                              throws ApiException
        Get Vega AI usage Get time-series arrays of the number of Vega AI usage. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        Returns:
        ApiResponse<SeriesListRep>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getVegaAIUsageAsync

        public okhttp3.Call getVegaAIUsageAsync​(@Nullable
                                                java.lang.String from,
                                                @Nullable
                                                java.lang.String to,
                                                @Nullable
                                                java.lang.String projectKey,
                                                @Nullable
                                                java.lang.String granularity,
                                                @Nullable
                                                java.lang.String aggregationType,
                                                ApiCallback<SeriesListRep> _callback)
                                         throws ApiException
        Get Vega AI usage (asynchronously) Get time-series arrays of the number of Vega AI usage. Supports `daily` and `monthly` granularity.
        Parameters:
        from - The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month. (optional)
        to - The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time. (optional)
        projectKey - A project key to filter results by. Can be specified multiple times, one query parameter per project key. (optional)
        granularity - Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only. (optional)
        aggregationType - Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`. (optional)
        _callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object