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",
  "conversionType": "ALL_CONVERSION",
  "receiverEmailAddrs": [
    "john@kameleoon.com",
    "jane@kameleoon.com"
  ],
  "filters": [
    {
      "type": "<string>",
      "include": true
    }
  ],
  "customDataIds": [
    123
  ]
}
'
{
  "id": 123,
  "msg": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt

Use this file to discover all available pages before exploring further.

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

Conversion type. Options include 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[]
customDataIds
integer<int64>[]

Custom data to export

Custom data to export

Response

Report export started successfully.

id
integer<int64>
msg
string