SearchDataDistributionInput is an input for querying segment data distribution statistics. This datatype is used by the searchDataDistribution() query.

Table: SearchDataDistributionInput

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
argumentsQueryArgumentInputTypeyes   Query arguments for parameterized queries.
includeEmptyRepositoriesBoolean   added in 1.267Whether to include repositories where no datasource matches the query or no matching datasource has segments in the time range. Repositories the query can never target are always excluded. Defaults to false.
maxDatasourcesInt    Maximum number of datasources to return. Defaults to 1000.
maxTagEntriesInt    Maximum number of tag distribution entries to return. Defaults to 200.
queryStringStringyes   Query string for tag-based datasource filtering. Empty string matches all datasources.
searchDomainNameStringyes   The repository or view to analyze. Views with multiple connections return per-repository results.
timeBucketsInt    Number of time buckets for the distribution histogram. Defaults to 50, max 50.
timeIntervalQueryTimeInterval    Optional time range. Defaults to last 24 hours if omitted.