---
updatedAt: 2026-07-26T12:14:49.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/security/llms.txt
---

# Retrieve Clusters Count By Provider

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Runtime Security RESTful API",
    "version": "1.0.0",
    "description": "This document describes the Runtime Security RESTful API.<br/>\nAt the moment these API Endpoints can only be used internally,<br/>\nby the Runtime Frontend and other JPD services.\n"
  },
  "servers": [
    {
      "url": "http://localhost:9999/v1",
      "description": "localhost"
    },
    {
      "url": "http://demo-runtime.jfrog.net/v1",
      "description": "demo"
    }
  ],
  "tags": [
    {
      "name": "Clusters",
      "description": "Cluster listing, details, registration, and lifecycle operations."
    }
  ],
  "paths": {
    "/ui/clusters/count_by_provider": {
      "get": {
        "tags": [
          "Clusters"
        ],
        "summary": "Retrieve Clusters Count By Provider",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClusterCountByCloudProvider"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ClusterCountByCloudProvider": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "description": "Number of clusters for the cloud provider."
          },
          "cloud_provider": {
            "type": "string",
            "description": "Cloud provider name."
          }
        },
        "required": [
          "count",
          "cloud_provider"
        ]
      }
    }
  }
}
```