get_project_timeseries
Retrieve time series data for specific datapoints within a project, with options to filter by time range, resample intervals, and customize output formats.
Instructions
Get time series data for one or more datapoints in a project.
Args: project_id: The project's numeric ID. datapoint_ids: Comma-separated datapoint IDs (hash keys or alternate keys). start: Start time in ISO 8601 format (e.g. '2024-01-01T00:00:00Z'). end: End time in ISO 8601 format. max: Maximum number of observations to return. samplerate: Resample interval (e.g. '15min', '1h', '1d'). interpolation: Interpolation method when resampling (e.g. 'linear', 'pad'). aggregation: Aggregation method when resampling (e.g. 'mean', 'sum', 'max', 'min'). short: If true, return short format (timestamps + values only). units_system: Unit system (e.g. 'SI', 'imperial'). currency_system: Currency system.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"datapoint_ids": "<datapoint_ids>"
},
"name": "get_project_timeseries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| datapoint_ids | Yes | ||
| start | No | ||
| end | No | ||
| max | No | ||
| samplerate | No | ||
| interpolation | No | ||
| aggregation | No | ||
| short | No | ||
| units_system | No | ||
| currency_system | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |