GET
/
export
/
customData
curl --request GET \
  --url https://demo.enneo.ai/api/mind/export/customData
[
{
"id": 1,
"type": "login",
"createdAt": "2024-01-15T10:30:00Z",
"customerId": 12345
},
{
"id": 2,
"type": "purchase",
"createdAt": "2024-01-14T15:45:00Z",
"customerId": 12345
}
]

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Query Parameters

format
enum<string>
default:As configured in the settings

The format of the export

Available options:
xlsx,
csv,
json
exportId
integer | null

The ID of the export configuration to use. This corresponds to the index in the customDataExports settings array. If null, the default export as configured in the customDataExportSelected setting will be used.

{parameterName}
string

Dynamic parameters that replace placeholders in the SQL query.

Any parameter defined in the export configuration can be overridden via GET parameters. Parameter names should match the placeholders in the SQL query (without the curly braces).

Parameter Resolution Logic:

  1. If provided as GET parameter → use that value
  2. If not provided but has default value → use default value
  3. If not provided and no default → throw error (parameter required)

Common Parameter Examples:

  • limit=100 → replaces {limit} placeholder
  • offset=0 → replaces {offset} placeholder
  • customerId=12345 → replaces {customerId} placeholder
  • startDate=2024-01-01 → replaces {startDate} placeholder
  • endDate=2024-12-31 → replaces {endDate} placeholder
  • status=active → replaces {status} placeholder
  • departmentId=5 → replaces {departmentId} placeholder

Response

200
application/json

Successful operation

The response is of type object[].