List device deliveries
curl --request GET \
--url https://fleet-api.flatpeak.com/devices/{device_id}/deliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://fleet-api.flatpeak.com/devices/{device_id}/deliveries"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://fleet-api.flatpeak.com/devices/{device_id}/deliveries', 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://fleet-api.flatpeak.com/devices/{device_id}/deliveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://fleet-api.flatpeak.com/devices/{device_id}/deliveries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://fleet-api.flatpeak.com/devices/{device_id}/deliveries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://fleet-api.flatpeak.com/devices/{device_id}/deliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"url": "/devices/dev_63a6087272941ef077a8fd3e/deliveries",
"next_cursor": null,
"data": [
{
"object": "vpp_event_delivery",
"device_id": "dev_63a6087272941ef077a8fd3e",
"vpp_event_id": "vpe_7d2a4c6e9b1f3a5c8e0d2f4b",
"program_id": "vpr_5c8d1f2a7b3e4d6c9a0f1b2c",
"start_time": "2026-08-04T20:00:00Z",
"end_time": "2026-08-04T21:00:00Z",
"committed_power_kw": -4.3,
"committed_energy_kwh": -4.3,
"delivered_energy_kwh": -4.3,
"coverage": 1,
"fulfillment": 1,
"status": "FULL",
"time_reported": "2026-08-04T22:06:12Z",
"commitment_confidence": 0.91
},
{
"object": "vpp_event_delivery",
"device_id": "dev_63a6087272941ef077a8fd3e",
"vpp_event_id": "vpe_7d2a4c6e9b1f3a5c8e0d2f4b",
"program_id": "vpr_5c8d1f2a7b3e4d6c9a0f1b2c",
"start_time": "2026-08-04T21:00:00Z",
"end_time": "2026-08-04T22:00:00Z",
"committed_power_kw": -4.3,
"committed_energy_kwh": -4.3,
"delivered_energy_kwh": -3.6,
"coverage": 1,
"fulfillment": 0.84,
"status": "PARTIAL",
"time_reported": "2026-08-04T22:06:12Z",
"commitment_confidence": 0.91
}
]
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}VPP events
List device deliveries
Returns the device’s delivery per VPP event interval within the window, across every event it was in: committed power and energy, delivered energy, coverage and fulfillment. Delivery is measured from meter records; intervals no meter records cover are UNREPORTED. An interval in which the device was given no share is NOT_COMMITTED.
GET
/
devices
/
{device_id}
/
deliveries
List device deliveries
curl --request GET \
--url https://fleet-api.flatpeak.com/devices/{device_id}/deliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://fleet-api.flatpeak.com/devices/{device_id}/deliveries"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://fleet-api.flatpeak.com/devices/{device_id}/deliveries', 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://fleet-api.flatpeak.com/devices/{device_id}/deliveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://fleet-api.flatpeak.com/devices/{device_id}/deliveries"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://fleet-api.flatpeak.com/devices/{device_id}/deliveries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://fleet-api.flatpeak.com/devices/{device_id}/deliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"object": "list",
"url": "/devices/dev_63a6087272941ef077a8fd3e/deliveries",
"next_cursor": null,
"data": [
{
"object": "vpp_event_delivery",
"device_id": "dev_63a6087272941ef077a8fd3e",
"vpp_event_id": "vpe_7d2a4c6e9b1f3a5c8e0d2f4b",
"program_id": "vpr_5c8d1f2a7b3e4d6c9a0f1b2c",
"start_time": "2026-08-04T20:00:00Z",
"end_time": "2026-08-04T21:00:00Z",
"committed_power_kw": -4.3,
"committed_energy_kwh": -4.3,
"delivered_energy_kwh": -4.3,
"coverage": 1,
"fulfillment": 1,
"status": "FULL",
"time_reported": "2026-08-04T22:06:12Z",
"commitment_confidence": 0.91
},
{
"object": "vpp_event_delivery",
"device_id": "dev_63a6087272941ef077a8fd3e",
"vpp_event_id": "vpe_7d2a4c6e9b1f3a5c8e0d2f4b",
"program_id": "vpr_5c8d1f2a7b3e4d6c9a0f1b2c",
"start_time": "2026-08-04T21:00:00Z",
"end_time": "2026-08-04T22:00:00Z",
"committed_power_kw": -4.3,
"committed_energy_kwh": -4.3,
"delivered_energy_kwh": -3.6,
"coverage": 1,
"fulfillment": 0.84,
"status": "PARTIAL",
"time_reported": "2026-08-04T22:06:12Z",
"commitment_confidence": 0.91
}
]
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}{
"object": "error",
"type": "invalid_request",
"code": "access_denied",
"message": "The requested resource could not be found.",
"context": "api.price_get",
"live_mode": true,
"time_created": "2026-01-01T00:00:00Z"
}Authorizations
Authenticate with the bearer_token obtained from the authentication endpoint.
Query Parameters
Response
VPP event delivery list response.
Was this page helpful?

