Get the tenant's effective CDP retention policy
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/cdp/retention-policyimport requests
url = "https://api.orbit.devotel.io/api/v1/cdp/retention-policy"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orbit.devotel.io/api/v1/cdp/retention-policy', 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.orbit.devotel.io/api/v1/cdp/retention-policy",
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.orbit.devotel.io/api/v1/cdp/retention-policy"
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.orbit.devotel.io/api/v1/cdp/retention-policy")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/retention-policy")
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{
"data": {
"effective": [
{
"target": "raw_track_events",
"retention_days": 45,
"source": "target_override",
"default_days": 90,
"event_name": null
},
{
"target": "deliveries",
"retention_days": 90,
"source": "default",
"default_days": 90,
"event_name": null
},
{
"target": "tracking_plan_violations",
"retention_days": 30,
"source": "default",
"default_days": 30,
"event_name": null
}
],
"overrides": {
"raw_track_events": {
"retention_days": 45,
"notes": "GDPR storage-limitation policy 2026-Q3"
}
},
"catalog": [
{
"key": "raw_track_events",
"label": "Raw track events",
"default_days": 90,
"min_days": 1,
"max_days": 730,
"supports_event_overrides": true
},
{
"key": "deliveries",
"label": "Destination delivery log",
"default_days": 90,
"min_days": 1,
"max_days": 365,
"supports_event_overrides": false
},
{
"key": "tracking_plan_violations",
"label": "Tracking-plan violations",
"default_days": 30,
"min_days": 1,
"max_days": 365,
"supports_event_overrides": false
}
],
"summary": {
"overridden_targets": 1,
"event_overrides": 0,
"has_tightened": true
}
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"timestamp": "2026-08-19T12:00:00.000Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "<string>",
"status": 429,
"retry_after": 2
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}CDP
Get the tenant's effective CDP retention policy
Returns the EFFECTIVE retention window for every retention target (raw track events, destination deliveries, tracking-plan violations) — each row shows the window the reaper applies today, whether it came from a tenant override or the platform default, and the default for comparison. Also returns the override registry, the target catalog with min/max guard rails, and a roll-up summary. Use it to audit GDPR storage-limitation posture in one call. Requires owner/admin/developer + contacts:read.
GET
/
api
/
v1
/
cdp
/
retention-policy
Get the tenant's effective CDP retention policy
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/cdp/retention-policyimport requests
url = "https://api.orbit.devotel.io/api/v1/cdp/retention-policy"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orbit.devotel.io/api/v1/cdp/retention-policy', 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.orbit.devotel.io/api/v1/cdp/retention-policy",
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.orbit.devotel.io/api/v1/cdp/retention-policy"
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.orbit.devotel.io/api/v1/cdp/retention-policy")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/retention-policy")
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{
"data": {
"effective": [
{
"target": "raw_track_events",
"retention_days": 45,
"source": "target_override",
"default_days": 90,
"event_name": null
},
{
"target": "deliveries",
"retention_days": 90,
"source": "default",
"default_days": 90,
"event_name": null
},
{
"target": "tracking_plan_violations",
"retention_days": 30,
"source": "default",
"default_days": 30,
"event_name": null
}
],
"overrides": {
"raw_track_events": {
"retention_days": 45,
"notes": "GDPR storage-limitation policy 2026-Q3"
}
},
"catalog": [
{
"key": "raw_track_events",
"label": "Raw track events",
"default_days": 90,
"min_days": 1,
"max_days": 730,
"supports_event_overrides": true
},
{
"key": "deliveries",
"label": "Destination delivery log",
"default_days": 90,
"min_days": 1,
"max_days": 365,
"supports_event_overrides": false
},
{
"key": "tracking_plan_violations",
"label": "Tracking-plan violations",
"default_days": 30,
"min_days": 1,
"max_days": 365,
"supports_event_overrides": false
}
],
"summary": {
"overridden_targets": 1,
"event_overrides": 0,
"has_tightened": true
}
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"timestamp": "2026-08-19T12:00:00.000Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "<string>",
"status": 429,
"retry_after": 2
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"details": {}
},
"meta": {
"request_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"docs_url": "<string>"
}
}Response
Effective retention for every target, the tenant's overrides, the catalog, and a summary.
Effective retention for every target, the tenant's overrides, the catalog, and a summary.