Skip to main content
POST
/
raw-export
/
report
Start the export of raw data
curl --request POST \
  --url https://api.kameleoon.com/raw-export/report \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "level": "VISIT",
  "dateIntervals": [
    {
      "start": "2023-11-07T05:31:56Z",
      "end": "2023-11-07T05:31:56Z"
    }
  ],
  "format": "CSV",
  "actionType": "EXPERIMENT",
  "receiverEmailAddrs": [
    "john@kameleoon.com",
    "jane@kameleoon.com"
  ],
  "filters": [
    {
      "type": "<string>",
      "include": true
    }
  ],
  "filtersExpression": {
    "operands": [
      {}
    ]
  },
  "customDataIds": [
    123
  ]
}
'
{
  "id": 123,
  "msg": "<string>"
}

Body

application/json
id
integer<int64>
required

ID of the experiment or personalization

level
enum<string>
required

Analytics level VISIT/VISITOR

Available options:
VISIT,
VISITOR
Example:

"VISIT"

dateIntervals
object[]
required

Date interval for the report

format
enum<string>
required

Format of the report

Available options:
CSV
Example:

"CSV"

actionType
enum<string>
required

Action type of the report

Available options:
EXPERIMENT,
PERSONALIZATION
Example:

"EXPERIMENT"

conversionType
enum<string>
required

Type of the conversion, we have two options ALL_CONVERSION and CONVERTED_VISITS

Available options:
ALL_CONVERSION,
CONVERTED_VISITS
receiverEmailAddrs
string[]

List of receiver email addresses

Receiver email addresses

Example:
["john@kameleoon.com", "jane@kameleoon.com"]
filters
object[]
filtersExpression
object
customDataIds
integer<int64>[]

Custom data to export

Custom data to export

Response

Report export started successfully.

id
integer<int64>
msg
string