curl --request GET \
--url https://api.ionworks.com/cell_measurements/{measurement_id}/time_seriesimport requests
url = "https://api.ionworks.com/cell_measurements/{measurement_id}/time_series"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.ionworks.com/cell_measurements/{measurement_id}/time_series', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ionworks.com/cell_measurements/{measurement_id}/time_series",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ionworks.com/cell_measurements/{measurement_id}/time_series"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ionworks.com/cell_measurements/{measurement_id}/time_series")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionworks.com/cell_measurements/{measurement_id}/time_series")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get time series data for a measurement
Return time series data from storage.
Does not include steps or cycles. Use GET /steps for steps and GET /cycles for cycle metrics.
curl --request GET \
--url https://api.ionworks.com/cell_measurements/{measurement_id}/time_seriesimport requests
url = "https://api.ionworks.com/cell_measurements/{measurement_id}/time_series"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.ionworks.com/cell_measurements/{measurement_id}/time_series', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ionworks.com/cell_measurements/{measurement_id}/time_series",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ionworks.com/cell_measurements/{measurement_id}/time_series"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ionworks.com/cell_measurements/{measurement_id}/time_series")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionworks.com/cell_measurements/{measurement_id}/time_series")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Path Parameters
Query Parameters
Deprecated: use max_points
x >= 1Maximum rows to return. Canonical name for the point budget; wins over the deprecated target_rows when both are given.
x >= 1Comma-separated list of columns to load (e.g., 'time,voltage')
Step numbers to keep, as singletons and/or ranges (e.g. '0-2,5,8-10')
Comma-separated list of cycle counts to filter (e.g., '1,2,3')
Minimum x-axis value to filter
Maximum x-axis value to filter
Column name for x-axis filtering (e.g., 'Time [s]')
Column whose values the client draws as separate stacked traces, e.g. 'Cycle count'. Bins are then laid within each group instead of across their combined span, so a sparse selection does not spend its budget on the gaps between the groups it kept. Send it only when really stacking: per-group bins are a different grid, not a finer one.
'group' re-bases x_column so each group starts at zero, which is what a stacked plot draws; x_min/x_max are then read in those coordinates. Requires group_column. Omitted, x is returned as stored.
Response
Successful Response
Was this page helpful?