Harness · Schema
ActivityResourceCollection
DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-activity-resource-collection-schema.json",
"title": "ActivityResourceCollection",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/harness-activities-api-openapi.yml#/components/schemas/ActivityResourceCollection",
"type": "array",
"items": {
"$ref": "#/$defs/HarnessIacmActivity"
},
"$defs": {
"ActivityMetadata": {
"type": "object",
"properties": {
"PlannedChangesCount": {
"type": "integer",
"description": "Deprecated: use resource_count_xxxx fields instead",
"default": 0,
"format": "int64"
},
"activity_status": {
"type": "string",
"description": "The status of this activity",
"enum": [
"success",
"failure",
"incomplete"
]
},
"activity_type": {
"type": "string",
"description": "The type of this activity",
"enum": [
"apply",
"destroy",
"plan",
"drifted",
"import",
"bootstrap",
"synth",
"deploy",
"diff",
"drift",
"rollback"
]
},
"cost_breakdown_uuid": {
"type": "string",
"description": "The ID of any associated cost breakdown data"
},
"cost_currency": {
"type": "string",
"description": "The currency used in cost data for this change"
},
"cost_diff_total_monthly": {
"type": "string",
"description": "The currency used in cost data for this change"
},
"cost_diff_uuid": {
"type": "string",
"description": "The ID of any associated cost diff data"
},
"cost_past_total_monthly": {
"type": "string",
"description": "The currency used in cost data for this change"
},
"cost_total_monthly": {
"type": "string",
"description": "The currency used in cost data for this change"
},
"cost_total_monthly_percentage_change": {
"type": "string",
"description": "The currency used in cost data for this change"
},
"data_length": {
"type": "integer",
"description": "The length of the data",
"default": 0,
"format": "int64"
},
"drift_counts": {
"$ref": "#/$defs/Counts"
},
"enable_solutions_factory": {
"type": "boolean",
"description": "Indicates if Harness Solution Factory functionality is enabled"
},
"git_branch": {
"type": "string",
"description": "Git branch associated with this execution"
},
"git_commit_message": {
"type": "string",
"description": "Git commit message associated with this execution"
},
"git_commit_sha": {
"type": "string",
"description": "Git commit SHA associated with this execution"
},
"git_repo": {
"type": "string",
"description": "Git repo associated with this execution"
},
"modules_uuid": {
"type": "string",
"description": "The ID of any associated modules data"
},
"output_counts": {
"$ref": "#/$defs/Counts"
},
"pipeline": {
"type": "string",
"description": "The unique identifier of any associated pipeline"
},
"pipeline_execution_id": {
"type": "string",
"description": "The unique identifier for any associated pipeline execution"
},
"pipeline_execution_number": {
"type": "string",
"description": "The unique number for any associated pipeline execution"
},
"pipeline_name": {
"type": "string",
"description": "The name of any associated pipeline"
},
"pipeline_stage_id": {
"type": "string",
"description": "The unique identifier for the associated pipeline stage"
},
"plan_uuid": {
"type": "string",
"description": "The ID of any associated plan data"
},
"providers_uuid": {
"type": "string",
"description": "The ID of any associated providers data"
},
"provisioner": {
"type": "string",
"description": "The provisioner in use"
},
"provisioner_version": {
"type": "string",
"description": "The current version of the provisioner in use"
},
"resource_counts": {
"$ref": "#/$defs/Counts"
},
"rollback_reason": {
"type": "string",
"description": "For rollback activities: optional human-readable reason provided by the actor"
},
"rollback_source_id": {
"type": "string",
"description": "For rollback activities: the workspacedata ID that was rolled back from"
},
"stacks": {
"type": "array",
"items": {
"$ref": "#/$defs/Stacks"
},
"description": "Stack details for multi-stack deployments"
},
"state_checksum": {
"type": "string",
"description": "The checksum of the last-seen state file"
},
"state_uuid": {
"type": "string",
"description": "The ID of any associated state data"
},
"terragrunt_details": {
"type": "array",
"items": {
"$ref": "#/$defs/TerragruntDetail"
},
"description": "Terragrunt details for any associated execution"
},
"trigger": {
"type": "object",
"description": "Trigger info for any associated pipeline execution",
"additionalProperties": true
}
}
},
"Counts": {
"type": "object",
"properties": {
"added": {
"type": "integer",
"description": "Number added",
"format": "int64"
},
"changed": {
"type": "integer",
"description": "Number changed",
"format": "int64"
},
"deleted": {
"type": "integer",
"description": "Number deleted",
"format": "int64"
},
"imported": {
"type": "integer",
"description": "Number imported",
"format": "int64"
},
"removed": {
"type": "integer",
"description": "Number removed",
"format": "int64"
},
"unchanged": {
"type": "integer",
"description": "Number unchanged",
"format": "int64"
}
},
"required": [
"added",
"changed",
"deleted",
"unchanged"
]
},
"HarnessIacmActivity": {
"type": "object",
"properties": {
"account": {
"type": "string",
"description": "Account is the internal customer account ID.",
"minLength": 1,
"maxLength": 128
},
"created": {
"type": "integer",
"description": "Created is the unix timestamp at which the resource was originally created in milliseconds.",
"format": "int64"
},
"id": {
"type": "string",
"description": "The unique identifier for this activity"
},
"metadata": {
"$ref": "#/$defs/ActivityMetadata"
},
"org": {
"type": "string",
"description": "Org is the organisation identifier.",
"minLength": 1,
"maxLength": 128
},
"project": {
"type": "string",
"description": "Project is the project identifier.",
"minLength": 1,
"maxLength": 128
},
"workspace": {
"type": "string",
"description": "The unique identifier for the associated workspace"
}
},
"description": "Activity defines an individual significant event in the history of aworkspace",
"required": [
"account",
"org",
"project",
"id",
"workspace",
"metadata",
"created"
]
},
"Stacks": {
"type": "object",
"properties": {
"assets_uuid": {
"type": "string",
"description": "UUID of the uploaded CDK assets for this stack"
},
"drift_counts": {
"$ref": "#/$defs/Counts"
},
"drift_uuid": {
"type": "string",
"description": "UUID of the uploaded drift detection results for this stack"
},
"error_message": {
"type": "string",
"description": "Error message if status is failure"
},
"manifest_uuid": {
"type": "string",
"description": "UUID of the uploaded CDK manifest for this stack"
},
"resource_counts": {
"$ref": "#/$defs/Counts"
},
"stack_name": {
"type": "string",
"description": "Name of the CDK stack"
},
"stack_outputs": {
"type": "object",
"description": "Outputs generated for stack",
"additionalProperties": {
"type": "string"
}
},
"stack_path": {
"type": "string",
"description": "Path to the stack within the CDK app"
},
"status": {
"type": "string",
"description": "Status of the stack operation",
"enum": [
"success",
"failure",
"skipped"
]
},
"template_uuid": {
"type": "string",
"description": "UUID of the uploaded CloudFormation template for this stack"
},
"tree_uuid": {
"type": "string",
"description": "UUID of the uploaded CDK tree for this stack"
}
},
"description": "Stack details for multi-stack deployments"
},
"TerragruntDetail": {
"type": "object",
"properties": {
"cost_breakdown_uuid": {
"type": "string",
"description": "The ID of any associated cost breakdown data"
},
"cost_currency": {
"type": "string",
"description": "The currency used in cost data for this change"
},
"cost_diff_total_monthly": {
"type": "string",
"description": "The difference in total monthly cost"
},
"cost_diff_uuid": {
"type": "string",
"description": "The ID of any associated cost diff data"
},
"cost_past_total_monthly": {
"type": "string",
"description": "The past total monthly cost"
},
"cost_total_monthly": {
"type": "string",
"description": "The total monthly cost"
},
"cost_total_monthly_percentage_change": {
"type": "string",
"description": "The percentage change in total monthly cost"
},
"drift_counts": {
"$ref": "#/$defs/Counts"
},
"output_counts": {
"$ref": "#/$defs/Counts"
},
"path_id": {
"type": "string",
"description": "Path ID"
},
"resource_counts": {
"$ref": "#/$defs/Counts"
},
"state_file_link": {
"type": "string",
"description": "State file link"
},
"status": {
"type": "string",
"description": "Status"
}
}
}
}
}
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-activity-resource-collection"
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.