Harness · Schema

ApprovalsListResponseV2

DevOpsGitOpsInternal Developer PortalLifecycleSoftware DeliveryCI/CDContinuous DeliveryContinuous Integration

Properties

Name Type Description
ts integer Response timestamp
success boolean Indicates if the request was successful
errors arraynull List of errors if any
response object
View JSON Schema on GitHub

JSON Schema

harness-approvals-list-response-v2-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-approvals-list-response-v2-schema.json",
  "title": "ApprovalsListResponseV2",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-commitment-orchestrator-user-approval-apis-api-openapi.yml#/components/schemas/ApprovalsListResponseV2",
  "type": "object",
  "properties": {
    "ts": {
      "type": "integer",
      "description": "Response timestamp"
    },
    "success": {
      "type": "boolean",
      "description": "Indicates if the request was successful"
    },
    "errors": {
      "type": [
        "array",
        "null"
      ],
      "description": "List of errors if any",
      "items": {
        "type": "object"
      }
    },
    "response": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer",
          "description": "Total number of events matching the criteria"
        },
        "pages": {
          "type": "integer",
          "description": "Total number of pages"
        },
        "events": {
          "type": "array",
          "description": "List of approval events",
          "items": {
            "$ref": "#/$defs/ApprovalEventV2"
          }
        }
      }
    }
  },
  "$defs": {
    "ApprovalEventV2": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Unique identifier for the event"
        },
        "category": {
          "type": "string",
          "description": "Category of the event"
        },
        "cloud_account_id": {
          "type": "string",
          "description": "Cloud account identifier"
        },
        "cloud_account_name": {
          "type": "string",
          "description": "Cloud account name"
        },
        "account_id": {
          "type": "string",
          "description": "Harness account identifier"
        },
        "evaluated_at": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the event was evaluated"
        },
        "status": {
          "type": "string",
          "description": "Status of the event",
          "enum": [
            "PENDING",
            "COMPLETED",
            "EXPIRED",
            "REJECTED"
          ]
        },
        "potential_savings": {
          "type": "number",
          "format": "float",
          "description": "Potential savings from the event"
        },
        "potential_spend": {
          "type": "number",
          "format": "float",
          "description": "Potential spend from the event"
        },
        "name": {
          "type": "string",
          "description": "Name of the event"
        },
        "metadata": {
          "type": "object",
          "description": "Additional metadata for the event",
          "additionalProperties": true
        }
      }
    }
  }
}

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-approvals-list-response-v2"
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.