Reports API

Get report types

Get report types

SecuritybearerAuth
Responses
200

Report types

400

Bad request

401

Unauthorized

500

Internal server error

get/report/v0/report-types
Request samples
Response samples
application/json
{
  • "content": {
    }
}

Create Report

This API will return a report ID. Use this ID to call the "Get Report Status" API to check the report generation status and retrieve the results. Learn more.

SecuritybearerAuth
Request
Request Body schema: application/json
required
report_type
string
Value: "device_apps"
start_time
string
end_time
string
is_download
boolean
(DeviceAppsFilter (object or null))
Responses
200

Create Report

400

Bad request

401

Unauthorized

500

Internal server error

post/report/v0/reports
Request samples
application/json
{
  • "report_type": "device_apps",
  • "start_time": "string",
  • "end_time": "string",
  • "is_download": true,
  • "filters": {
    }
}
Response samples
application/json
{
  • "content": {
    }
}

Get report status

Call this API with report ID generated from "Create Report" API to check the report generation status and retrieve the results. Learn more.

SecuritybearerAuth
Request
path Parameters
report_id
required
string <uuid>

Report ID

Responses
200

Report status

400

Bad request

401

Unauthorized

500

Internal server error

get/report/v0/reports/{report_id}
Request samples
Response samples
application/json
{
  • "content": {
    }
}