{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-event-logs-success-response-schema.json",
  "title": "EventLogsSuccessResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-commitment-orchestrator-apis-api-openapi.yml#/components/schemas/EventLogsSuccessResponse",
  "type": "object",
  "properties": {
    "ts": {
      "type": "integer",
      "description": "Response timestamp"
    },
    "success": {
      "type": "boolean",
      "description": "Specifies if the operation is successful"
    },
    "errors": {
      "type": "string",
      "description": "Specifies the error if the operation failed"
    },
    "response": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "pages": {
          "type": "integer"
        },
        "events": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EventResponse"
          }
        }
      }
    }
  },
  "$defs": {
    "EventResponse": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "cloud_account_id": {
          "type": "string"
        },
        "account_id": {
          "type": "string"
        },
        "transaction_id": {
          "type": "string"
        },
        "event_type": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "category": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "created_at": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        },
        "metadata": {
          "type": "object"
        },
        "description": {
          "type": "string"
        }
      }
    }
  }
}