Harness · Schema

servicev1ClusterQuery

DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration

Properties

Name Type Description
accountIdentifier string Account Identifier for the Entity.
projectIdentifier string Project Identifier for the Entity.
orgIdentifier string Organization Identifier for the Entity.
agentIdentifier string Agent identifier for entity.
identifier string
searchTerm string
pageSize integer
pageIndex integer
filter object Filters for Clusters. Eg. "identifier": { "$in": ["id1", "id2"]
sortBy object
sortOrder object
includeChildScopes boolean When true and agentIdentifier is set, retrieves clusters across hierarchical scopes based on agent prefix: account.* agents see account/org/project clusters, org.* agents see org/project clusters, unp
View JSON Schema on GitHub

JSON Schema

harness-servicev1-cluster-query-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-servicev1-cluster-query-schema.json",
  "title": "servicev1ClusterQuery",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-clusters-api-openapi.yml#/components/schemas/servicev1ClusterQuery",
  "type": "object",
  "properties": {
    "accountIdentifier": {
      "type": "string",
      "description": "Account Identifier for the Entity."
    },
    "projectIdentifier": {
      "type": "string",
      "description": "Project Identifier for the Entity."
    },
    "orgIdentifier": {
      "type": "string",
      "description": "Organization Identifier for the Entity."
    },
    "agentIdentifier": {
      "type": "string",
      "description": "Agent identifier for entity."
    },
    "identifier": {
      "type": "string"
    },
    "searchTerm": {
      "type": "string"
    },
    "pageSize": {
      "type": "integer",
      "format": "int32"
    },
    "pageIndex": {
      "type": "integer",
      "format": "int32"
    },
    "filter": {
      "type": "object",
      "description": "Filters for Clusters. Eg. \"identifier\": { \"$in\": [\"id1\", \"id2\"]"
    },
    "sortBy": {
      "$ref": "#/$defs/ClusterQueryClusterSortByOptions"
    },
    "sortOrder": {
      "$ref": "#/$defs/v1SortOrderOptions"
    },
    "includeChildScopes": {
      "type": "boolean",
      "description": "When true and agentIdentifier is set, retrieves clusters across hierarchical scopes based on agent prefix: account.* agents see account/org/project clusters, org.* agents see org/project clusters, unprefixed agents see only project clusters."
    }
  },
  "$defs": {
    "ClusterQueryClusterSortByOptions": {
      "type": "string",
      "enum": [
        "SORT_BY_NOT_SET",
        "NAME",
        "GITOPS_AGENT",
        "URL",
        "VERSION",
        "CONNECTIVITY_STATUS"
      ],
      "default": "SORT_BY_NOT_SET"
    },
    "v1SortOrderOptions": {
      "type": "string",
      "enum": [
        "SORT_ORDER_NOT_SET",
        "ASC",
        "DESC"
      ],
      "default": "SORT_ORDER_NOT_SET"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/harness-servicev1-cluster-query"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.