{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-list-investigations-response-schema.json",
  "title": "ListInvestigationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-guardduty-investigation-api-openapi.yml#/components/schemas/ListInvestigationsResponse",
  "type": "object",
  "properties": {
    "Investigations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InvestigationSummary"
      },
      "description": "A list of investigation summaries associated with the specified detector."
    },
    "NextToken": {
      "type": "string",
      "description": "The pagination parameter to be used on the next list operation to retrieve more items."
    }
  },
  "required": [
    "Investigations"
  ],
  "$defs": {
    "InvestigationSummary": {
      "type": "object",
      "properties": {
        "InvestigationId": {
          "type": "string",
          "description": "The unique identifier of the investigation."
        },
        "Status": {
          "type": "string",
          "enum": [
            "RUNNING",
            "COMPLETED",
            "FAILED"
          ],
          "description": "The current status of the investigation."
        },
        "TriggerPrompt": {
          "type": "string",
          "description": "The natural-language prompt that initiated this investigation."
        },
        "RiskLevel": {
          "type": "string",
          "enum": [
            "Info",
            "Low",
            "Medium",
            "High",
            "Critical"
          ],
          "description": "The assessed risk level of the investigated threat."
        },
        "Confidence": {
          "type": "string",
          "enum": [
            "Unknown",
            "Low",
            "Medium",
            "High"
          ],
          "description": "The confidence level of the investigation's assessment."
        },
        "Title": {
          "type": "string",
          "description": "A short title summarizing the investigation."
        },
        "AccountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID associated with the investigation."
        },
        "StartTime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp at which the investigation started."
        },
        "EndTime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp at which the investigation completed."
        }
      }
    }
  }
}