{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-list-groups-request-schema.json",
  "title": "ListGroupsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-groups-api-openapi.yml#/components/schemas/ListGroupsRequest",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The identifier of the application for getting a list of groups mapped to users."
    },
    "indexId": {
      "type": "string",
      "description": "The identifier of the index for getting a list of groups mapped to users."
    },
    "updatedEarlierThan": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp identifier used for the latest PUT or DELETE action for mapping users to their groups."
    },
    "dataSourceId": {
      "type": "string",
      "description": "The identifier of the data source for getting a list of groups mapped to users."
    },
    "nextToken": {
      "type": "string",
      "description": "If the previous response was incomplete (because there is more data to retrieve), Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of groups that are mapped to users."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of returned groups that are mapped to users."
    }
  },
  "required": [
    "applicationId",
    "indexId",
    "updatedEarlierThan"
  ]
}