List history by device
curl --request GET \
--url https://api.orbital-systems.com/client/history/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.orbital-systems.com/client/history/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.orbital-systems.com/client/history/{id}', 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.orbital-systems.com/client/history/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.orbital-systems.com/client/history/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.orbital-systems.com/client/history/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbital-systems.com/client/history/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"Count": 123,
"Items": [
{
"id": "1730530800000",
"session_id": "1730530800000",
"timestamp": "2026-11-02T06:20:00.000Z",
"type": "shower",
"session_type": "SHOWER",
"shower_id": "0b7a6c1e-5f2d-4c3b-8a9e-1d2f3a4b5c6d",
"saved_water": 42.5,
"saved_energy": 1.84,
"active_duration": 420,
"avg_temperature": 38.2,
"avg_user_temperature": 38,
"filter_status": 72,
"feedback_rating": 5,
"feedback_text": "Perfect temperature"
}
]
}{
"message": "Invalid date format",
"statusCode": 400,
"name": "InvalidParameterError"
}{
"message": "Unauthorized",
"statusCode": 401,
"name": "UnauthorizedError"
}{
"message": "Shower not found",
"statusCode": 404,
"name": "NotFoundError"
}{
"message": "Internal server error"
}History.
List history by device
GET
/
client
/
history
/
{id}
List history by device
curl --request GET \
--url https://api.orbital-systems.com/client/history/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.orbital-systems.com/client/history/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.orbital-systems.com/client/history/{id}', 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.orbital-systems.com/client/history/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.orbital-systems.com/client/history/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.orbital-systems.com/client/history/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbital-systems.com/client/history/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"Count": 123,
"Items": [
{
"id": "1730530800000",
"session_id": "1730530800000",
"timestamp": "2026-11-02T06:20:00.000Z",
"type": "shower",
"session_type": "SHOWER",
"shower_id": "0b7a6c1e-5f2d-4c3b-8a9e-1d2f3a4b5c6d",
"saved_water": 42.5,
"saved_energy": 1.84,
"active_duration": 420,
"avg_temperature": 38.2,
"avg_user_temperature": 38,
"filter_status": 72,
"feedback_rating": 5,
"feedback_text": "Perfect temperature"
}
]
}{
"message": "Invalid date format",
"statusCode": 400,
"name": "InvalidParameterError"
}{
"message": "Unauthorized",
"statusCode": 401,
"name": "UnauthorizedError"
}{
"message": "Shower not found",
"statusCode": 404,
"name": "NotFoundError"
}{
"message": "Internal server error"
}Authorizations
Send your API key in the x-api-key header of every request. The key belongs to one Orbital account, and requests act as that account: they see and control only the devices it owns or has been given access to. A missing or unknown key gets 403 with { "message": "Forbidden" }.
Path Parameters
ID of a shower, or several shower IDs separated by commas. Returns only shower sessions.
Query Parameters
Start of the range, as an ISO 8601 date or date-time. Defaults to 1970-01-01.
End of the range, as an ISO 8601 date or date-time. Defaults to now.
Was this page helpful?