Amazon Q · Schema

SearchMessageTemplatesRequest

Artificial IntelligenceAssistantAmazon Web ServicesEnterpriseGenerative AI

Properties

Name Type Description
knowledgeBaseId string The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
searchExpression object
nextToken string The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
maxResults integer The maximum number of results to return per page.
View JSON Schema on GitHub

JSON Schema

amazon-q-search-message-templates-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-search-message-templates-request-schema.json",
  "title": "SearchMessageTemplatesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-search-api-openapi.yml#/components/schemas/SearchMessageTemplatesRequest",
  "type": "object",
  "properties": {
    "knowledgeBaseId": {
      "type": "string",
      "description": "The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN."
    },
    "searchExpression": {
      "$ref": "#/$defs/MessageTemplateSearchExpression"
    },
    "nextToken": {
      "type": "string",
      "description": "The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return per page."
    }
  },
  "required": [
    "knowledgeBaseId",
    "searchExpression"
  ],
  "$defs": {
    "MessageTemplateFilterField": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the attribute field to filter the message templates by."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The values of attribute field to filter the message template by."
        },
        "operator": {
          "type": "string",
          "description": "The operator to use for filtering."
        },
        "includeNoExistence": {
          "type": "boolean",
          "description": "Whether to treat null value as a match for the attribute field."
        }
      },
      "required": [
        "name",
        "operator"
      ]
    },
    "MessageTemplateOrderField": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the message template."
        },
        "order": {
          "type": "string",
          "description": "The order at which the message templates are sorted by."
        }
      },
      "required": [
        "name"
      ]
    },
    "MessageTemplateQueryField": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the attribute to query the message templates by."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The values of the attribute to query the message templates by."
        },
        "operator": {
          "type": "string",
          "description": "The operator to use for matching attribute field values in the query."
        },
        "allowFuzziness": {
          "type": "boolean",
          "description": "Whether the query expects only exact matches on the attribute field values. The results of the query will only include exact matches if this parameter is set to false."
        },
        "priority": {
          "type": "string",
          "description": "The importance of the attribute field when calculating query result relevancy scores. The value set for this parameter affects the ordering of search results."
        }
      },
      "required": [
        "name",
        "values",
        "operator"
      ]
    },
    "MessageTemplateSearchExpression": {
      "type": "object",
      "properties": {
        "queries": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MessageTemplateQueryField"
          },
          "description": "The message template query expressions."
        },
        "filters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MessageTemplateFilterField"
          },
          "description": "The configuration of filtering rules applied to message template query results."
        },
        "orderOnField": {
          "$ref": "#/$defs/MessageTemplateOrderField"
        }
      }
    }
  }
}

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-search-message-templates-request"
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.