curl --request GET \
--url https://api.orbit.devotel.io/api/v1/cdp/subscriptions/{id}/slaimport requests
url = "https://api.orbit.devotel.io/api/v1/cdp/subscriptions/{id}/sla"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orbit.devotel.io/api/v1/cdp/subscriptions/{id}/sla', 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/subscriptions/{id}/sla",
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/subscriptions/{id}/sla"
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/subscriptions/{id}/sla")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/subscriptions/{id}/sla")
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": {
"subscription_id": "cdpsub_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"window_days": 30,
"since": "2026-08-04T00:00:00.000Z",
"total": 1482,
"success": 1477,
"failed": 5,
"pending": 0,
"uptime_pct": 99.66,
"p50_response_ms": 141,
"p95_response_ms": 388,
"last_success_at": "2026-09-03T04:12:00.000Z",
"last_failure_at": "2026-08-29T19:44:00.000Z"
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2"
}
}{
"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>"
}
}Get a subscription's delivery SLA over a sliding window
Computes the subscription’s delivery health over the sliding window (days query, default-driven by the bounded SLA query schema): total / success / failed / pending delivery counts, an uptime percentage (pending rows excluded — they have not reached terminal state), and p50 / p95 delivery response times plus the last success and failure timestamps. Use it to render the “destination sync uptime: 99.7% last 30 days” framing on a destination card. Owner / admin / developer only.
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/cdp/subscriptions/{id}/slaimport requests
url = "https://api.orbit.devotel.io/api/v1/cdp/subscriptions/{id}/sla"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orbit.devotel.io/api/v1/cdp/subscriptions/{id}/sla', 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/subscriptions/{id}/sla",
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/subscriptions/{id}/sla"
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/subscriptions/{id}/sla")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/subscriptions/{id}/sla")
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": {
"subscription_id": "cdpsub_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"window_days": 30,
"since": "2026-08-04T00:00:00.000Z",
"total": 1482,
"success": 1477,
"failed": 5,
"pending": 0,
"uptime_pct": 99.66,
"p50_response_ms": 141,
"p95_response_ms": 388,
"last_success_at": "2026-09-03T04:12:00.000Z",
"last_failure_at": "2026-08-29T19:44:00.000Z"
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2"
}
}{
"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>"
}
}Path Parameters
Response
SLA aggregates for the window: counts, uptime percentage (null when the window has no completed deliveries), p50/p95 response times, and last success/failure timestamps.
SLA aggregates for the window: counts, uptime percentage (null when the window has no completed deliveries), p50/p95 response times, and last success/failure timestamps.
{
"data": {
"subscription_id": "cdpsub_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"window_days": 30,
"since": "2026-08-04T00:00:00.000Z",
"total": 1482,
"success": 1477,
"failed": 5,
"pending": 0,
"uptime_pct": 99.66,
"p50_response_ms": 141,
"p95_response_ms": 388,
"last_success_at": "2026-09-03T04:12:00.000Z",
"last_failure_at": "2026-08-29T19:44:00.000Z"
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2"
}
}