curl --request GET \
--url https://platform.kodexa.ai/api/analytics/datasets \
--header 'x-api-key: <api-key>'{
"datasets": [
{
"defaultMetrics": [
"<string>"
],
"description": "<string>",
"dimensions": [
{
"key": "<string>",
"label": "<string>",
"type": "string"
}
],
"key": "<string>",
"metrics": [
{
"key": "<string>",
"label": "<string>",
"type": "number"
}
],
"name": "<string>",
"requiresOrganization": true,
"supportsProjectScope": true,
"timeFields": [
{
"key": "<string>",
"label": "<string>",
"type": "string"
}
]
}
]
}Returns the analytics dataset catalog used to drive dashboard query builders (dimensions, metrics, and supported time fields).
curl --request GET \
--url https://platform.kodexa.ai/api/analytics/datasets \
--header 'x-api-key: <api-key>'{
"datasets": [
{
"defaultMetrics": [
"<string>"
],
"description": "<string>",
"dimensions": [
{
"key": "<string>",
"label": "<string>",
"type": "string"
}
],
"key": "<string>",
"metrics": [
{
"key": "<string>",
"label": "<string>",
"type": "number"
}
],
"name": "<string>",
"requiresOrganization": true,
"supportsProjectScope": true,
"timeFields": [
{
"key": "<string>",
"label": "<string>",
"type": "string"
}
]
}
]
}