Harness · Schema

ApprovalResourceCollection

DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration
View JSON Schema on GitHub

JSON Schema

harness-approval-resource-collection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-approval-resource-collection-schema.json",
  "title": "ApprovalResourceCollection",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-approvals-api-openapi.yml#/components/schemas/ApprovalResourceCollection",
  "type": "array",
  "items": {
    "$ref": "#/$defs/HarnessIacmApproval"
  },
  "$defs": {
    "HarnessIacmApproval": {
      "type": "object",
      "properties": {
        "account": {
          "type": "string",
          "description": "Account is the internal customer account ID.",
          "minLength": 1,
          "maxLength": 128
        },
        "actioned_by": {
          "type": "string",
          "description": "User that approved/rejected the step"
        },
        "actioned_by_email": {
          "type": "string",
          "description": "Email of the user that approved/rejected the step"
        },
        "created": {
          "type": "integer",
          "description": "Created is the unix timestamp at which the resource was originally created in milliseconds.",
          "format": "int64"
        },
        "id": {
          "type": "string"
        },
        "org": {
          "type": "string",
          "description": "Org is the organisation identifier.",
          "minLength": 1,
          "maxLength": 128
        },
        "pipeline_execution_id": {
          "type": "string",
          "description": "The unique identifier for the associated pipeline execution"
        },
        "pipeline_stage_id": {
          "type": "string",
          "description": "The unique identifier for the associated pipeline execution stage"
        },
        "project": {
          "type": "string",
          "description": "Project is the project identifier.",
          "minLength": 1,
          "maxLength": 128
        },
        "status": {
          "type": "string",
          "description": "Status of the approval resource",
          "default": "pending"
        },
        "updated": {
          "type": "integer",
          "description": "Modified is the unix timestamp at which the resource was last modified in milliseconds.",
          "format": "int64"
        },
        "workspace_id": {
          "type": "string",
          "description": "The unique identifier for the workspace_id"
        }
      },
      "description": "Approval is the representation for a single approval",
      "required": [
        "account",
        "org",
        "project",
        "pipeline_execution_id",
        "pipeline_stage_id",
        "workspace_id",
        "id",
        "status",
        "created",
        "updated"
      ]
    }
  }
}

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-approval-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.