v4

latestOpenAPI 3.0.02026-08-04109113304.5 KB
Attribution

Get bucketing information for a visitor

Get a list of experiments within a project a visitor has been exposed to

get/attribution/{account_id}/visitor/{visitor_id}

Path parameters

account_idinteger required

The unique identifier of the Optimizely Account

visitor_idstring required

The Optimizely User ID of the visitor

Query parameters

start_timestring date-time

Start of the time interval (inclusive) used to filter the bucketing decisions. The time is formatted in ISO 8601.

end_timestring date-time

End of the time interval (inclusive) used to filter the bucketing decisions. The time is formatted in ISO 8601.

Response

Return bucketing information

account_idinteger

ID of the Account

visitor_idstring uuid

The unique identifier of the visitor

Example response

{
  "account_id": 1000,
  "bucketing_history": [
    {
      "campaign_id": 2056053765,
      "experiment_id": 9387397797,
      "timestamp": 1545871675000,
      "variation_id": 5042153527
    }
  ],
  "visitor_id": "fa74a14b-1f3a-463d-aa98-2f7124ee6fc3"
}