Data Clean Room Management
Operations related to Data Clean Rooms, the secure environments for privacy-safe data collaboration and analysis between multiple parties without sharing raw user data. Enables dataset onboarding, overlap analysis, differential privacy-protected insights generation, and activation of matched audiences (common and exclusive users) on authorized platforms while maintaining strict data confidentiality and GDPR compliance.
Organisation id
Offset from which the search must be performed
Number of maximum items that shall be returned by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/organisations/{organisation_id}/clean_room_templates HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"max_results": 1,
"total": 1,
"first_result": 1,
"status": "ok",
"data": [
{
"name": "text",
"archived_by": "text",
"created_ts": 0,
"collaborative_app_name": "text",
"authorized_presets": [
"text"
],
"collaborative_app_id": "text",
"organisation_id": "text",
"created_by": "text",
"last_modified_by": "text",
"archived_ts": 0,
"reference_datasets": [
{
"identifiers_freshness_days": 0,
"reference_dataset_id": "text",
"matching_keys": [
"EMAIL"
],
"custom_identifier_compartment_ids": [
"text"
],
"custom_identifier_labels": [
"text"
],
"refresh_frequency": "DAILY"
}
],
"description": "text",
"id": "text",
"archived": false,
"last_modified_ts": 0
}
]
}Organisation id
00false0Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/organisations/{organisation_id}/clean_room_templates HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 298
{
"name": "text",
"authorized_presets": [
"text"
],
"collaborative_app_id": "text",
"reference_datasets": [
{
"identifiers_freshness_days": 0,
"reference_dataset_id": "text",
"matching_keys": [
"EMAIL"
],
"custom_identifier_compartment_ids": [
"text"
],
"refresh_frequency": "DAILY"
}
],
"description": "text",
"archived": false
}{
"status": "ok",
"data": {
"name": "text",
"archived_by": "text",
"created_ts": 0,
"collaborative_app_name": "text",
"authorized_presets": [
"text"
],
"collaborative_app_id": "text",
"organisation_id": "text",
"created_by": "text",
"last_modified_by": "text",
"archived_ts": 0,
"reference_datasets": [
{
"identifiers_freshness_days": 0,
"reference_dataset_id": "text",
"matching_keys": [
"EMAIL"
],
"custom_identifier_compartment_ids": [
"text"
],
"custom_identifier_labels": [
"text"
],
"refresh_frequency": "DAILY"
}
],
"description": "text",
"id": "text",
"archived": false,
"last_modified_ts": 0
}
}List custom identifier matching keys for bunker
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/bunkers/{bunker_id}/custom_identifier_matching_keys HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"compartment_id": "text",
"compartment_name": "text",
"datamart_id": "text"
}
],
"count": 1,
"first_result": 1,
"status": "ok",
"total": 1,
"max_results": 1
}Offset from which the search must be performed
Number of maximum items that shall be returned by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/clean_room_collaborative_apps HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"data": [
{
"description": "text",
"authorized_outputs": [
"INSIGHTS"
],
"archived": false,
"name": "text",
"type": "DATA_SOURCING",
"id": "text"
}
],
"status": "ok",
"first_result": 1,
"total": 1,
"max_results": 1
}Perform an action on datasets matching
Clean room Id
Datasets intersection Id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/clean_rooms/{clean_room_id}/datasets_matchings/{datasets_matching_id}/actions HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"action": "ARCHIVE",
"organisation_id": "text"
}{
"status": "ok",
"data": {
"refresh_frequency": "DAILY",
"initiator_org_id": "text",
"custom_identifier_labels": [
"text"
],
"archived": false,
"identifiers_freshness_days": 0,
"name": "text",
"feeds": [
{
"artifact_id": "text",
"id": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"audience_segment_id": "text",
"name": "text"
}
],
"created_ts": 0,
"last_refresh_ts": 0,
"matched_datasets": [
{
"dataset": {
"type": "SEGMENT",
"expiration_ts": 0,
"properties": [
{
"id": "text",
"property_type": "EMAIL",
"position": 0,
"name": "text",
"matching_key": false
}
],
"status": "SYNCHRONIZATION_PENDING",
"organisation_id": "text",
"organisation_name": "text",
"description": "text",
"records_count": 0,
"source": "FILE",
"id": "text",
"name": "text"
},
"organisation_id": "text",
"dataset_update_id": "text",
"purposes": [
"ACTIVATION"
],
"clean_room_id": "text",
"dataset_id": "text",
"created_by": "text",
"expiration_ts": 0,
"created_ts": 0
}
],
"status": "PENDING",
"datasets_matching_history_key_stats": [
{
"related_identifiers_count": 0,
"compartment_name": "text",
"common_identifiers_count": 0,
"compartment_id": "text",
"matching_key_type": "EMAIL",
"datasets_matching_history_id": "text"
}
],
"last_modified_ts": 0,
"count_matched_records": 0,
"last_modified_by": "text",
"id": "text",
"segment_id": "text",
"custom_identifier_compartment_ids": [
"text"
],
"external_dashboard_url": "text",
"matching_keys": [
"EMAIL"
],
"clean_room_id": "text",
"created_by": "text",
"description": "text"
}
}The dataset id
Organisation owning the dataset
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datasets/{dataset_id}?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"type": "SEGMENT",
"bunker_id": "text",
"source": "FILE",
"status": "SYNCHRONIZATION_PENDING",
"records_count": 0,
"archived_by": "text",
"properties": [
{
"fill_rate": 0,
"name": "text",
"position": 0,
"compartment_id": "text",
"data_sample": [
"text"
],
"property_type": "EMAIL",
"compartment_name": "text",
"id": "text",
"matching_key": false
}
],
"description": "text",
"organisation_id": "text",
"created_by": "text",
"archived": false,
"last_modified_ts": 0,
"archived_ts": 0,
"created_ts": 0,
"id": "text",
"organisation_name": "text",
"last_modified_by": "text",
"expiration_ts": 0,
"name": "text"
}
}The dataset id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/datasets/{dataset_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 312
{
"type": "SEGMENT",
"bunker_id": "text",
"source": "FILE",
"status": "SYNCHRONIZATION_PENDING",
"properties": [
{
"fill_rate": 0,
"name": "text",
"position": 0,
"compartment_id": "text",
"data_sample": [
"text"
],
"property_type": "EMAIL",
"matching_key": false
}
],
"organisation_id": "text",
"archived": false,
"expiration_ts": 0,
"name": "text"
}{
"status": "ok",
"data": {
"type": "SEGMENT",
"bunker_id": "text",
"source": "FILE",
"status": "SYNCHRONIZATION_PENDING",
"records_count": 0,
"archived_by": "text",
"properties": [
{
"fill_rate": 0,
"name": "text",
"position": 0,
"compartment_id": "text",
"data_sample": [
"text"
],
"property_type": "EMAIL",
"compartment_name": "text",
"id": "text",
"matching_key": false
}
],
"description": "text",
"organisation_id": "text",
"created_by": "text",
"archived": false,
"last_modified_ts": 0,
"archived_ts": 0,
"created_ts": 0,
"id": "text",
"organisation_name": "text",
"last_modified_by": "text",
"expiration_ts": 0,
"name": "text"
}
}The dataset id
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/datasets/{dataset_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Get a clean room template by id
Organisation id
Template id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/organisations/{organisation_id}/clean_room_templates/{template_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"name": "text",
"archived_by": "text",
"created_ts": 0,
"collaborative_app_name": "text",
"authorized_presets": [
"text"
],
"collaborative_app_id": "text",
"organisation_id": "text",
"created_by": "text",
"last_modified_by": "text",
"archived_ts": 0,
"reference_datasets": [
{
"identifiers_freshness_days": 0,
"reference_dataset_id": "text",
"matching_keys": [
"EMAIL"
],
"custom_identifier_compartment_ids": [
"text"
],
"custom_identifier_labels": [
"text"
],
"refresh_frequency": "DAILY"
}
],
"description": "text",
"id": "text",
"archived": false,
"last_modified_ts": 0
}
}Organisation id
Template id
00false0Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/organisations/{organisation_id}/clean_room_templates/{template_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 298
{
"name": "text",
"authorized_presets": [
"text"
],
"collaborative_app_id": "text",
"reference_datasets": [
{
"identifiers_freshness_days": 0,
"reference_dataset_id": "text",
"matching_keys": [
"EMAIL"
],
"custom_identifier_compartment_ids": [
"text"
],
"refresh_frequency": "DAILY"
}
],
"description": "text",
"archived": false
}{
"status": "ok",
"data": {
"name": "text",
"archived_by": "text",
"created_ts": 0,
"collaborative_app_name": "text",
"authorized_presets": [
"text"
],
"collaborative_app_id": "text",
"organisation_id": "text",
"created_by": "text",
"last_modified_by": "text",
"archived_ts": 0,
"reference_datasets": [
{
"identifiers_freshness_days": 0,
"reference_dataset_id": "text",
"matching_keys": [
"EMAIL"
],
"custom_identifier_compartment_ids": [
"text"
],
"custom_identifier_labels": [
"text"
],
"refresh_frequency": "DAILY"
}
],
"description": "text",
"id": "text",
"archived": false,
"last_modified_ts": 0
}
}Clean room owning datasets
Organisation owning datasets
If true the result will contain only archived clean rooms
Offset from which the search must be performed
Number of maximum items that shall be return by this search
View the clean room data from this organisation's side. Only honoured when the caller has access to it; ignored otherwise.
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/clean_rooms/{clean_room_id}/datasets HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"max_results": 1,
"count": 1,
"data": [
{
"expiration_ts": 0,
"archived": false,
"dataset_id": "text",
"purposes": [
"ACTIVATION"
],
"created_by": "text",
"clean_room_id": "text",
"last_modified_by": "text",
"dataset": {
"type": "SEGMENT",
"expiration_ts": 0,
"properties": [
{
"id": "text",
"property_type": "EMAIL",
"position": 0,
"name": "text",
"matching_key": false
}
],
"status": "SYNCHRONIZATION_PENDING",
"organisation_id": "text",
"organisation_name": "text",
"description": "text",
"records_count": 0,
"source": "FILE",
"id": "text",
"name": "text"
},
"archived_ts": 0,
"last_modified_ts": 0,
"organisation_id": "text",
"archived_by": "text",
"created_ts": 0
}
],
"first_result": 1,
"total": 1,
"status": "ok"
}Clean room owning datasets
0false000Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/clean_rooms/{clean_room_id}/datasets HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 185
{
"expiration_ts": 0,
"archived": false,
"dataset_id": "text",
"purposes": [
"ACTIVATION"
],
"clean_room_id": "text",
"dataset": {
"type": "SEGMENT",
"status": "SYNCHRONIZATION_PENDING",
"source": "FILE"
}
}{
"status": "ok",
"data": {
"expiration_ts": 0,
"archived": false,
"dataset_id": "text",
"purposes": [
"ACTIVATION"
],
"created_by": "text",
"clean_room_id": "text",
"last_modified_by": "text",
"dataset": {
"type": "SEGMENT",
"expiration_ts": 0,
"properties": [
{
"id": "text",
"property_type": "EMAIL",
"position": 0,
"name": "text",
"matching_key": false
}
],
"status": "SYNCHRONIZATION_PENDING",
"organisation_id": "text",
"organisation_name": "text",
"description": "text",
"records_count": 0,
"source": "FILE",
"id": "text",
"name": "text"
},
"archived_ts": 0,
"last_modified_ts": 0,
"organisation_id": "text",
"archived_by": "text",
"created_ts": 0
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/clean_room_collaborative_apps/{collaborative_app_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"description": "text",
"authorized_outputs": [
"INSIGHTS"
],
"archived": false,
"name": "text",
"type": "DATA_SOURCING",
"id": "text"
}
}Search datasets matching by Id
Clean room Id
Datasets intersection Id
View the matching from this organisation's side. Only honoured when the caller has access to it; ignored otherwise.
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/clean_rooms/{clean_room_id}/datasets_matchings/{datasets_matching_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"refresh_frequency": "DAILY",
"initiator_org_id": "text",
"custom_identifier_labels": [
"text"
],
"archived": false,
"identifiers_freshness_days": 0,
"name": "text",
"feeds": [
{
"artifact_id": "text",
"id": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"audience_segment_id": "text",
"name": "text"
}
],
"created_ts": 0,
"last_refresh_ts": 0,
"matched_datasets": [
{
"dataset": {
"type": "SEGMENT",
"expiration_ts": 0,
"properties": [
{
"id": "text",
"property_type": "EMAIL",
"position": 0,
"name": "text",
"matching_key": false
}
],
"status": "SYNCHRONIZATION_PENDING",
"organisation_id": "text",
"organisation_name": "text",
"description": "text",
"records_count": 0,
"source": "FILE",
"id": "text",
"name": "text"
},
"organisation_id": "text",
"dataset_update_id": "text",
"purposes": [
"ACTIVATION"
],
"clean_room_id": "text",
"dataset_id": "text",
"created_by": "text",
"expiration_ts": 0,
"created_ts": 0
}
],
"status": "PENDING",
"datasets_matching_history_key_stats": [
{
"related_identifiers_count": 0,
"compartment_name": "text",
"common_identifiers_count": 0,
"compartment_id": "text",
"matching_key_type": "EMAIL",
"datasets_matching_history_id": "text"
}
],
"last_modified_ts": 0,
"count_matched_records": 0,
"last_modified_by": "text",
"id": "text",
"segment_id": "text",
"custom_identifier_compartment_ids": [
"text"
],
"external_dashboard_url": "text",
"matching_keys": [
"EMAIL"
],
"clean_room_id": "text",
"created_by": "text",
"description": "text"
}
}Clean room Id
Datasets intersection Id
false00000Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/clean_rooms/{clean_room_id}/datasets_matchings/{datasets_matching_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 240
{
"refresh_frequency": "DAILY",
"initiator_org_id": "text",
"identifiers_freshness_days": 0,
"name": "text",
"status": "PENDING",
"custom_identifier_compartment_ids": [
"text"
],
"external_dashboard_url": "text",
"clean_room_id": "text",
"description": "text"
}{
"status": "ok",
"data": {
"refresh_frequency": "DAILY",
"initiator_org_id": "text",
"custom_identifier_labels": [
"text"
],
"archived": false,
"identifiers_freshness_days": 0,
"name": "text",
"feeds": [
{
"artifact_id": "text",
"id": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"audience_segment_id": "text",
"name": "text"
}
],
"created_ts": 0,
"last_refresh_ts": 0,
"matched_datasets": [
{
"dataset": {
"type": "SEGMENT",
"expiration_ts": 0,
"properties": [
{
"id": "text",
"property_type": "EMAIL",
"position": 0,
"name": "text",
"matching_key": false
}
],
"status": "SYNCHRONIZATION_PENDING",
"organisation_id": "text",
"organisation_name": "text",
"description": "text",
"records_count": 0,
"source": "FILE",
"id": "text",
"name": "text"
},
"organisation_id": "text",
"dataset_update_id": "text",
"purposes": [
"ACTIVATION"
],
"clean_room_id": "text",
"dataset_id": "text",
"created_by": "text",
"expiration_ts": 0,
"created_ts": 0
}
],
"status": "PENDING",
"datasets_matching_history_key_stats": [
{
"related_identifiers_count": 0,
"compartment_name": "text",
"common_identifiers_count": 0,
"compartment_id": "text",
"matching_key_type": "EMAIL",
"datasets_matching_history_id": "text"
}
],
"last_modified_ts": 0,
"count_matched_records": 0,
"last_modified_by": "text",
"id": "text",
"segment_id": "text",
"custom_identifier_compartment_ids": [
"text"
],
"external_dashboard_url": "text",
"matching_keys": [
"EMAIL"
],
"clean_room_id": "text",
"created_by": "text",
"description": "text"
}
}Organisation owning clean rooms
If true the result will contain only archived clean rooms
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/clean_rooms?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"max_results": 1,
"data": [
{
"clean_room_organisations": [
{
"archived": false,
"organisation_name": "text",
"created_ts": 0,
"purposes": [
"ACTIVATION"
],
"archived_by": "text",
"owner": false,
"created_by": "text",
"status": "PENDING",
"last_modified_ts": 0,
"archived_ts": 0,
"clean_room_id": "text",
"organisation_id": "text",
"last_modified_by": "text"
}
],
"collaborative_app_id": "text",
"template_id": "text",
"organisation_id": "text",
"clean_room_id": "text",
"name": "text"
}
],
"total": 1,
"first_result": 1,
"status": "ok"
}The dataset id
Offset from which the search must be performed
Number of maximum items that shall be returned by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datasets/{dataset_id}/segment_taxonomy HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"description": "text",
"created_ts": 0,
"membership_count": 0,
"dataset_id": "text",
"created_by": "text",
"last_modified_ts": 0,
"name": "text",
"segment_technical_name": "text",
"expiration_in_minutes": 0,
"path": "text",
"last_modified_by": "text"
}
],
"total": 1,
"count": 1,
"status": "ok",
"first_result": 1,
"max_results": 1
}Upload (replace) the segment taxonomy dictionary for a dataset
The dataset id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/datasets/{dataset_id}/segment_taxonomy HTTP/1.1
Host: api.mediarithmics.local
Content-Type: multipart/form-data
Accept: */*
Content-Length: 19
{
"file": [
"binary"
]
}{
"status": "ok",
"data": {
"entries_count": 0,
"status": "SUCCESS",
"last_modified_by": "text",
"last_modified_ts": 0,
"created_ts": 0,
"created_by": "text",
"dataset_id": "text",
"error_log": "text",
"id": "text",
"file_path": "text"
}
}The dataset id
Organisation owning datasets
Status of dataset updates
If true the result will contain only archived datasets
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datasets/{dataset_id}/updates?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{}
],
"count": 1,
"status": "ok",
"first_result": 1,
"max_results": 1,
"total": 1
}The bunker id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/bunkers/{bunker_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"created_ts": 0,
"name": "text",
"archived": false,
"organisation_id": "text",
"is_initialized": false,
"archived_by": "text",
"id": "text",
"created_by": "text",
"datamart_id": "text",
"last_state_refresh": 0,
"last_modified_ts": 0,
"archived_ts": 0,
"last_modified_by": "text"
}
}The bunker id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/bunkers/{bunker_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"name": "text",
"organisation_id": "text",
"datamart_id": "text"
}{
"status": "ok",
"data": {
"created_ts": 0,
"name": "text",
"archived": false,
"organisation_id": "text",
"is_initialized": false,
"archived_by": "text",
"id": "text",
"created_by": "text",
"datamart_id": "text",
"last_state_refresh": 0,
"last_modified_ts": 0,
"archived_ts": 0,
"last_modified_by": "text"
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/clean_rooms/{clean_room_id}/actions HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 9
"PENDING"{
"status": "ok",
"data": {
"id": "text",
"archived": false,
"organisation_id": "text",
"last_modified_ts": 0,
"created_ts": 0,
"template_id": "text",
"archived_ts": 0,
"last_modified_by": "text",
"name": "text",
"created_by": "text",
"archived_by": "text"
}
}The dataset id
Offset from which the search must be performed
Number of maximum items that shall be returned by this search
Filter segments by name, short description or id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datasets/{dataset_id}/audience_segments HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"max_results": 1,
"data": [
{
"segment": {
"type": "USER_DATA_SUBSCRIPTION",
"user_points_count_on_last_warm_up": 0,
"provider_name": "text",
"origin_segment_id": 0,
"technical_name": "text",
"default_lifetime": 0,
"desktop_cookie_ids_count": 0,
"name": "text",
"short_description": "text",
"default_ttl": 1,
"mobile_ad_ids_count": 0,
"last_modified_ts": 0,
"datamart_id": "text",
"token": "text",
"persisted": false,
"user_points_count": 0,
"emails_count": 0,
"audience_metrics": [
{
"id": "text",
"display_name": "text",
"count": 0,
"count_last_modified_ts": 0
}
],
"last_warm_up_ts": 0,
"id": "text",
"paused": false,
"creation_ts": 0,
"mobile_cookie_ids_count": 0,
"organisation_id": "text",
"user_accounts_count": 0,
"auto_description": "text",
"evaluation_mode": "REAL_TIME"
},
"user_segment_stats": 0
}
],
"first_result": 1,
"total": 1,
"status": "ok"
}The clean room id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/clean_rooms/{clean_room_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"clean_room_organisations": [
{
"archived": false,
"organisation_name": "text",
"created_ts": 0,
"purposes": [
"ACTIVATION"
],
"archived_by": "text",
"owner": false,
"created_by": "text",
"status": "PENDING",
"last_modified_ts": 0,
"archived_ts": 0,
"clean_room_id": "text",
"organisation_id": "text",
"last_modified_by": "text"
}
],
"collaborative_app_id": "text",
"template_id": "text",
"organisation_id": "text",
"clean_room_id": "text",
"name": "text"
}
}Organisation owning datasets
List of segmentIds used to create dataset
If true the result will contain only archived datasets
Source of dataset to filter on
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datasets?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"first_result": 1,
"max_results": 1,
"status": "ok",
"total": 1,
"data": [
{
"bunker_id": "text",
"source": "FILE",
"status": "SYNCHRONIZATION_PENDING",
"records_count": 0,
"archived_by": "text",
"properties": [
{
"fill_rate": 0,
"name": "text",
"position": 0,
"compartment_id": "text",
"data_sample": [
"text"
],
"property_type": "EMAIL",
"compartment_name": "text",
"id": "text",
"matching_key": false
}
],
"description": "text",
"organisation_id": "text",
"created_by": "text",
"archived": false,
"last_modified_ts": 0,
"archived_ts": 0,
"type": "SEGMENT",
"created_ts": 0,
"id": "text",
"organisation_name": "text",
"last_modified_by": "text",
"expiration_ts": 0,
"name": "text"
}
]
}Bunker of the dataset
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/datasets?bunker_id=text HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 411
{
"dataset": {
"type": "SEGMENT",
"bunker_id": "text",
"source": "FILE",
"status": "SYNCHRONIZATION_PENDING",
"properties": [
{
"fill_rate": 0,
"name": "text",
"position": 0,
"compartment_id": "text",
"data_sample": [
"text"
],
"property_type": "EMAIL",
"matching_key": false
}
],
"organisation_id": "text",
"archived": false,
"expiration_ts": 0,
"name": "text"
},
"share_options": [
{
"clean_room_id": "text",
"purposes": [
"ACTIVATION"
],
"expiration_ts": 0
}
]
}{
"status": "ok",
"data": {
"type": "SEGMENT",
"bunker_id": "text",
"source": "FILE",
"status": "SYNCHRONIZATION_PENDING",
"records_count": 0,
"archived_by": "text",
"properties": [
{
"fill_rate": 0,
"name": "text",
"position": 0,
"compartment_id": "text",
"data_sample": [
"text"
],
"property_type": "EMAIL",
"compartment_name": "text",
"id": "text",
"matching_key": false
}
],
"description": "text",
"organisation_id": "text",
"created_by": "text",
"archived": false,
"last_modified_ts": 0,
"archived_ts": 0,
"created_ts": 0,
"id": "text",
"organisation_name": "text",
"last_modified_by": "text",
"expiration_ts": 0,
"name": "text"
}
}Search per-segment overlap results of a segment catalog matching
Clean room Id
Datasets matching Id
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Case-insensitive substring filter on the segment name
Fields used to order the result (prefix with '-' for descending). Multiple fields are applied in order. Defaults to '-overlap_percent'. Allowed fields: segment_id, segment_name, overlap_records_count, source_records_count, overlap_percent. An unrecognised field returns a 400.
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/clean_rooms/{clean_room_id}/datasets_matchings/{datasets_matching_id}/catalog_overlap HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"source_records_count": 0,
"segment_name": "text",
"partner_records_count": 0,
"overlap_records_count": 0,
"segment_id": "text"
}
],
"status": "ok",
"total": 1,
"first_result": 1,
"max_results": 1,
"count": 1
}The dataset id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datasets/{dataset_id}/clean_rooms HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"count": 1,
"data": [
{
"clean_room_organisations": [
{
"archived": false,
"organisation_name": "text",
"created_ts": 0,
"purposes": [
"ACTIVATION"
],
"archived_by": "text",
"owner": false,
"created_by": "text",
"status": "PENDING",
"last_modified_ts": 0,
"archived_ts": 0,
"clean_room_id": "text",
"organisation_id": "text",
"last_modified_by": "text"
}
],
"collaborative_app_id": "text",
"template_id": "text",
"organisation_id": "text",
"clean_room_id": "text",
"name": "text"
}
],
"max_results": 1,
"first_result": 1,
"total": 1
}Clean room Id
Dataset Id
Dataset matching status
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Filter matchings by name or by the name of any participating dataset (case-insensitive substring match)
View the matchings from this organisation's side. Only honoured when the caller has access to it; ignored otherwise.
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/clean_rooms/{clean_room_id}/datasets_matchings HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"max_results": 1,
"total": 1,
"status": "ok",
"count": 1,
"first_result": 1,
"data": [
{
"refresh_frequency": "DAILY",
"initiator_org_id": "text",
"custom_identifier_labels": [
"text"
],
"archived": false,
"identifiers_freshness_days": 0,
"name": "text",
"feeds": [
{
"artifact_id": "text",
"id": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"audience_segment_id": "text",
"name": "text"
}
],
"created_ts": 0,
"last_refresh_ts": 0,
"matched_datasets": [
{
"dataset": {
"type": "SEGMENT",
"expiration_ts": 0,
"properties": [
{
"id": "text",
"property_type": "EMAIL",
"position": 0,
"name": "text",
"matching_key": false
}
],
"status": "SYNCHRONIZATION_PENDING",
"organisation_id": "text",
"organisation_name": "text",
"description": "text",
"records_count": 0,
"source": "FILE",
"id": "text",
"name": "text"
},
"organisation_id": "text",
"dataset_update_id": "text",
"purposes": [
"ACTIVATION"
],
"clean_room_id": "text",
"dataset_id": "text",
"created_by": "text",
"expiration_ts": 0,
"created_ts": 0
}
],
"status": "PENDING",
"datasets_matching_history_key_stats": [
{
"related_identifiers_count": 0,
"compartment_name": "text",
"common_identifiers_count": 0,
"compartment_id": "text",
"matching_key_type": "EMAIL",
"datasets_matching_history_id": "text"
}
],
"last_modified_ts": 0,
"count_matched_records": 0,
"last_modified_by": "text",
"id": "text",
"segment_id": "text",
"custom_identifier_compartment_ids": [
"text"
],
"external_dashboard_url": "text",
"matching_keys": [
"EMAIL"
],
"clean_room_id": "text",
"created_by": "text",
"description": "text"
}
]
}Clean room Id
false00000Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/clean_rooms/{clean_room_id}/datasets_matchings HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 240
{
"refresh_frequency": "DAILY",
"initiator_org_id": "text",
"identifiers_freshness_days": 0,
"name": "text",
"status": "PENDING",
"custom_identifier_compartment_ids": [
"text"
],
"external_dashboard_url": "text",
"clean_room_id": "text",
"description": "text"
}{
"status": "ok",
"data": {
"refresh_frequency": "DAILY",
"initiator_org_id": "text",
"custom_identifier_labels": [
"text"
],
"archived": false,
"identifiers_freshness_days": 0,
"name": "text",
"feeds": [
{
"artifact_id": "text",
"id": "text",
"plugin_id": "text",
"plugin_version_id": "text",
"audience_segment_id": "text",
"name": "text"
}
],
"created_ts": 0,
"last_refresh_ts": 0,
"matched_datasets": [
{
"dataset": {
"type": "SEGMENT",
"expiration_ts": 0,
"properties": [
{
"id": "text",
"property_type": "EMAIL",
"position": 0,
"name": "text",
"matching_key": false
}
],
"status": "SYNCHRONIZATION_PENDING",
"organisation_id": "text",
"organisation_name": "text",
"description": "text",
"records_count": 0,
"source": "FILE",
"id": "text",
"name": "text"
},
"organisation_id": "text",
"dataset_update_id": "text",
"purposes": [
"ACTIVATION"
],
"clean_room_id": "text",
"dataset_id": "text",
"created_by": "text",
"expiration_ts": 0,
"created_ts": 0
}
],
"status": "PENDING",
"datasets_matching_history_key_stats": [
{
"related_identifiers_count": 0,
"compartment_name": "text",
"common_identifiers_count": 0,
"compartment_id": "text",
"matching_key_type": "EMAIL",
"datasets_matching_history_id": "text"
}
],
"last_modified_ts": 0,
"count_matched_records": 0,
"last_modified_by": "text",
"id": "text",
"segment_id": "text",
"custom_identifier_compartment_ids": [
"text"
],
"external_dashboard_url": "text",
"matching_keys": [
"EMAIL"
],
"clean_room_id": "text",
"created_by": "text",
"description": "text"
}
}The dataset id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/datasets/{dataset_id}/updates.file HTTP/1.1
Host: api.mediarithmics.local
Content-Type: multipart/form-data
Accept: */*
Content-Length: 19
{
"file": [
"binary"
]
}{
"status": "ok",
"data": {
"created_ts": 0,
"status": "PENDING",
"file_path": "text",
"size": 0,
"last_modified_ts": 0,
"type": "FULL",
"last_modified_by": "text",
"dataset_records_count": 0,
"file_lines_count": 0,
"id": "text",
"error_log": "text",
"created_by": "text",
"update_records_count": 0
}
}Search datasets matching histories
Clean room Id
Datasets intersection Id
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/clean_rooms/{clean_room_id}/datasets_matchings/{datasets_matching_id}/history HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"count": 1,
"status": "ok",
"max_results": 1,
"total": 1,
"data": [
{
"id": "text",
"datasets_matching_id": "text",
"created_by": "text",
"dataset_updates": [
{
"id": "text",
"organisation_id": "text",
"dataset_records_count": 0
}
],
"matched_records": 0,
"error_message": "text",
"created_by_organisation_id": "text",
"status": "RUNNING",
"datasets_matching_history_key_stats": [
{
"related_identifiers_count": 0,
"compartment_name": "text",
"common_identifiers_count": 0,
"compartment_id": "text",
"matching_key_type": "EMAIL",
"datasets_matching_history_id": "text"
}
],
"created_ts": 0
}
],
"first_result": 1
}Organisation owning bunkers
If true the result will contain only archived bunkers
Offset from which the search must be performed
Number of maximum items that shall be return by this search
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/bunkers?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"first_result": 1,
"total": 1,
"count": 1,
"data": [
{
"created_ts": 0,
"name": "text",
"archived": false,
"organisation_id": "text",
"is_initialized": false,
"archived_by": "text",
"id": "text",
"created_by": "text",
"datamart_id": "text",
"last_state_refresh": 0,
"last_modified_ts": 0,
"archived_ts": 0,
"last_modified_by": "text"
}
],
"status": "ok",
"max_results": 1
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/bunkers HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"name": "text",
"organisation_id": "text",
"datamart_id": "text"
}{
"status": "ok",
"data": {
"created_ts": 0,
"name": "text",
"archived": false,
"organisation_id": "text",
"is_initialized": false,
"archived_by": "text",
"id": "text",
"created_by": "text",
"datamart_id": "text",
"last_state_refresh": 0,
"last_modified_ts": 0,
"archived_ts": 0,
"last_modified_by": "text"
}
}Update the purposes of a shared dataset in a clean room
Clean room owning datasets
The dataset id
0false000Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/clean_rooms/{clean_room_id}/datasets/{dataset_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 185
{
"expiration_ts": 0,
"archived": false,
"dataset_id": "text",
"purposes": [
"ACTIVATION"
],
"clean_room_id": "text",
"dataset": {
"type": "SEGMENT",
"status": "SYNCHRONIZATION_PENDING",
"source": "FILE"
}
}{
"status": "ok",
"data": {
"expiration_ts": 0,
"archived": false,
"dataset_id": "text",
"purposes": [
"ACTIVATION"
],
"created_by": "text",
"clean_room_id": "text",
"last_modified_by": "text",
"dataset": {
"type": "SEGMENT",
"expiration_ts": 0,
"properties": [
{
"id": "text",
"property_type": "EMAIL",
"position": 0,
"name": "text",
"matching_key": false
}
],
"status": "SYNCHRONIZATION_PENDING",
"organisation_id": "text",
"organisation_name": "text",
"description": "text",
"records_count": 0,
"source": "FILE",
"id": "text",
"name": "text"
},
"archived_ts": 0,
"last_modified_ts": 0,
"organisation_id": "text",
"archived_by": "text",
"created_ts": 0
}
}Clean room owning datasets
The dataset id
Success response
Error response
Error response
Error response
Error response
Error response
Error response
DELETE /v1/clean_rooms/{clean_room_id}/datasets/{dataset_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok"
}Last updated
Was this helpful?