APIs for managing reports.
Currently supports App Reports.
Get report types
Report types
Bad request
Unauthorized
Internal server error
{- "content": {
- "report_types": [
- {
- "name": "string",
- "display_name": "string",
- "description": "string",
- "last_generated_at": "string",
- "available_from": "string"
}
]
}
}
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.
Create Report
Bad request
Unauthorized
Internal server error
{- "report_type": "device_apps",
- "start_time": "2024-08-28T00:00:00Z",
- "end_time": "2024-08-28T00:00:00Z",
- "is_download": true,
- "filters": {
- "date": "2024-08-28",
- "package_name": [
- "com.android.chrome"
], - "app_state": [
- "SHOW"
]
}
}
{- "content": {
- "id": "string",
- "status": "PENDING"
}
}
Call this API with report ID generated from "Create Report" API to check the report generation status and retrieve the results. Learn more.
Report status
Bad request
Unauthorized
Internal server error
{- "content": {
- "id": "string",
- "status": "PENDING"
}
}