Skip to main content
Infrastructure/Agents

GetManagedAgentStatistics

Count active Agents within current agent.read resource grants and optional platform/Region filters in one database read view. Four saved primary-status counts partition managedTotal; certified update availability is an independent count. List filters and pagination do not apply. Permission and dependency failures never return partial or fabricated zero counts. All six nonnegative int64 counts use protobuf JSON string encoding. User Bearer authentication and the stated ZIAM permission checks apply only when auth.require_user=true; with the default false setting, this operation works without user authentication.

GET/api/v1/lifecycle/managed-agent/agents/statistics

Operation ID

GetManagedAgentStatistics

Since

1.3.0

Execution Mode

Synchronous

Auth Context

No auth required

Request Inputs

application/json

Query Parameters

  • platformUuid
    String

    Filter statistics by platform UUID

  • regionUuid
    String

    Filter statistics by region UUID

  • hasPlatform
    Boolean

    Omitted means no association-presence filter; false selects NULL UUIDs.

    Example: true

  • hasRegion
    Boolean

    Filter statistics by whether a region is associated

    Example: true

Responses

200 OK

A successful response.

Content-Type: application/json

Response body root type: object

  • managedTotal
    String

    Managed total for this resource

    Example: 10

    {"format":"int64"}

  • needsActionCount
    String

    Needs action count for this resource

    Example: 10

    {"format":"int64"}

  • inProgressCount
    String

    In progress count for this resource

    Example: 10

    {"format":"int64"}

  • stoppedCount
    String

    Stopped count for this resource

    Example: 10

    {"format":"int64"}

  • normalCount
    String

    Normal count for this resource

    Example: 10

    {"format":"int64"}

  • updateAvailableCount
    String

    Update available count for this resource

    Example: 10

    {"format":"int64"}