[SDK reference](../../index.md) / [Models](../index.md) / [Databases](index.md)

# TimeSeriesAggregateRequest

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Databases`  

An aggregation of a table by time buckets.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `Aggregates` | `List<Models.Databases.TimeSeriesAggregate>?` | `aggregates` | 1 to 16 aggregates. |
| `Bucket` | `Models.Databases.TimeSeriesAggregateRequest_bucket?` | `bucket` | The bucket property |
| `From` | `DateTimeOffset?` | `from` | The start, inclusive. |
| `Limit` | `int?` | `limit` | At most 5000 buckets; default 1000. |
| `Rollup` | `string?` | `rollup` | Read this rollup instead of the raw rows: its bucket must divide the query's bucket and it must hold every aggregate asked for. |
| `Series` | `string?` | `series` | One series to look at; each series apart when omitted. |
| `To` | `DateTimeOffset?` | `to` | The end, exclusive; at most 366 days after `from`. |
