{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-summary-list-request-schema.json",
  "title": "SummaryListRequest",
  "description": "List summaries based on the given search type.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-agent-summaries-api-openapi.yml#/components/schemas/SummaryListRequest",
  "oneOf": [
    {
      "$ref": "#/$defs/SummaryListByOrganizationRequest"
    },
    {
      "$ref": "#/$defs/SummaryListByInteractionRequest"
    },
    {
      "$ref": "#/$defs/SummaryListByAgentRequest"
    }
  ],
  "$defs": {
    "SummaryListByAgentRequest": {
      "type": "object",
      "required": [
        "orgId",
        "agentCiUserId",
        "searchType"
      ],
      "properties": {
        "orgId": {
          "type": "string",
          "description": "The unique identifier of the organization to which the summarized interactions belong."
        },
        "agentCiUserId": {
          "type": "string",
          "description": "The CI (Common Identity) user ID of the agent associated with the summaries."
        },
        "searchType": {
          "type": "string",
          "enum": [
            "AGENT"
          ],
          "description": "The type of search to be performed."
        }
      }
    },
    "SummaryListByInteractionRequest": {
      "type": "object",
      "required": [
        "orgId",
        "interactionId",
        "searchType"
      ],
      "properties": {
        "orgId": {
          "type": "string",
          "description": "The unique identifier of the organization to which the summarized interactions belong."
        },
        "interactionId": {
          "type": "string",
          "description": "The unique identifier of a specific interaction."
        },
        "searchType": {
          "type": "string",
          "enum": [
            "INTERACTION"
          ],
          "description": "The type of search to be performed."
        }
      }
    },
    "SummaryListByOrganizationRequest": {
      "type": "object",
      "required": [
        "orgId",
        "searchType"
      ],
      "properties": {
        "orgId": {
          "type": "string",
          "description": "The unique identifier of the organization to which the summarized interactions belong."
        },
        "searchType": {
          "type": "string",
          "enum": [
            "ORGANIZATION"
          ],
          "description": "The type of search to be performed."
        }
      }
    }
  }
}