{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-list-harness-endpoints-response-schema.json",
  "title": "ListHarnessEndpointsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-endpoints-api-openapi.yml#/components/schemas/ListHarnessEndpointsResponse",
  "type": "object",
  "properties": {
    "endpoints": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/HarnessEndpoint"
      },
      "description": "The list of harness endpoints."
    },
    "nextToken": {
      "type": "string",
      "description": "The token for the next set of results."
    }
  },
  "required": [
    "endpoints"
  ],
  "$defs": {
    "HarnessEndpoint": {
      "type": "object",
      "properties": {
        "harnessId": {
          "type": "string",
          "description": "The ID of the harness that the endpoint belongs to."
        },
        "harnessName": {
          "type": "string",
          "description": "The name of the harness that the endpoint belongs to."
        },
        "endpointName": {
          "type": "string",
          "description": "The name of the endpoint."
        },
        "arn": {
          "type": "string",
          "description": "The ARN of the endpoint."
        },
        "status": {
          "type": "string",
          "enum": [
            "CREATING",
            "CREATE_FAILED",
            "UPDATING",
            "UPDATE_FAILED",
            "READY",
            "DELETING",
            "DELETE_FAILED"
          ],
          "description": "The status of the endpoint."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the endpoint was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the endpoint was last updated."
        },
        "liveVersion": {
          "type": "string",
          "description": "The harness version that the endpoint is currently serving."
        },
        "targetVersion": {
          "type": "string",
          "description": "The harness version that the endpoint points to. While an update is in progress, this can differ from the live version until the endpoint finishes transitioning."
        },
        "description": {
          "type": "string",
          "description": "The description of the endpoint."
        },
        "failureReason": {
          "type": "string",
          "description": "The reason the endpoint's last create or update operation failed."
        }
      },
      "required": [
        "harnessId",
        "harnessName",
        "endpointName",
        "arn",
        "status",
        "createdAt",
        "updatedAt"
      ]
    }
  }
}