NEST by Elastic and contributors

<PackageReference Include="NEST" Version="6.8.11" />

.NET API 5,345,280 bytes

 GetBucketsRequest

public class GetBucketsRequest : PlainRequestBase<GetBucketsRequestParameters>, IGetBucketsRequest, IRequest<GetBucketsRequestParameters>, IRequest
Request parameters for XpackMlGetBuckets http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html
public double? AnomalyScore { get; set; }

Returns buckets with anomaly scores higher than this value.

public bool? Descending { get; set; }

If true, the buckets are sorted in descending order.

public DateTimeOffset? End { get; set; }

Returns buckets with timestamps earlier than this time.

public bool? ExcludeInterim { get; set; }

If true, the output excludes interim results. By default, interim results are included.

public bool? Expand { get; set; }

If true, the output includes anomaly records.

public IPage Page { get; set; }

Specifies pagination for the buckets

protected IGetBucketsRequest Self { get; }

public Field Sort { get; set; }

Specifies the sort field for the requested buckets. By default, the buckets are sorted by the timestamp field.

public DateTimeOffset? Start { get; set; }

Returns buckets with timestamps after this time.

public DateTimeOffset? Timestamp { get; set; }

Returns buckets with matching timestamps.

public GetBucketsRequest(Id job_id)

/_xpack/ml/anomaly_detectors/{job_id}/results/buckets