HomeGuidesAPI ReferenceGuidesMRT APIConfiguration API
GitHubAirheads Developer Community
API Reference

Create Report

This API endpoint allows users to generate reports based on report-specific filters, report periods, and scheduling options. Reports can be scheduled for one-time or recurring execution and sent by email in multiple formats.

General Parameters

ParameterDescriptionRequired
nameName of the report.true
typeType of the report.
Refer Report Type for more details.
true
timeZoneUser time zone in IANA format (for example, America/New_York).true
filtersFilters applied to refine report data.
Refer Report Filter for more details.
true
reportPeriodTime range defining the report data scope.
Refer Report Period for more details.
true
reportScheduleDefines how often the report is generated.
Refer Report Schedule for more details.
true
emailEmail recipients and report output formats.false

Report Type

The following report types and filter mappings are derived from Reports Metadata.

Report NameReport TypeSupported Filters
Application AnalyticsappAnalyticsappCategories, connectionType, deviceTypes, scope, sites
Capacity PlanningcapacityPlanningconnectionType, deviceTypes, excludeDevices, gatewayCapacityThreshold, gatewayPercentageOfTimeGreaterThanThreshold, includeDevices, scope, sites, switchCapacityThreshold, switchPercentageOfTimeGreaterThanThreshold
Client InventoryclientInventoryconnectionType, deviceTypes, excludeDevices, excludeUCClients, includeDevices, includeUCClients, includeUCModelOs, includeUCRole, includeUCSSIDs, includeUCVendor, scope, sites
Client SessionclientSessionconnectionType, deviceTypes, excludeDevices, excludeUCClients, includeDevices, includeUCClients, includeUCModelOs, includeUCRole, includeUCSSIDs, includeUCVendor, scope, sites
Device UptimedeviceUptimedeviceTypes, excludeDevices, includeDevices, scope, sites
Licenseslicensesscope (global only)
MSP Customer (For MSP Customers)mspcustomerdeviceOwnership, scope (global only)
MSP Inventory (For MSP Customers)mspinventoryscope (global only)
MSP License (For MSP Customers)msplicensescope (global only)
MSP Subscription (For MSP Customers)mspsubscriptionscope (global only)
Network UsagenetworkUsagedeviceTypes, excludeDevices, excludeUCSSIDs, includeDevices, includeUCSSIDs, scope, sites
Resource UtilizationresourceUtilizationapCpuUtilThreshold, apMemoryUtilThreshold, deviceTypes, excludeDevices, gatewayCpuUtilThreshold, gatewayMemoryUtilThreshold, includeDevices, scope, sites, switchCpuUtilThreshold, switchMemoryUtilThreshold
RF HealthrfHealthexcludeDevices, includeDevices, radioFrequency, scope, sites
Security CompliancesecurityCompliancescope (global only)
Visitorvisitorscope, ssids
WIDSwidsscope, sites
CustomcustomFilter support varies with respect to KPI selection. Refer Reports Metadata API

Report Filter

Filter NameFilter TypeDescriptionRequired
ScopescopeScope filter for report. Allowed values are global and sites.true if applicable
SitessitesSite IDs filter for report.true if scope is sites
Device TypesdeviceTypesDevice type filter. Allowed values: access_points, switches, gateways.true if applicable
Connection TypeconnectionTypeConnection type filter. Allowed values: wired, wireless, all.true if applicable
Device OwnershipdeviceOwnershipDevice ownership type filter. Allowed values: MSP, CUSTOMER.true if applicable
Application CategoriesappCategoriesApplication category filter. Allowed values from metadata (for example, Any).true if applicable
Radio FrequencyradioFrequencyFrequency band filter. Allowed values: 2.4GHz, 5GHz, 6GHz.true if applicable
SSIDssidsSSID values used for visitor reports.true if applicable
Include DevicesincludeDevicesDevice serial numbers to include in report output.false
Exclude DevicesexcludeDevicesDevice serial numbers to exclude from report output.false
Include Unified ClientsincludeUCClientsUnified client identifiers to include.false
Exclude Unified ClientsexcludeUCClientsUnified client identifiers to exclude.false
Include Unified Client VendorincludeUCVendorUnified client vendor values to include.false
Include Unified Client Model/OSincludeUCModelOsUnified client model or OS values to include.false
Include Unified Client RoleincludeUCRoleUnified client role values to include.false
Include Unified Client SSIDsincludeUCSSIDsUnified client SSIDs to include.false
Exclude Unified Client SSIDsexcludeUCSSIDsUnified client SSIDs to exclude.false
AP CPU Utilization ThresholdapCpuUtilThresholdAP CPU utilization threshold filter. Range: 0-100 (default: 70).false
Switch CPU Utilization ThresholdswitchCpuUtilThresholdSwitch CPU utilization threshold filter. Range: 0-100 (default: 70).false
Gateway CPU Utilization ThresholdgatewayCpuUtilThresholdGateway CPU utilization threshold filter. Range: 0-100 (default: 70).false
AP Memory Utilization ThresholdapMemoryUtilThresholdAP memory utilization threshold filter. Range: 0-100 (default: 70).false
Switch Memory Utilization ThresholdswitchMemoryUtilThresholdSwitch memory utilization threshold filter. Range: 0-100 (default: 70).false
Gateway Memory Utilization ThresholdgatewayMemoryUtilThresholdGateway memory utilization threshold filter. Range: 0-100 (default: 70).false
Switch Capacity ThresholdswitchCapacityThresholdSwitch capacity threshold filter. Range: 0-99 (default: 40).false
Switch Percentage Of Time Greater Than ThresholdswitchPercentageOfTimeGreaterThanThresholdPercentage of time switch exceeds threshold. Range: 0-99 (default: 25).false
Gateway Capacity ThresholdgatewayCapacityThresholdGateway capacity threshold filter.false
Gateway Percentage Of Time Greater Than ThresholdgatewayPercentageOfTimeGreaterThanThresholdPercentage of time gateway exceeds threshold.false

Report Period

Report PeriodAllowed FieldsAllowed Schedules
SNAPSHOTNoneONE_TIME, EVERY_DAY, EVERY_WEEK, EVERY_MONTH
LAST_DAYsliceTimeONE_TIME, EVERY_DAY
LAST_WEEKsliceTime, sliceDaysONE_TIME, EVERY_WEEK, EVERY_MONTH
LAST_MONTHsliceTime, sliceDaysONE_TIME, EVERY_MONTH
CUSTOM_RANGEfrom, to timestamps (without sliceDays or sliceTime)ONE_TIME

sliceTime and sliceDays are applicable only for resourceUtilization and capacityPlanning report types.

Report Schedule

Schedule TypeRequired FieldsApplicable Report Periods
ONE_TIMENoneAll report periods
EVERY_DAYstartDate, endDateLAST_DAY
EVERY_WEEKstartDate, endDateLAST_WEEK
EVERY_MONTHstartDate, endDateLAST_WEEK, LAST_MONTH
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
report
object
Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json