Get package stats

View as Markdown
GET /api/fleet/epm/packages/{pkgName}/stats

Spaces method and path for this operation:

get /s/{space_id}/api/fleet/epm/packages/{pkgName}/stats

Refer to Spaces for more information.

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.

Path parameters

  • pkgName string Required

Responses

  • 200 application/json

    OK: A successful request.

    Hide response attribute Show response attribute object
    • response object Required

      Additional properties are NOT allowed.

      Hide response attributes Show response attributes object
      • agent_policy_count number Required
      • package_policy_count number Required
  • 400 application/json

    A bad request.

    Hide response attributes Show response attributes object
    • error string
    • errorType string
    • message string Required
    • statusCode number
GET /api/fleet/epm/packages/{pkgName}/stats
curl \
 --request GET 'http://localhost:5601/api/fleet/epm/packages/{pkgName}/stats' \
 --header "Authorization: $API_KEY"