What meta data fields are available for Event?
Hi API Community. I'm a complete noob to the Pendo Aggregation API and am having hard time understanding what fields are available to the Event data source. I've tried to use https://app.pendo.io/api/v1/metadata/schema/event but it just returns what seems are random fields.
We have two account level fields and I'd like to sum counts by day by these two fields.
Can anyone provide insight to how to specify these fields in a pipeline?
current using:
{
"response": {
"mimeType": "application/json"
},
"request": {
"pipeline": [
{
"source": {
"pageEvents": null,
"timeSeries": {
"period": "dayRange",
"first": "now()",
"count": -5
}
}
},
{
"identified": "visitorId"
},
{
"group": {
"group": [
"accountId", "day","pageId"
],
"fields": {
"numEvents": {
"sum": "numEvents"
}
}
}
}
]
}
}
assuming I need to add custom fields to group section??
0
Comments
This would give an output that looks something like this:
Thanks Alisyn Collins, i'm trying to retrieve two of our custom fields that are on the data mappings page, account level data. group is Agent if that means anything?
Alisyn Collins I found my answer in the response object! thanks for your help
Please sign in to leave a comment.