Skip to content

Get image usage statistics

GET
/operations/workloads/image-stats
curl --request GET \
--url https://shoehorn.example.com/api/v1/operations/workloads/image-stats

Returns aggregated container image statistics across workloads. All filters are optional and combine with AND.

cluster
string
namespace
string
team
string
owner
string

Image statistics

Media type application/json
object
total_images
integer
unique_images
integer
by_registry
object
key
additional properties
integer
outdated

Images older than the platform’s freshness threshold

integer
Example generated
{
"total_images": 1,
"unique_images": 1,
"by_registry": {
"additionalProperty": 1
},
"outdated": 1
}

Invalid filter value