get_series
Retrieve downsampled time-series data with avg, min, max, and count per bucket to read numeric answers directly from your context.
Instructions
Downsampled time series returned INLINE: avg, min, max, count per bucket.
Capped at 1000 rows and charged to your context. Use it when you need to
read the numbers to answer a question. For plotting or any bulk
analysis, use export_series instead.
start and end are ISO-8601; bucket is a Postgres interval such as
'100 milliseconds', '1 second', or '5 minutes'. Choose a bucket that keeps
the result under a few hundred rows. index picks the element of the
values array (1-based).
Report the topic name you passed in your answer to the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| car | No | ||
| end | Yes | ||
| index | No | ||
| start | Yes | ||
| topic | Yes | ||
| bucket | No | 1 second |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||