Event Summary GET
GET/v1/events/summary
Retrieve a summary of experiment exposure and goal events grouped by date and team, for a given time range. Maximum range is 100 days.
Request
Query Parameters
from int32
Unix timestamp (ms) for the start of the range. Defaults to 30 days ago.
to int32
Unix timestamp (ms) for the end of the range. Defaults to now.
Responses
- 200
- 400
- 422
Ok
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
teams object[]required
color stringrequired
initials stringrequired
name stringrequired
id doublerequired
events object[]required
type stringrequired
Possible values: [exposure, goal]
team_id doublerequired
count doublerequired
date doublerequired
{
"teams": [
{
"color": "string",
"initials": "string",
"name": "string",
"id": 0
}
],
"events": [
{
"type": "exposure",
"team_id": 0,
"count": 0,
"date": 0
}
]
}
Invalid date range
- application/json
- Schema
- Example (from schema)
Schema
ok booleanrequired
Possible values: [false]
errors string[]required
{
"ok": false,
"errors": [
"string"
]
}
Validation failed
- application/json
- Schema
- Example (from schema)
Schema
ok booleanrequired
Possible values: [false]
errors string[]required
{
"ok": false,
"errors": [
"string"
]
}
Loading...