Harness · Schema

AggregationRuleDetailsRequest

DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration

Properties

Name Type Description
aggregation_rule object
View JSON Schema on GitHub

JSON Schema

harness-aggregation-rule-details-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-aggregation-rule-details-request-schema.json",
  "title": "AggregationRuleDetailsRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-aggregationrules-api-openapi.yml#/components/schemas/AggregationRuleDetailsRequest",
  "type": "object",
  "properties": {
    "aggregation_rule": {
      "$ref": "#/$defs/AggregationRuleDetails"
    }
  },
  "$defs": {
    "AggFormula": {
      "title": "AggFormula",
      "type": "string",
      "enum": [
        "SUM",
        "AVG",
        "COUNT",
        "MAX",
        "MIN",
        "MEDIAN"
      ]
    },
    "AggregationComputeStatus": {
      "title": "AggregationComputeStatus",
      "type": "string",
      "enum": [
        "CALCULATING",
        "ERROR",
        "SUCCESS"
      ]
    },
    "AggregationEntitySelectionCriteria": {
      "title": "AggregationEntitySelectionCriteria",
      "type": "object",
      "properties": {
        "scopes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Scope identifiers of selected entities (e.g., org/project)"
        },
        "kind": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "owners": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "lifecycles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "AggregationRuleDetails": {
      "title": "AggregationRuleDetails",
      "type": "object",
      "required": [
        "identifier",
        "name",
        "field_for_agg",
        "agg_formula",
        "scopes_to_aggregate_at"
      ],
      "properties": {
        "identifier": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "field_for_agg": {
          "type": "string",
          "description": "Field to aggregate"
        },
        "agg_formula": {
          "$ref": "#/$defs/AggFormula"
        },
        "scopes_to_aggregate_at": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AggregationScopeLevel"
          }
        },
        "entity_selection_criteria": {
          "$ref": "#/$defs/AggregationEntitySelectionCriteria"
        },
        "last_computed_status": {
          "$ref": "#/$defs/AggregationComputeStatus"
        },
        "last_computed_at": {
          "type": "integer",
          "format": "int64"
        },
        "last_error_message": {
          "type": "string"
        }
      }
    },
    "AggregationScopeLevel": {
      "title": "AggregationScopeLevel",
      "type": "string",
      "enum": [
        "ACCOUNT",
        "ORGANIZATION",
        "PROJECT",
        "SYSTEM",
        "TEAM"
      ]
    }
  }
}

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-aggregation-rule-details-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.