{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-list-agents-response-schema.json",
  "title": "ListAgentsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-agents-api-openapi.yml#/components/schemas/ListAgentsResponse",
  "type": "object",
  "properties": {
    "agentSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AgentSummary"
      },
      "description": "A list of objects, each of which contains information about an 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": [
    "agentSummaries"
  ],
  "$defs": {
    "AgentSummary": {
      "type": "object",
      "properties": {
        "agentId": {
          "type": "string",
          "description": "The unique identifier of the agent."
        },
        "agentName": {
          "type": "string",
          "description": "The name of the agent."
        },
        "agentStatus": {
          "type": "string",
          "enum": [
            "CREATING",
            "PREPARING",
            "PREPARED",
            "NOT_PREPARED",
            "DELETING",
            "FAILED",
            "VERSIONING",
            "UPDATING"
          ],
          "description": "The status of the agent."
        },
        "description": {
          "type": "string",
          "description": "The description of the agent."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time at which the agent was last updated."
        },
        "latestAgentVersion": {
          "type": "string",
          "description": "The latest version of the agent."
        },
        "guardrailConfiguration": {
          "$ref": "#/$defs/BedrockAgentGuardrailConfiguration"
        }
      },
      "required": [
        "agentId",
        "agentName",
        "agentStatus",
        "updatedAt"
      ]
    },
    "BedrockAgentGuardrailConfiguration": {
      "type": "object",
      "properties": {
        "guardrailIdentifier": {
          "type": "string",
          "description": "The unique identifier of the guardrail."
        },
        "guardrailVersion": {
          "type": "string",
          "description": "The version of the guardrail."
        }
      }
    }
  }
}