Get catalog statistics
GET
/stats
const url = 'https://shoehorn.example.com/api/v1/stats';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://shoehorn.example.com/api/v1/statsResponses
Section titled “ Responses ”Aggregate catalog metrics
Media type application/json
object
total_entities
integer
by_type
object
key
additional properties
integer
by_lifecycle
object
key
additional properties
integer
by_tier
object
key
additional properties
integer
Example generated
{ "total_entities": 1, "by_type": { "additionalProperty": 1 }, "by_lifecycle": { "additionalProperty": 1 }, "by_tier": { "additionalProperty": 1 }}