Amazon Q · Schema

ChatInput

Artificial IntelligenceAssistantAmazon Web ServicesEnterpriseGenerative AI

Properties

Name Type Description
applicationId string The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business conversation.
userId string The identifier of the user attached to the chat input.
userGroups array The group names that a user associated with the chat input belongs to.
conversationId string The identifier of the Amazon Q Business conversation.
parentMessageId string The identifier used to associate a user message with a AI generated response.
clientToken string A token that you provide to identify the chat input.
inputStream object
View JSON Schema on GitHub

JSON Schema

amazon-q-chat-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-chat-input-schema.json",
  "title": "ChatInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-conversations-api-openapi.yml#/components/schemas/ChatInput",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The identifier of the Amazon Q Business application linked to a streaming Amazon Q Business conversation."
    },
    "userId": {
      "type": "string",
      "description": "The identifier of the user attached to the chat input."
    },
    "userGroups": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The group names that a user associated with the chat input belongs to."
    },
    "conversationId": {
      "type": "string",
      "description": "The identifier of the Amazon Q Business conversation."
    },
    "parentMessageId": {
      "type": "string",
      "description": "The identifier used to associate a user message with a AI generated response."
    },
    "clientToken": {
      "type": "string",
      "description": "A token that you provide to identify the chat input."
    },
    "inputStream": {
      "$ref": "#/$defs/ChatInputStream"
    }
  },
  "required": [
    "applicationId"
  ],
  "$defs": {
    "ActionExecutionEvent": {
      "type": "object",
      "properties": {
        "pluginId": {
          "type": "string",
          "description": "The identifier of the plugin for which the action is being requested."
        },
        "payload": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/ActionExecutionPayloadField"
          },
          "description": "A mapping of field names to the field values in input that an end user provides to Amazon Q Business requests to perform their plugin action."
        },
        "payloadFieldNameSeparator": {
          "type": "string",
          "description": "A string used to retain information about the hierarchical contexts within a action execution event payload."
        }
      },
      "required": [
        "pluginId",
        "payload",
        "payloadFieldNameSeparator"
      ]
    },
    "ActionExecutionPayloadField": {
      "type": "object",
      "properties": {
        "value": {
          "type": "object",
          "description": "The content of a user input field in an plugin action execution payload."
        }
      },
      "required": [
        "value"
      ]
    },
    "AttachmentInput": {
      "type": "object",
      "properties": {
        "data": {
          "type": "string",
          "format": "byte",
          "description": "The contents of the attachment."
        },
        "name": {
          "type": "string",
          "description": "The filename of the attachment."
        },
        "copyFrom": {
          "$ref": "#/$defs/CopyFromSource"
        }
      }
    },
    "AttachmentInputEvent": {
      "type": "object",
      "properties": {
        "attachment": {
          "$ref": "#/$defs/AttachmentInput"
        }
      }
    },
    "AttributeFilter": {
      "type": "object",
      "properties": {
        "andAllFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AttributeFilter"
          },
          "description": "Performs a logical AND operation on all supplied filters."
        },
        "orAllFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AttributeFilter"
          },
          "description": "Performs a logical OR operation on all supplied filters."
        },
        "notFilter": {
          "$ref": "#/$defs/AttributeFilter"
        },
        "equalsTo": {
          "$ref": "#/$defs/DocumentAttribute"
        },
        "containsAll": {
          "$ref": "#/$defs/DocumentAttribute"
        },
        "containsAny": {
          "$ref": "#/$defs/DocumentAttribute"
        },
        "greaterThan": {
          "$ref": "#/$defs/DocumentAttribute"
        },
        "greaterThanOrEquals": {
          "$ref": "#/$defs/DocumentAttribute"
        },
        "lessThan": {
          "$ref": "#/$defs/DocumentAttribute"
        },
        "lessThanOrEquals": {
          "$ref": "#/$defs/DocumentAttribute"
        }
      }
    },
    "AuthChallengeResponseEvent": {
      "type": "object",
      "properties": {
        "responseMap": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The mapping of key-value pairs in an authentication challenge response."
        }
      },
      "required": [
        "responseMap"
      ]
    },
    "ChatInputStream": {
      "type": "object",
      "properties": {
        "configurationEvent": {
          "$ref": "#/$defs/ConfigurationEvent"
        },
        "textEvent": {
          "$ref": "#/$defs/TextInputEvent"
        },
        "attachmentEvent": {
          "$ref": "#/$defs/AttachmentInputEvent"
        },
        "actionExecutionEvent": {
          "$ref": "#/$defs/ActionExecutionEvent"
        },
        "endOfInputEvent": {
          "$ref": "#/$defs/EndOfInputEvent"
        },
        "authChallengeResponseEvent": {
          "$ref": "#/$defs/AuthChallengeResponseEvent"
        }
      },
      "description": "Exactly one member is set."
    },
    "ChatModeConfiguration": {
      "type": "object",
      "properties": {
        "pluginConfiguration": {
          "$ref": "#/$defs/PluginConfiguration"
        }
      },
      "description": "Exactly one member is set."
    },
    "ConfigurationEvent": {
      "type": "object",
      "properties": {
        "chatMode": {
          "type": "string",
          "enum": [
            "RETRIEVAL_MODE",
            "CREATOR_MODE",
            "PLUGIN_MODE"
          ],
          "description": "The chat modes available to an Amazon Q Business end user. RETRIEVAL_MODE - The default chat mode for an Amazon Q Business application. When this mode is enabled, Amazon Q Business generates responses only from data sources connected to an Amazon Q Business application. CREATOR_MODE - By selecting this mode, users can choose to generate responses only from the LLM knowledge, without consulting connected data sources, for a chat request. PLUGIN_MODE - By selecting this mode, users can choose to use plugins in chat. For more information, see Admin controls and guardrails, Plugins, and Conversati"
        },
        "chatModeConfiguration": {
          "$ref": "#/$defs/ChatModeConfiguration"
        },
        "attributeFilter": {
          "$ref": "#/$defs/AttributeFilter"
        }
      }
    },
    "ConversationSource": {
      "type": "object",
      "properties": {
        "conversationId": {
          "type": "string",
          "description": "The unique identifier of the Amazon Q Business conversation."
        },
        "attachmentId": {
          "type": "string",
          "description": "The unique identifier of the Amazon Q Business attachment."
        }
      },
      "required": [
        "conversationId",
        "attachmentId"
      ]
    },
    "CopyFromSource": {
      "type": "object",
      "properties": {
        "conversation": {
          "$ref": "#/$defs/ConversationSource"
        }
      },
      "description": "Exactly one member is set."
    },
    "DocumentAttribute": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The identifier for the attribute."
        },
        "value": {
          "$ref": "#/$defs/DocumentAttributeValue"
        }
      },
      "required": [
        "name",
        "value"
      ]
    },
    "DocumentAttributeValue": {
      "type": "object",
      "properties": {
        "stringValue": {
          "type": "string",
          "description": "A string."
        },
        "stringListValue": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of strings."
        },
        "longValue": {
          "type": "integer",
          "description": "A long integer value."
        },
        "dateValue": {
          "type": "string",
          "format": "date-time",
          "description": "A date expressed as an ISO 8601 string. It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time."
        }
      },
      "description": "Exactly one member is set."
    },
    "EndOfInputEvent": {
      "type": "object",
      "properties": {}
    },
    "PluginConfiguration": {
      "type": "object",
      "properties": {
        "pluginId": {
          "type": "string",
          "description": "The identifier of the plugin you want to use."
        }
      },
      "required": [
        "pluginId"
      ]
    },
    "TextInputEvent": {
      "type": "object",
      "properties": {
        "userMessage": {
          "type": "string",
          "description": "A user message in a text message input event."
        }
      },
      "required": [
        "userMessage"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-q-chat-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.