Usage summary

Get usage summary

GET https://APITOKEN@api.appetize.io/v1/usageSummary

Gets usage summary of all sessions for your account, including number of sessions and session durations.

Query Parameters

NameTypeDescription

nextKey

string

If results are truncated, response will include

hasMore:true

and

nextKey: "xyz"

. Pass nextKey value as query parameter into GET request to retrieve the next batch of results.

startMonth

string

Specify a starting month for the usage summary e.g. 2023-07 will start the usage summary in July 2023.

{
    "hasMore": true, // if results have been truncated
    "nextKey": "xyz", // query parameter for next batch of results
    "data": [{
        "month": "2016-06-01",
        "publicKey": "p7nww3n6ubq73r1nh9jtauqy8w",
        "numSessions": 325,
        "minutes" 162.5
    }, {
        "month": "2016-05-01",
        "publicKey": "p7nww3n6ubq73r1nh9jtauqy8w",
        "numSessions": 102,
        "minutes" 80.3
    }]
}

Last updated