Corrections
List a data point's corrections
Lists the corrections recorded on one data point, oldest first, giving the audit trail behind its current value. Reverts appear as their own entries with method: revert. Corrections written by a data rule carry the rule that produced them.
The response is paginated and carries the standard info envelope. Sort with sort on id, created_at, stage or source, and filter with filter on id, stage, source or method. See Pagination.
GET
/
projects
/
{project_id}
/
events
/
{event_id}
/
data_points
/
{slug}
/
corrections
List a data point's corrections
curl --request GET \
--url https://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections \
--header 'Authorization: <api-key>'import requests
url = "https://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections', 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://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections",
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: <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://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "sub_9TnpQxL2mKdRvWs4",
"data_point_id": "in_kiIuaGIUqRxWUmTY",
"stage": "ingestion",
"source": "api",
"method": "manual_entry",
"origin": "substituted",
"from_value": 14.9,
"to_value": 12.4,
"notes": "Sensor drift confirmed against the calibration log.",
"rule": null,
"created_by": "Aaron Rosenberg",
"created_at": "2026-07-21T14:02:55.000Z"
},
{
"id": "sub_Kz4mRt7QpLdNvXb8",
"data_point_id": "in_kiIuaGIUqRxWUmTY",
"stage": "ingestion",
"source": "api",
"method": "revert",
"origin": "reverted",
"from_value": 12.4,
"to_value": 14.9,
"notes": null,
"rule": null,
"created_by": "Aaron Rosenberg",
"created_at": "2026-07-22T09:15:30.000Z"
}
],
"info": {
"items": 2,
"page_size": 10,
"total_items": 2,
"current_page": 1,
"next_page": null,
"previous_page": null,
"total_pages": 1,
"sort": [],
"filter": []
}
}Authorizations
Path Parameters
Unique ID of the event in the evt_XXXX syntax. For example: evt_DLnYvzbjSujNAvXE
Data point type slug on the event's event type. For example: ambient-temperature-c
⌘I
List a data point's corrections
curl --request GET \
--url https://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections \
--header 'Authorization: <api-key>'import requests
url = "https://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections', 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://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections",
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: <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://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.gomangrove.com/api/v1/projects/{project_id}/events/{event_id}/data_points/{slug}/corrections")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "sub_9TnpQxL2mKdRvWs4",
"data_point_id": "in_kiIuaGIUqRxWUmTY",
"stage": "ingestion",
"source": "api",
"method": "manual_entry",
"origin": "substituted",
"from_value": 14.9,
"to_value": 12.4,
"notes": "Sensor drift confirmed against the calibration log.",
"rule": null,
"created_by": "Aaron Rosenberg",
"created_at": "2026-07-21T14:02:55.000Z"
},
{
"id": "sub_Kz4mRt7QpLdNvXb8",
"data_point_id": "in_kiIuaGIUqRxWUmTY",
"stage": "ingestion",
"source": "api",
"method": "revert",
"origin": "reverted",
"from_value": 12.4,
"to_value": 14.9,
"notes": null,
"rule": null,
"created_by": "Aaron Rosenberg",
"created_at": "2026-07-22T09:15:30.000Z"
}
],
"info": {
"items": 2,
"page_size": 10,
"total_items": 2,
"current_page": 1,
"next_page": null,
"previous_page": null,
"total_pages": 1,
"sort": [],
"filter": []
}
}