Harness · Schema
ClusterLinkRequest
Batch Request to link clusters to the environment in a batch
DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration
Properties
| Name | Type | Description |
|---|---|---|
| orgIdentifier | string | Organization identifier of the environment |
| projectIdentifier | string | Project identifier of the environment |
| envRef | string | Environment identifier for the cluster |
| clusters | array | List of cluster identifiers and names |
| linkAllClusters | boolean | Link all clusters to the environment. When true, links all clusters matching the searchTerm. |
| searchTerm | string | Search term to filter clusters when linkAllClusters is true. Only used with linkAllClusters=true. |
| skipClusterValidation | boolean | Skip cluster existence validation in GitOps service. When true, allows linking clusters without verifying they exist in GitOps. Useful for pre-provisioning scenarios or when clusters are being created |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-cluster-link-request-schema.json",
"title": "ClusterLinkRequest",
"description": "Batch Request to link clusters to the environment in a batch",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/harness-clusters-api-openapi.yml#/components/schemas/ClusterLinkRequest",
"required": [
"envRef"
],
"type": "object",
"properties": {
"orgIdentifier": {
"type": "string",
"description": "Organization identifier of the environment"
},
"projectIdentifier": {
"type": "string",
"description": "Project identifier of the environment"
},
"envRef": {
"type": "string",
"description": "Environment identifier for the cluster"
},
"clusters": {
"maxItems": 1000,
"minItems": 0,
"type": "array",
"description": "List of cluster identifiers and names",
"items": {
"$ref": "#/$defs/ClusterBasicDTO"
}
},
"linkAllClusters": {
"type": "boolean",
"description": "Link all clusters to the environment. When true, links all clusters matching the searchTerm."
},
"searchTerm": {
"type": "string",
"description": "Search term to filter clusters when linkAllClusters is true. Only used with linkAllClusters=true."
},
"skipClusterValidation": {
"type": "boolean",
"description": "Skip cluster existence validation in GitOps service. When true, allows linking clusters without verifying they exist in GitOps. Useful for pre-provisioning scenarios or when clusters are being created asynchronously."
}
},
"$defs": {
"ClusterBasicDTO": {
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "identifier of the cluster"
},
"agentIdentifier": {
"type": "string",
"description": "agent identifier of the cluster"
},
"name": {
"type": "string",
"description": "name of the cluster"
},
"scope": {
"type": "string",
"description": "scope at which the cluster exists in harness gitops, project vs org vs account",
"enum": [
"ACCOUNT",
"ORGANIZATION",
"PROJECT"
]
}
},
"description": "List of cluster identifiers and names"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/harness-cluster-link-request"
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.