Harness · Schema
UpdateInventoryResponse
DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration
Properties
| Name | Type | Description |
|---|---|---|
| policy_evaluation | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-update-inventory-response-schema.json",
"title": "UpdateInventoryResponse",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/harness-ansible-api-openapi.yml#/components/schemas/UpdateInventoryResponse",
"type": "object",
"properties": {
"policy_evaluation": {
"$ref": "#/$defs/AnsibleEvaluation"
}
},
"$defs": {
"AnsibleEvaluatedPolicy": {
"type": "object",
"properties": {
"deny_messages": {
"type": "array",
"items": {
"type": "string"
},
"description": "The values of any `deny` rego rules as returned by the rego engine"
},
"output": {
"description": "The output returned by the rego engine when this policy was evaluated"
},
"policy": {
"$ref": "#/$defs/IaCMPolicy"
},
"rego_error": {
"type": "string",
"description": "Any errors returned by the rego engine when this policy was evaluated"
},
"status": {
"type": "string",
"description": "The overall status for this individual policy indicating whether it passed",
"enum": [
"error",
"warning",
"pass"
]
}
},
"required": [
"status",
"policy",
"output",
"deny_messages",
"rego_error"
]
},
"AnsibleEvaluation": {
"type": "object",
"properties": {
"account_id": {
"type": "string",
"description": "The Harness account in which the evaluation was performed"
},
"action": {
"type": "string",
"description": "The action that triggered evaluation"
},
"created": {
"type": "integer",
"description": "The time at which the evaluation was performed in Unix time milliseconds",
"format": "int64"
},
"details": {
"type": "array",
"items": {
"$ref": "#/$defs/AnsibleEvaluationDetail"
},
"description": "The detailed results of te evaluation"
},
"entity": {
"type": "string",
"description": "An arbitrary user-supplied string that globally identifies the entity under evaluation"
},
"entity_metadata": {
"type": "string",
"description": "Additional arbitrary user-supplied metadata about the entity under evaluation"
},
"id": {
"type": "integer",
"description": "The ID of this evaluation",
"format": "int64"
},
"input": {
"description": "The input provided at evaluation time"
},
"org_id": {
"type": "string",
"description": "The Harness organisation in which the evaluation was performed"
},
"project_id": {
"type": "string",
"description": "The Harness project in which the evaluation was performed"
},
"status": {
"type": "string",
"description": "The overall status of the evaluation indicating whether it passed",
"enum": [
"error",
"warning",
"pass"
]
},
"type": {
"type": "string",
"description": "The types of the entity under evaluation"
}
},
"description": "The result of a single evaluation",
"required": [
"id",
"status",
"entity",
"entity_metadata",
"type",
"action",
"account_id",
"org_id",
"project_id",
"created",
"input",
"details"
]
},
"AnsibleEvaluationDetail": {
"type": "object",
"properties": {
"account_id": {
"type": "string",
"description": "Harness account ID associated with this policy set",
"default": ""
},
"action": {
"type": "string",
"description": "Action that triggers the policy set",
"minLength": 1
},
"created": {
"type": "integer",
"description": "Time the policy set was created",
"format": "int64"
},
"description": {
"type": "string",
"description": "Description of the policy set"
},
"details": {
"type": "array",
"items": {
"$ref": "#/$defs/AnsibleEvaluatedPolicy"
}
},
"enabled": {
"type": "boolean",
"description": "Only enabled policy sets are evaluated when evaluating by type/action"
},
"identifier": {
"type": "string",
"description": "Identifier of the policy set",
"minLength": 1
},
"name": {
"type": "string",
"description": "Name of the policy set",
"minLength": 1
},
"org_id": {
"type": "string",
"description": "Harness organization ID associated with this policy set",
"default": ""
},
"project_id": {
"type": "string",
"description": "Harness project ID associated with this policy set",
"default": ""
},
"status": {
"type": "string",
"description": "The overall status for this policy set indicating whether it passed",
"enum": [
"error",
"warning",
"pass"
]
},
"type": {
"type": "string",
"description": "Type of input suitable for the policy set",
"minLength": 1
},
"updated": {
"type": "integer",
"description": "Time the policy set was last updated",
"format": "int64"
}
},
"required": [
"status",
"details",
"identifier",
"name",
"action",
"type",
"enabled",
"created",
"updated",
"account_id",
"org_id",
"project_id",
"entity_selector"
]
},
"IaCMPolicy": {
"type": "object",
"properties": {
"account_id": {
"type": "string",
"description": "Harness account ID associated with this policy",
"default": ""
},
"created": {
"type": "integer",
"description": "Time the policy was created",
"format": "int64"
},
"identifier": {
"type": "string",
"description": "identifier of the policy",
"minLength": 1
},
"name": {
"type": "string",
"description": "Name of the policy",
"minLength": 1
},
"org_id": {
"type": "string",
"description": "Harness organization ID associated with this policy",
"default": ""
},
"project_id": {
"type": "string",
"description": "Harness project ID associated with this policy",
"default": ""
},
"rego": {
"type": "string",
"description": "Rego that defines the policy",
"minLength": 1
},
"updated": {
"type": "integer",
"description": "Time the policy was last updated",
"format": "int64"
}
},
"required": [
"identifier",
"name",
"rego",
"created",
"updated",
"account_id",
"org_id",
"project_id"
]
}
}
}
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-update-inventory-response"
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.