{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-list-assistants-response-schema.json",
  "title": "ListAssistantsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-assistants-api-openapi.yml#/components/schemas/ListAssistantsResponse",
  "type": "object",
  "properties": {
    "assistantSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AssistantSummary"
      },
      "description": "Information about the assistants."
    },
    "nextToken": {
      "type": "string",
      "description": "If there are additional results, this is the token for the next set of results."
    }
  },
  "required": [
    "assistantSummaries"
  ],
  "$defs": {
    "AIAgentConfigurationData": {
      "type": "object",
      "properties": {
        "aiAgentId": {
          "type": "string",
          "description": "The ID of the AI Agent to be configured."
        },
        "enabled": {
          "type": "boolean",
          "description": "Indicates whether the AI Agent configured for this AI Agent type is enabled. When this value is omitted or set to true, the configured AI Agent runs; when set to false, the AI Agent ID is retained but no AI Agent runs for the AI Agent type. Setting this value to false is currently supported only for the ANSWER_RECOMMENDATION AI Agent type; other requests to set it to false are rejected with a validation error."
        }
      },
      "required": [
        "aiAgentId"
      ]
    },
    "AssistantCapabilityConfiguration": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "The type of Amazon Q in Connect assistant capability."
        }
      }
    },
    "AssistantIntegrationConfiguration": {
      "type": "object",
      "properties": {
        "topicIntegrationArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the integrated Amazon SNS topic used for streaming chat messages."
        }
      }
    },
    "AssistantSummary": {
      "type": "object",
      "properties": {
        "assistantId": {
          "type": "string",
          "description": "The identifier of the Amazon Q in Connect assistant."
        },
        "assistantArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant."
        },
        "name": {
          "type": "string",
          "description": "The name of the assistant."
        },
        "type": {
          "type": "string",
          "description": "The type of the assistant."
        },
        "status": {
          "type": "string",
          "description": "The status of the assistant."
        },
        "description": {
          "type": "string",
          "description": "The description of the assistant."
        },
        "tags": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags used to organize, track, or control access for this resource."
        },
        "serverSideEncryptionConfiguration": {
          "$ref": "#/$defs/ServerSideEncryptionConfiguration"
        },
        "integrationConfiguration": {
          "$ref": "#/$defs/AssistantIntegrationConfiguration"
        },
        "capabilityConfiguration": {
          "$ref": "#/$defs/AssistantCapabilityConfiguration"
        },
        "aiAgentConfiguration": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/AIAgentConfigurationData"
          },
          "description": "The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that is set on the Amazon Q in Connect Assistant."
        },
        "orchestratorConfigurationList": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OrchestratorConfigurationEntry"
          },
          "description": "The list of orchestrator configurations for the assistant."
        },
        "lastModifiedTime": {
          "type": "string",
          "description": "The timestamp when the assistant was last modified."
        },
        "lastModifiedRegion": {
          "type": "string",
          "description": "The Amazon Web Services Region where the assistant was last modified."
        }
      },
      "required": [
        "assistantId",
        "assistantArn",
        "name",
        "type",
        "status"
      ]
    },
    "OrchestratorConfigurationEntry": {
      "type": "object",
      "properties": {
        "aiAgentId": {
          "type": "string",
          "description": "The identifier of the AI Agent in the orchestrator configuration."
        },
        "orchestratorUseCase": {
          "type": "string",
          "description": "The use case for the orchestrator configuration. (for example Connect.SelfService, Connect.AgentAssistance)"
        }
      },
      "required": [
        "orchestratorUseCase"
      ]
    },
    "ReplicaKmsKey": {
      "type": "object",
      "properties": {
        "arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the KMS key in the replica Region."
        }
      },
      "required": [
        "arn"
      ]
    },
    "ServerSideEncryptionConfiguration": {
      "type": "object",
      "properties": {
        "kmsKeyId": {
          "type": "string",
          "description": "The customer managed key used for encryption. For more information about setting up a customer managed key for Amazon Q in Connect, see Enable Amazon Q in Connect for your instance. For information about valid ID values, see Key identifiers (KeyId)."
        },
        "replicaKmsKeys": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ReplicaKmsKey"
          },
          "description": "The list of KMS keys used to encrypt data for this resource's replicas in other Amazon Web Services Regions. Each entry corresponds to a Region where a replica is configured."
        }
      }
    }
  }
}