Experiment Management
Operations related to Experiments for managing A/B tests and controlled experiments to measure feature impact and campaign performance.
The id of the group segment
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/experiments/segment_groups/{segment_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"result_uri": "text",
"last_modified_ts": 0,
"name": "text",
"archived_by": "text",
"criterion_ids": [
"text"
],
"status": "DRAFT",
"last_modified_by": "text",
"description": "text",
"id": "text",
"archived": false,
"created_ts": 0,
"created_by": "text",
"archived_ts": 0,
"selected_identifying_resources": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"compartment_id": "text"
}
],
"groups": [
{
"id": "text",
"type": "TEST",
"proportion": 0,
"segment_id": "text"
}
],
"source_segment_id": "text"
}
}Organisation owning the source segment of the experiments
The keywords to match with experiment names
If true the result will contain only archived experiments
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/experiments?organisation_id=1 HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"max_results": 1,
"data": [
{
"result_uri": "text",
"last_modified_ts": 0,
"name": "text",
"archived_by": "text",
"criterion_ids": [
"text"
],
"status": "DRAFT",
"last_modified_by": "text",
"description": "text",
"id": "text",
"archived": false,
"created_ts": 0,
"created_by": "text",
"archived_ts": 0,
"selected_identifying_resources": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"compartment_id": "text"
}
],
"groups": [
{
"id": "text",
"type": "TEST",
"proportion": 0,
"segment_id": "text"
}
],
"source_segment_id": "text"
}
],
"first_result": 1,
"count": 1,
"total": 1,
"status": "ok"
}Perform Actions on a experiment datamart configuration
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/datamarts/{datamart_id}/experiments/configuration/action HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"action": "ROTATE_PERMANENT_GROUP_SEGMENTS"
}{
"status": "ok",
"data": {
"archived": false,
"outlier_threshold": 0,
"archived_ts": 0,
"control_group_size_limit": 0,
"acceptance_threshold": 0,
"last_modified_ts": 0,
"datamart_id": "text",
"id": "text",
"permanent_control_group_activation": false,
"default_group_distribution": "text",
"created_by": "text",
"archived_by": "text",
"audience_partition_id": "text",
"permanent_control_group_segment_ids": [
"text"
],
"last_modified_by": "text",
"control_group_size_limit_activation": false,
"permanent_control_group_size": 0,
"created_ts": 0
}
}The id of the segment of the experiment
The experiment id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_segments/{segment_id}/experiments/{experiment_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"result_uri": "text",
"last_modified_ts": 0,
"name": "text",
"archived_by": "text",
"criterion_ids": [
"text"
],
"status": "DRAFT",
"last_modified_by": "text",
"description": "text",
"id": "text",
"archived": false,
"created_ts": 0,
"created_by": "text",
"archived_ts": 0,
"selected_identifying_resources": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"compartment_id": "text"
}
],
"groups": [
{
"id": "text",
"type": "TEST",
"proportion": 0,
"segment_id": "text"
}
],
"source_segment_id": "text"
}
}The id of the segment of the experiment
The experiment id
0false00Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/audience_segments/{segment_id}/experiments/{experiment_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 251
{
"name": "text",
"criterion_ids": [
"text"
],
"status": "DRAFT",
"description": "text",
"selected_identifying_resources": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"compartment_id": "text"
}
],
"groups": [
{
"type": "TEST",
"proportion": 0
}
],
"source_segment_id": "text"
}{
"status": "ok",
"data": {
"result_uri": "text",
"last_modified_ts": 0,
"name": "text",
"archived_by": "text",
"criterion_ids": [
"text"
],
"status": "DRAFT",
"last_modified_by": "text",
"description": "text",
"id": "text",
"archived": false,
"created_ts": 0,
"created_by": "text",
"archived_ts": 0,
"selected_identifying_resources": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"compartment_id": "text"
}
],
"groups": [
{
"id": "text",
"type": "TEST",
"proportion": 0,
"segment_id": "text"
}
],
"source_segment_id": "text"
}
}The id of the segment of the experiment
The experiment id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/experiments/{experiment_id}/action HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"type": "COMPUTE"
}{
"status": "ok",
"data": {
"result_uri": "text",
"last_modified_ts": 0,
"name": "text",
"archived_by": "text",
"criterion_ids": [
"text"
],
"status": "DRAFT",
"last_modified_by": "text",
"description": "text",
"id": "text",
"archived": false,
"created_ts": 0,
"created_by": "text",
"archived_ts": 0,
"selected_identifying_resources": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"compartment_id": "text"
}
],
"groups": [
{
"id": "text",
"type": "TEST",
"proportion": 0,
"segment_id": "text"
}
],
"source_segment_id": "text"
}
}Search the datamart configuration for experiments
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/experiments/configuration HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"archived": false,
"outlier_threshold": 0,
"archived_ts": 0,
"control_group_size_limit": 0,
"acceptance_threshold": 0,
"last_modified_ts": 0,
"datamart_id": "text",
"id": "text",
"permanent_control_group_activation": false,
"default_group_distribution": "text",
"created_by": "text",
"archived_by": "text",
"audience_partition_id": "text",
"permanent_control_group_segment_ids": [
"text"
],
"last_modified_by": "text",
"control_group_size_limit_activation": false,
"permanent_control_group_size": 0,
"created_ts": 0
}
}Update the datamart configuration for experiments
false00000falsefalse00Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/datamarts/{datamart_id}/experiments/configuration HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 254
{
"outlier_threshold": 0,
"control_group_size_limit": 0,
"acceptance_threshold": 0,
"datamart_id": "text",
"permanent_control_group_activation": false,
"default_group_distribution": "text",
"control_group_size_limit_activation": false,
"permanent_control_group_size": 0
}{
"status": "ok",
"data": {
"archived": false,
"outlier_threshold": 0,
"archived_ts": 0,
"control_group_size_limit": 0,
"acceptance_threshold": 0,
"last_modified_ts": 0,
"datamart_id": "text",
"id": "text",
"permanent_control_group_activation": false,
"default_group_distribution": "text",
"created_by": "text",
"archived_by": "text",
"audience_partition_id": "text",
"permanent_control_group_segment_ids": [
"text"
],
"last_modified_by": "text",
"control_group_size_limit_activation": false,
"permanent_control_group_size": 0,
"created_ts": 0
}
}If true the result will contain only archived experiment templates
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/datamarts/{datamart_id}/experiments/templates HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"total": 1,
"count": 1,
"data": [
{
"name": "text",
"archived": false,
"archived_ts": 0,
"datamart_id": "text",
"id": "text",
"archived_by": "text",
"created_ts": 0,
"last_modified_by": "text",
"created_by": "text",
"criterion_ids": [
"text"
],
"last_modified_ts": 0
}
],
"first_result": 1,
"max_results": 1
}false000Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/datamarts/{datamart_id}/experiments/templates HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"name": "text",
"archived": false,
"datamart_id": "text",
"criterion_ids": [
"text"
]
}{
"status": "ok",
"data": {
"name": "text",
"archived": false,
"archived_ts": 0,
"datamart_id": "text",
"id": "text",
"archived_by": "text",
"created_ts": 0,
"last_modified_by": "text",
"created_by": "text",
"criterion_ids": [
"text"
],
"last_modified_ts": 0
}
}Search experiment template by Id
The experiment template id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/experiments/templates/{experiment_template_id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"name": "text",
"archived": false,
"archived_ts": 0,
"datamart_id": "text",
"id": "text",
"archived_by": "text",
"created_ts": 0,
"last_modified_by": "text",
"created_by": "text",
"criterion_ids": [
"text"
],
"last_modified_ts": 0
}
}Update experiment template
The experiment template id
false000Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/datamarts/{datamart_id}/experiments/templates/{experiment_template_id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 78
{
"name": "text",
"archived": false,
"datamart_id": "text",
"criterion_ids": [
"text"
]
}{
"status": "ok",
"data": {
"name": "text",
"archived": false,
"archived_ts": 0,
"datamart_id": "text",
"id": "text",
"archived_by": "text",
"created_ts": 0,
"last_modified_by": "text",
"created_by": "text",
"criterion_ids": [
"text"
],
"last_modified_ts": 0
}
}The id of the segment of the experiment
0false00Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_segments/{segment_id}/experiments HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 251
{
"name": "text",
"criterion_ids": [
"text"
],
"status": "DRAFT",
"description": "text",
"selected_identifying_resources": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"compartment_id": "text"
}
],
"groups": [
{
"type": "TEST",
"proportion": 0
}
],
"source_segment_id": "text"
}{
"status": "ok",
"data": {
"result_uri": "text",
"last_modified_ts": 0,
"name": "text",
"archived_by": "text",
"criterion_ids": [
"text"
],
"status": "DRAFT",
"last_modified_by": "text",
"description": "text",
"id": "text",
"archived": false,
"created_ts": 0,
"created_by": "text",
"archived_ts": 0,
"selected_identifying_resources": [
{
"compartment_type": "CUSTOM_COMPARTMENT_ID",
"compartment_id": "text"
}
],
"groups": [
{
"id": "text",
"type": "TEST",
"proportion": 0,
"segment_id": "text"
}
],
"source_segment_id": "text"
}
}Last updated
Was this helpful?