{"type":"api","title":"Fetch the count of endpoints","meta":{"id":"/apps/pubhub/media/dna-center-235/0e427c513038595590fc5a0593cb0e208dd78571/2192edf3-d24e-3461-ab8c-12a97b547df4","swagger":"2.0","info":{"description":"Cisco DNA Center Platform v. 2.3.5","version":"2.3.5","title":"Intent API"},"schemes":["https"],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"fetchTheCountOfEndpoints","tags":["Policy"],"summary":"Fetch the count of endpoints","description":"Fetch the total count of endpoints that match the given filter criteria.","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"profilingStatus","description":"Profiling status of the endpoint. Possible values are 'profiled', 'partialProfiled', 'notProfiled'.","required":false,"type":"string","in":"query"},{"name":"macAddress","description":"MAC address to search for. Partial string is allowed.","required":false,"type":"string","in":"query"},{"name":"macAddresses","description":"List of MAC addresses to filter on. Only exact matches will be returned.","required":false,"type":"array","in":"query","items":{"type":"string"}},{"name":"ip","description":"IP address to search for. Partial string is allowed.","required":false,"type":"string","in":"query"},{"name":"deviceType","description":"Type of device to search for. Partial string is allowed.","required":false,"type":"string","in":"query"},{"name":"hardwareManufacturer","description":"Hardware manufacturer to search for. Partial string is allowed.","required":false,"type":"string","in":"query"},{"name":"hardwareModel","description":"Hardware model to search for. Partial string is allowed.","required":false,"type":"string","in":"query"},{"name":"operatingSystem","description":"Operating system to search for. Partial string is allowed.","required":false,"type":"string","in":"query"},{"name":"registered","description":"Flag to fetch manually registered or non-registered endpoints.","default":false,"required":false,"type":"boolean","in":"query"},{"name":"randomMac","description":"Flag to fetch endpoints having randomized MAC or not.","default":false,"required":false,"type":"boolean","in":"query"},{"name":"trustScore","description":"Overall trust score of the endpoint. It can be provided either as a number value (e.g. 5), or as a range (e.g. 3-7). Provide value as '-' if you want to search for all endpoints where trust score is not assigned.","required":false,"type":"string","in":"query"},{"name":"authMethod","description":"Authentication method. Partial string is allowed.","required":false,"type":"string","in":"query"},{"name":"postureStatus","description":"Posture status.","required":false,"type":"string","in":"query"},{"name":"aiSpoofingThreatLevel","description":"AI spoofing threat level of the endpoint. Possible values are 'low', 'medium', 'high'.","required":false,"type":"string","in":"query"},{"name":"changedProfileThreatLevel","description":"Threat level due to changing profile labels of the endpoint. Possible values are 'low', 'medium', 'high'.","required":false,"type":"string","in":"query"},{"name":"natThreatLevel","description":"NAT threat level of the endpoint. Possible values are 'low', 'medium', 'high'.","required":false,"type":"string","in":"query"},{"name":"concurrentMacThreatLevel","description":"Concurrent MAC threat level of the endpoint. Possible values are 'low', 'medium', 'high'.","required":false,"type":"string","in":"query"},{"name":"ipBlocklistDetected","description":"Flag to fetch endpoints hitting IP blocklist or not.","default":false,"required":false,"type":"boolean","in":"query"},{"name":"unauthPortDetected","description":"Flag to fetch endpoints exposing unauthorized ports or not.","default":false,"required":false,"type":"boolean","in":"query"},{"name":"weakCredDetected","description":"Flag to fetch endpoints having weak credentials or not.","default":false,"required":false,"type":"boolean","in":"query"},{"name":"ancPolicy","description":"ANC policy. Only exact match will be returned.","required":false,"type":"string","in":"query"}],"responses":{"200":{"description":"Success. Response has the count of records.","schema":{"type":"object","properties":{"count":{"type":"integer"}},"$$ref":"#/definitions/CountResponse"}},"400":{"description":"Invalid request. Check response body for more details."},"500":{"description":"Internal server error. Check response body for more details."}},"__originalOperationId":"fetchTheCountOfEndpoints","method":"get","path":"/dna/intent/api/v1/endpoint-analytics/endpoints/count"}}