{"type":"api","title":"Get time-series health metrics for one or more ASA devices","meta":{"id":"/apps/pubhub/media/cdo-api-documentation/24eb19cd1b39c04dd059253315ca187eaa01947f/9b0e4c9a-48cb-3530-a00a-1f32fbf2438c","info":{"title":"Cisco Security Cloud Control Firewall Manager API","version":"1.13.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.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://manage.stg.secure.cisco/api/rest","description":"Stgf9"}],"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"}}},"spec":{"description":"Returns time-series metrics such as CPU, memory, disk, connections, and environment data over a specified time range. Supports filtering by device and metric. Pagination applies only when device UIDs are not specified.","operationId":"getAsaHealthMetrics","parameters":[{"description":"Start of the time range (ISO 8601 format).","example":"2025-04-05T00:00:00Z","in":"query","name":"start","required":false,"schema":{"type":"string"}},{"description":"End of the time range (ISO 8601 format).","example":"2025-04-05T04:00:00Z","in":"query","name":"end","required":false,"schema":{"type":"string"}},{"description":"Relative time range (mutually exclusive with start/end). Data is collected every 10 minutes, so shorter time ranges may return fewer data points.","example":"10m","in":"query","name":"timeRange","required":false,"schema":{"enum":["10m","30m","1h"],"type":"string"}},{"description":"Maximum number of device records to return (used only when no deviceUids are provided).","in":"query","name":"limit","required":false,"schema":{"maximum":50,"minimum":0,"type":"string"}},{"description":"Offset for pagination (used only when no deviceUids are provided).","in":"query","name":"offset","required":false,"schema":{"minimum":0,"type":"string"}},{"description":"Comma-separated list of device UIDs to query. Max 50. If omitted, results are paginated.","example":"256461f6-bd60-11ef-8beb-6cf1610cf55d,41a1d57b-ffc2-49aa-933b-440cdd76b2fc","in":"query","name":"deviceUids","required":false,"schema":{"maxLength":50,"maximum":50,"minLength":0,"type":"string"}},{"description":"Comma-separated list of metrics to return (e.g. cpu, mem). Returns all if omitted.","example":"cpu,mem","in":"query","name":"metrics","required":false,"schema":{"enum":["cpu","mem","disk","env","connections","natTranslations"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"items":{"items":{"properties":{"description":{"type":"string"},"metrics":{"additionalProperties":{"properties":{"series":{"items":{"properties":{"timestamp":{"format":"date-time","type":"string"},"value":{"format":"double","type":"number"}},"type":"object","$$ref":"#/components/schemas/Series"},"type":"array"},"summary":{"properties":{"average":{"format":"double","type":"number"},"latest":{"format":"double","type":"number"},"max":{"format":"double","type":"number"}},"type":"object","$$ref":"#/components/schemas/Summary"}},"type":"object","$$ref":"#/components/schemas/Metric"},"type":"object"},"name":{"type":"string"},"uid":{"format":"uuid","type":"string"}},"type":"object","$$ref":"#/components/schemas/MetricsItem"},"type":"array"},"limit":{"format":"int32","type":"integer"},"offset":{"format":"int32","type":"integer"},"total":{"format":"int32","type":"integer"}},"type":"object","$$ref":"#/components/schemas/MetricsResponse"}}},"description":"Successfully retrieved time-series metrics for one or more ASA devices."},"400":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, on the error","example":{},"type":"object"},"description":"Additional details, if any, on the error","example":{},"type":"object"},"errorCode":{"description":"A 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":"A human-readable error description in English.","example":"sample error","type":"string"}},"$$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"}},"$$ref":"#/components/schemas/AuthenticationError"}}},"description":"Request not authorized.","$$ref":"#/components/responses/http401Unauthorised"},"403":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, on the error","example":{},"type":"object"},"description":"Additional details, if any, on the error","example":{},"type":"object"},"errorCode":{"description":"A 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":"A human-readable error description in English.","example":"sample error","type":"string"}},"$$ref":"#/components/schemas/CommonApiError"}}},"description":"User does not have sufficient privileges to perform this operation.","$$ref":"#/components/responses/http403Forbidden"},"404":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, on the error","example":{},"type":"object"},"description":"Additional details, if any, on the error","example":{},"type":"object"},"errorCode":{"description":"A 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":"A human-readable error description in English.","example":"sample error","type":"string"}},"$$ref":"#/components/schemas/CommonApiError"}}},"description":"Entity not found.","$$ref":"#/components/responses/http404NotFound"},"500":{"content":{"application/json":{"schema":{"properties":{"details":{"additionalProperties":{"description":"Additional details, if any, on the error","example":{},"type":"object"},"description":"Additional details, if any, on the error","example":{},"type":"object"},"errorCode":{"description":"A 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":"A human-readable error description in English.","example":"sample error","type":"string"}},"$$ref":"#/components/schemas/CommonApiError"}}},"description":"Internal server error."}},"security":[{"bearerAuth":[]}],"summary":"Get time-series health metrics for one or more ASA devices","tags":["Device Health"],"__originalOperationId":"getAsaHealthMetrics","method":"get","path":"/v1/inventory/devices/asas/health/metrics"}}