{"type":"api","title":"Get MSP SAL Event Usage","meta":{"id":"/apps/pubhub/media/cdo-api-documentation/fc190292ad0b98625f6b6f66a66acd09c1059a4d/9b0e4c9a-48cb-3530-a00a-1f32fbf2438c","info":{"title":"Cisco Security Cloud Control Firewall Manager API","version":"1.23.0","description":"Use the documentation to explore the endpoints Security Cloud Control Firewall Manager has to offer","contact":{"name":"Cisco Security Cloud Control TAC","email":"cdo.tac@cisco.com"}},"openapi":"3.0.1","servers":[{"url":"https://api.us.security.cisco.com/firewall","description":"US"},{"url":"https://api.eu.security.cisco.com/firewall","description":"EU"},{"url":"https://api.apj.security.cisco.com/firewall","description":"APJ"},{"url":"https://api.au.security.cisco.com/firewall","description":"AUS"},{"url":"https://api.in.security.cisco.com/firewall","description":"IN"},{"url":"https://api.uae.security.cisco.com/firewall","description":"UAE"},{"url":"https://api.int.security.cisco.com/firewall","description":"Staging"},{"url":"https://scale.manage.security.cisco.com/api/rest","description":"Scale"},{"url":"https://ci.manage.security.cisco.com/api/rest","description":"CI"},{"url":"https://devfed.cdo.cisco.com/api/rest","description":"Devfed"},{"url":"https://manage.dev.secure.cisco/api/rest","description":"Devf9"},{"url":"https://manage.stg.secure.cisco/api/rest","description":"Stgf9"},{"url":"https://manage.secure.cisco/api/rest","description":"ProdF9"},{"url":"https://manage.securitydod.cisco/api/rest","description":"IL5"}],"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"}}},"spec":{"description":"Returns the amount of firewall and SD-WAN event data ingested by each managed tenant in the MSP portal that has Security Analytics and Logging (SAL) enabled. Each managed tenant includes totals and monthly averages for the requested time range, and a usage entry for each UTC calendar month in that range. Results can be filtered, sorted, and paginated.","operationId":"getMspSalEventUsage","parameters":[{"description":"UTC calendar-month range to include.","in":"query","name":"timeRange","required":true,"schema":{"enum":["1M","3M","6M","1Y"],"type":"string"}},{"description":"Number of managed tenants to return.","in":"query","name":"limit","required":false,"schema":{"default":"50","maximum":200,"minimum":1,"type":"string"}},{"description":"Index of the first managed tenant to return. Must be 0 or a multiple of limit.","in":"query","name":"offset","required":false,"schema":{"default":"0","minimum":0,"type":"string"}},{"description":"Filter by managedTenantName, managedTenantDisplayName, or payType using Lucene syntax. Name fields use case-insensitive matching; use '*' for wildcard matching. payType uses an exact match. Only '*' is supported as a wildcard.","example":"managedTenantName:*soln23* AND managedTenantDisplayName:*auto* AND payType:INTERNAL","in":"query","name":"q","required":false,"schema":{"type":"string"}},{"description":"Sort by total.firewallBytes or total.sdwanBytes summed over the selected timeRange. Append :asc or :desc (uppercase directions are also accepted); a bare field sorts ascending. Repeat sort parameters to apply clauses in the supplied order. If sort is omitted, tenants are returned by UID in ascending order.","example":"total.sdwanBytes:asc","in":"query","name":"sort","required":false,"schema":{"items":{"type":"string"},"type":"array"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"count":{"description":"The total number of results available.","example":100,"format":"int32","type":"integer"},"items":{"description":"The list of items retrieved.","items":{"description":"SAL event usage for one managed tenant.","properties":{"managedTenantDisplayName":{"description":"The human-readable display name of the managed tenant.","example":"QE Auto Stage 2","type":"string"},"managedTenantName":{"description":"The name of the managed tenant.","example":"cisco-qe-auto-stage-2","type":"string"},"monthlyUsage":{"description":"Event usage for each UTC calendar month in the requested time range, ordered from oldest to newest.","items":{"description":"Event usage for one UTC calendar month. Dates are used because SAL aggregates usage by calendar month rather than by time of day.","properties":{"endDate":{"description":"The first day of the following calendar month in UTC. This date is not included in the period.","example":"2026-08-01T00:00:00Z","format":"date","type":"string"},"firewallBytes":{"description":"Firewall event data ingested during this month, in bytes.","format":"int64","type":"integer"},"sdwanBytes":{"description":"SD-WAN event data ingested during this month, in bytes.","format":"int64","type":"integer"},"startDate":{"description":"The first day of the calendar month in UTC. This date is included in the period.","example":"2026-07-01T00:00:00Z","format":"date","type":"string"}},"type":"object","$$ref":"#/components/schemas/MspSalUsagePeriod"},"type":"array"},"payType":{"description":"The billing classification of the managed tenant. This value is null when no pay type is stored.","enum":["PAYING","NOT_PAYING","TRIAL","INTERNAL","PARTNER","DEMO"],"nullable":true,"type":"string"},"salUsageIngestDate":{"description":"When SAL usage was last successfully ingested for this managed tenant. This value is null when SAL usage has not yet been ingested.","example":"2026-09-25T10:15:30Z","format":"date-time","nullable":true,"type":"string"},"summary":{"description":"Aggregated event usage for the requested time range.","properties":{"average":{"description":"Average event data ingested per calendar month in the requested time range. The current month uses its month-to-date value.","properties":{"firewallBytes":{"description":"Firewall event data ingested, in bytes.","format":"int64","type":"integer"},"sdwanBytes":{"description":"SD-WAN event data ingested, in bytes.","format":"int64","type":"integer"}},"type":"object","$$ref":"#/components/schemas/MspSalUsageBytes"},"total":{"description":"Average event data ingested per calendar month in the requested time range. The current month uses its month-to-date value.","properties":{"firewallBytes":{"description":"Firewall event data ingested, in bytes.","format":"int64","type":"integer"},"sdwanBytes":{"description":"SD-WAN event data ingested, in bytes.","format":"int64","type":"integer"}},"type":"object","$$ref":"#/components/schemas/MspSalUsageBytes"}},"type":"object","$$ref":"#/components/schemas/MspSalUsageSummary"},"uid":{"description":"The unique identifier, represented as a UUID, of the managed tenant in Security Cloud Control.","example":"9db2e8e7-05f7-4619-a813-ffceba617cc4","format":"uuid","type":"string"}},"required":["payType","salUsageIngestDate"],"type":"object","$$ref":"#/components/schemas/MspSalUsageItemDto"},"type":"array"},"limit":{"description":"The number of results retrieved.","example":50,"format":"int32","type":"integer"},"offset":{"description":"The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.","example":0,"format":"int32","type":"integer"}},"type":"object","$$ref":"#/components/schemas/MspSalUsagePage"}}},"description":"SAL event usage for enabled managed tenants"},"500":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, about the error.","example":{},"type":"object"},"description":"Additional details, if any, about the error.","example":{},"type":"object"},"errorCode":{"description":"Unique code that describes the error.","enum":["INVALID_INPUT","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","METHOD_NOT_ALLOWED","CONFLICT","TOO_MANY_REQUESTS","SERVER_ERROR","PROXY_ERROR","BAD_REQUEST","UNPROCESSABLE_ENTITY"],"example":"INVALID_INPUT","type":"string"},"errorMsg":{"description":"Human-readable error description in English.","example":"sample error","type":"string"}},"type":"object","$$ref":"#/components/schemas/CommonApiError"}}},"description":"Internal server error."}},"security":[{"bearerAuth":[]}],"summary":"Get MSP SAL Event Usage","tags":["MSP Events"],"__originalOperationId":"getMspSalEventUsage","method":"get","path":"/v1/msp/events/usage"}}