{"type":"api","title":"Get 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 for the tenant. SAL reports usage in monthly buckets, so each usage entry represents one UTC calendar month with an inclusive start date and exclusive end date. The response includes totals and monthly averages for the requested time range. Security Analytics and Logging (SAL) must be enabled for the tenant. Usage for the current month includes data ingested from the start of the current calendar month up to the time of the request.","operationId":"getSalEventUsage","parameters":[{"description":"The calendar-month range to return. The current month is included. Use 1M for the current month, 3M for the current and previous two months, 6M for the current and previous five months, or 1Y for the current and previous eleven months.","example":"3M","in":"query","name":"timeRange","required":true,"schema":{"enum":["1M","3M","6M","1Y"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"summary":{"description":"Totals and monthly averages for the requested time range.","properties":{"average":{"description":"Average event data ingested per returned calendar month. 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/UsageBytes"},"total":{"description":"Average event data ingested per returned calendar month. 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/UsageBytes"}},"type":"object","$$ref":"#/components/schemas/UsageSummary"},"usage":{"description":"UTC calendar-month usage buckets, ordered from oldest to newest. Each bucket has an inclusive start date and an exclusive end date.","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":{"end":{"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"},"start":{"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/UsagePeriod"},"type":"array"}},"type":"object","$$ref":"#/components/schemas/EventUsageResponse"}}},"description":"EventUsageResponse object."},"400":{"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":"Invalid input provided. Check the response for details.","$$ref":"#/components/responses/http400BadRequest"},"401":{"content":{"application/json":{"schema":{"properties":{"error":{"description":"A human-readable error description in English.","example":"invalid_token","type":"string"},"errorDescription":{"description":"A human-readable error description in English.","example":"Your token is invalid","type":"string"}},"type":"object","$$ref":"#/components/schemas/AuthenticationError"}}},"description":"Request not authorized.","$$ref":"#/components/responses/http401Unauthorised"},"405":{"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":"Method not allowed.","$$ref":"#/components/responses/http405MethodNotAllowed"},"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 SAL Event Usage","tags":["Events"],"__originalOperationId":"getSalEventUsage","method":"get","path":"/v1/events/usage"}}