OK
A query parameter is invalid: filters is not a JSON array, a filter is missing property_name or operator, a filter uses an unsupported operator or has no property_value, or timezone, interval, group_by or timeframe is invalid. errors maps each failing parameter to its messages.
Authorization information is missing or invalid.
Reports are temporarily unavailable: the analytics provider is throttling queries, a query did not finish in 300 seconds, or the provider returned an invalid response. When throttled, wait for Retry-After before retrying.
Reports service is temporarily unavailable: the analytics provider cannot be reached or reports it is unavailable.
{- "result": [
- {
- "type": "string",
- "module_id": "string",
- "median": 0
}
]
}OK
A query parameter is invalid: filters is not a JSON array, a filter is missing property_name or operator, a filter uses an unsupported operator or has no property_value, or timezone, interval, group_by or timeframe is invalid. errors maps each failing parameter to its messages.
Authorization information is missing or invalid.
Reports are temporarily unavailable: the analytics provider is throttling queries, a query did not finish in 300 seconds, or the provider returned an invalid response. When throttled, wait for Retry-After before retrying.
Reports service is temporarily unavailable: the analytics provider cannot be reached or reports it is unavailable.
{- "steps": [
- {
- "with_actors": true,
- "actor_property": "string",
- "event_collection": "string",
- "filters": [
- {
- "operator": "string",
- "property_name": "string",
- "property_value": "string"
}
]
}
], - "result": [
- 0
]
}Returns event count for the given timeframe and filters (Keen leadconduit.events).
Total Events (single scalar): Use the same timeframe and filters as the Events list/charts, and omit group_by and interval. The response is a scalar: result is the total event count. With group_by and/or interval, the response is time-series; sum result[].value[].result (and across timeframe buckets) to derive a total.
Unclaimed Certificates count: To get the count that matches "Unclaimed" rows in the Events table (events with no TrustedForm cert URL and no vars.trustedform), use the same timeframe and filters as the list plus these two filters:
vars.lead.trustedform_cert_url, operator is blankvars.trustedform, operator is blank
The backend maps "is blank" to Keen operator "exists" with property_value false (property does not exist). The metric card count must match the number of "Unclaimed" rows 1:1.OK. When group_by and interval are omitted, result is a scalar number (total count). With group_by/interval, result is an array of value/timeframe objects.
A query parameter is invalid: filters is not a JSON array, a filter is missing property_name or operator, a filter uses an unsupported operator or has no property_value, or timezone, interval, group_by or timeframe is invalid. errors maps each failing parameter to its messages.
Authorization information is missing or invalid.
Reports are temporarily unavailable: the analytics provider is throttling queries, a query did not finish in 300 seconds, or the provider returned an invalid response. When throttled, wait for Retry-After before retrying.
Reports service is temporarily unavailable: the analytics provider cannot be reached or reports it is unavailable.
{- "result": [
- {
- "value": [
- {
- "outcome": "string",
- "result": 0
}
], - "timeframe": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}
}
]
}OK
A query parameter is invalid: filters is not a JSON array, a filter is missing property_name or operator, a filter uses an unsupported operator or has no property_value, or timezone, interval, group_by or timeframe is invalid. errors maps each failing parameter to its messages.
Authorization information is missing or invalid.
Reports are temporarily unavailable: the analytics provider is throttling queries, a query did not finish in 300 seconds, or the provider returned an invalid response. When throttled, wait for Retry-After before retrying.
Reports service is temporarily unavailable: the analytics provider cannot be reached or reports it is unavailable.
{- "result": [
- {
- "value": [
- {
- "outcome": "string",
- "result": 0
}
], - "timeframe": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}
}
]
}OK
A query parameter is invalid: filters is not a JSON array, a filter is missing property_name or operator, a filter uses an unsupported operator or has no property_value, or timezone, interval, group_by or timeframe is invalid. errors maps each failing parameter to its messages.
Authorization information is missing or invalid.
Reports are temporarily unavailable: the analytics provider is throttling queries, a query did not finish in 300 seconds, or the provider returned an invalid response. When throttled, wait for Retry-After before retrying.
Reports service is temporarily unavailable: the analytics provider cannot be reached or reports it is unavailable.
{- "result": [
- {
- "vars.source.id": "string",
- "vars.recipient.id": "string",
- "result": [
- "string"
]
}
]
}