{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-list-agent-versions-response-schema.json",
  "title": "ListAgentVersionsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-agentversions-api-openapi.yml#/components/schemas/ListAgentVersionsResponse",
  "type": "object",
  "properties": {
    "agentVersionSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AgentVersionSummary"
      },
      "description": "A list of objects, each of which contains information about a version of the agent."
    },
    "nextToken": {
      "type": "string",
      "description": "If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results."
    }
  },
  "required": [
    "agentVersionSummaries"
  ],
  "$defs": {
    "AgentVersionSummary": {
      "type": "object",
      "properties": {
        "agentName": {
          "type": "string",
          "description": "The name of the agent to which the version belongs."
        },
        "agentStatus": {
          "type": "string",
          "enum": [
            "CREATING",
            "PREPARING",
            "PREPARED",
            "NOT_PREPARED",
            "DELETING",
            "FAILED",
            "VERSIONING",
            "UPDATING"
          ],
          "description": "The status of the agent to which the version belongs."
        },
        "agentVersion": {
          "type": "string",
          "description": "The version of the agent."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the version was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the version was last updated."
        },
        "description": {
          "type": "string",
          "description": "The description of the version of the agent."
        },
        "guardrailConfiguration": {
          "$ref": "#/$defs/BedrockAgentGuardrailConfiguration"
        }
      },
      "required": [
        "agentName",
        "agentStatus",
        "agentVersion",
        "createdAt",
        "updatedAt"
      ]
    },
    "BedrockAgentGuardrailConfiguration": {
      "type": "object",
      "properties": {
        "guardrailIdentifier": {
          "type": "string",
          "description": "The unique identifier of the guardrail."
        },
        "guardrailVersion": {
          "type": "string",
          "description": "The version of the guardrail."
        }
      }
    }
  }
}