GET
/
v1
/
agents
/
{agentId}
/
analytics
/
stats
Get results stats
curl --request GET \
  --url https://release0.com/api/v1/agents/{agentId}/analytics/stats \
  --header 'Authorization: Bearer <token>'
{
  "stats": {
    "totalViews": 123,
    "totalStarts": 123,
    "totalCompleted": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required

Query Parameters

timeFilter
enum<string>
default:last7Days
Available options:
today,
last7Days,
last30Days,
monthToDate,
lastMonth,
yearToDate,
allTime
timeZone
string

Response

200
application/json

Successful response

The response is of type object.