POST /v1/customer-segments/{segment_id}/revisions/{revision_id}:compare-active
TenantService_CompareCustomerSegmentRevision
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
segment_idpath · string · requiredrevision_idpath · string · required
Request body
limitinteger · int32revision_idstringsegment_idstring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/customer-segments/{segment_id}/revisions/{revision_id}:compare-active' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 0
}'Response contract
200 · OK
active_matched_countinteger · int32active_revision_idstringadded_countinteger · int32candidate_matched_countinteger · int32candidate_revision_idstringchangesarrayExpand fields
consulted_trait_keysarraycustomer_account_idstringcustomer_codestringcustomer_namestringdispositionstring
evaluated_countinteger · int32removed_countinteger · int32segment_idstringwarningsarray
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.