from

The start of a range, inclusive.

Applies to: timeseries, stream, the batch run list of batchrun (/batchruns), the archive list of archive (/archives), and latest together with rangeField

Value: a date or date and time: YYYY-MM-DD, YYYY-MM-DDThh:mm:ss, optionally with fractional seconds and a time zone (Z or +hh:mm), or milliseconds since the epoch. A + in a URL must be written as %2B. Omitting from leaves the start of the range open.

Meaning per service

  • timeseries: the range of the time series field of the entity. from must not be later than to.
  • stream: the time at which a message was published. Without after, the stream starts at the first message published at or after this time.
  • batchruns: the asOf of the batch run.
  • archives: the time range of the archive.
  • latest: the bound of the field given in rangeField.

Note: Instead of rangeField, from and to on the latest service you can write the bounds directly: field>=value&field<=value. This is simpler, supports several fields and is the recommended notation.

For a range on the latest service, the type of the value depends on the field. For several fields, give comma-separated values and write null where there is no bound:

/namespace/Entity/latest?rangeField=aa,bb&from=0.2,null&to=null,0.9

to, rangeField