Upsight logo Back to top

Account Level Reports

Aggregate Account Level Report

Description


Returns meta data at the account level.

Aggregate Account Level Report

HTTP:GET


/report/report

Aggregate Account Level Report

Parameters


ParameterTypeDescription
auth Authentication token (authentication header may be used instead). Required

Aggregate Account Level Report

Example Request


GET /report/report?startts=1320883200&endts=1323993600

Aggregate Account Level Report

Example Response


{
    "errobj": null,
    "response": {
        "users": 78864,
        "revenue": 50.53,
        "sessions": 96107,
        "startts": 1320883200,
        "endts": 1323993600,
        "spend": 20905.5,
        "value": 59033.25,
        "iap_value": 3500.30
    },
    "error": null
}

Detailed Account Level Report

Description


Returns meta data and a list of data points for the specified report type. Each data point is returned as a (timestamp, value) pair. Data points are spaced out according to the granularity parameter (set to 'day' by default). The API will not perform interpolation to fill gaps in reporting with intermediate data points.

Detailed Account Level Report

HTTP:GET


/report/report/<report_type:str>

Detailed Account Level Report

Parameters


ParameterTypeDescription
report_type string See the Detailed Account Report Types table.
auth Authentication token (authentication header may be used instead). Required

Detailed Account Level Report

Example Request


GET /report/report/spend?startts=1320883200&endts=1323993600

Detailed Account Level Report

Example Response


{
    "errobj": null,
    "response": {
        "report": "spend",
        "startts": 1320883200,
        "endts": 1323993600,
        "datapoints": [
            [
                1322092800,
                5.25
            ],
            [
                1322179200,
                0.00
            ],
            [
                1322265600,
                0.00
            ],
            ...
         ],
     },
     "error": null
}