curl --request GET \
--url https://api.orbit.devotel.io/api/v1/cdp/segments/{id}/insightsimport requests
url = "https://api.orbit.devotel.io/api/v1/cdp/segments/{id}/insights"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orbit.devotel.io/api/v1/cdp/segments/{id}/insights', 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/segments/{id}/insights",
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/segments/{id}/insights"
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/segments/{id}/insights")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/segments/{id}/insights")
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": {
"segment_id": "seg_01J8Y2",
"segment_name": "High-intent browsers",
"member_count": 1842,
"rest_sample_count": 50000,
"insights": [
{
"attribute": "country_code",
"label": "Country code",
"value": "DE",
"segment_count": 912,
"segment_share": 0.4951,
"rest_count": 2103,
"rest_share": 0.0421,
"difference": 0.453,
"lift": 11.76,
"direction": "over",
"exclusive_to_segment": false
}
],
"attributes_profiled": [
"lifecycle_stage",
"country_code",
"language",
"timezone",
"company",
"mccmnc",
"dnc",
"is_blocked",
"memory_enabled"
],
"sampled": false,
"sampling_note": null
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"timestamp": "2026-08-07T12: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>"
}
}Per-segment audience insights (distinguishing traits)
Profiles the members of one saved segment and returns the top attribute values that distinguish this audience from the rest of the contact base (over/under-indexed traits, prevalence and lift). Pure read aggregate over contacts + segment membership — no migration. owner/admin/developer + contacts:read.
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/cdp/segments/{id}/insightsimport requests
url = "https://api.orbit.devotel.io/api/v1/cdp/segments/{id}/insights"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.orbit.devotel.io/api/v1/cdp/segments/{id}/insights', 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/segments/{id}/insights",
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/segments/{id}/insights"
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/segments/{id}/insights")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/cdp/segments/{id}/insights")
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": {
"segment_id": "seg_01J8Y2",
"segment_name": "High-intent browsers",
"member_count": 1842,
"rest_sample_count": 50000,
"insights": [
{
"attribute": "country_code",
"label": "Country code",
"value": "DE",
"segment_count": 912,
"segment_share": 0.4951,
"rest_count": 2103,
"rest_share": 0.0421,
"difference": 0.453,
"lift": 11.76,
"direction": "over",
"exclusive_to_segment": false
}
],
"attributes_profiled": [
"lifecycle_stage",
"country_code",
"language",
"timezone",
"company",
"mccmnc",
"dnc",
"is_blocked",
"memory_enabled"
],
"sampled": false,
"sampling_note": null
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"timestamp": "2026-08-07T12: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>"
}
}Path Parameters
Response
The distinguishing-traits report: segment identity, sampled member/rest counts, the ranked insights[] rows (attribute, value, share/lift, direction, exclusive flag), the profiled attribute selectors, and a sampling_note when the response was built from a capped sample.
The distinguishing-traits report: segment identity, sampled member/rest counts, the ranked insights[] rows (attribute, value, share/lift, direction, exclusive flag), the profiled attribute selectors, and a sampling_note when the response was built from a capped sample.