Amazon GuardDuty · Schema

GetFindingsStatisticsRequest

Anomaly DetectionAmazon Web ServicesComplianceMachine LearningMonitoringSecurityThreat Detection

Properties

Name Type Description
DetectorId string The ID of the detector whose findings statistics you want to retrieve. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.
FindingStatisticTypes array The types of finding statistics to retrieve.
FindingCriteria object
GroupBy string Displays the findings statistics grouped by one of the listed valid values.
OrderBy string Displays the sorted findings in the requested order. The default value of orderBy is DESC. You can use this parameter only with the groupBy parameter.
MaxResults integer The maximum number of results to be returned in the response. The default value is 25. You can use this parameter only with the groupBy parameter.
View JSON Schema on GitHub

JSON Schema

amazon-guardduty-get-findings-statistics-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-get-findings-statistics-request-schema.json",
  "title": "GetFindingsStatisticsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-guardduty-findings-api-openapi.yml#/components/schemas/GetFindingsStatisticsRequest",
  "type": "object",
  "properties": {
    "DetectorId": {
      "type": "string",
      "description": "The ID of the detector whose findings statistics you want to retrieve. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API."
    },
    "FindingStatisticTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "COUNT_BY_SEVERITY"
        ]
      },
      "description": "The types of finding statistics to retrieve."
    },
    "FindingCriteria": {
      "$ref": "#/$defs/FindingCriteria"
    },
    "GroupBy": {
      "type": "string",
      "enum": [
        "ACCOUNT",
        "DATE",
        "FINDING_TYPE",
        "RESOURCE",
        "SEVERITY"
      ],
      "description": "Displays the findings statistics grouped by one of the listed valid values."
    },
    "OrderBy": {
      "type": "string",
      "enum": [
        "ASC",
        "DESC"
      ],
      "description": "Displays the sorted findings in the requested order. The default value of orderBy is DESC. You can use this parameter only with the groupBy parameter."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of results to be returned in the response. The default value is 25. You can use this parameter only with the groupBy parameter."
    }
  },
  "required": [
    "DetectorId"
  ],
  "$defs": {
    "Condition": {
      "type": "object",
      "properties": {
        "Eq": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Represents the equal condition to be applied to a single field when querying for findings. Max values: 50"
        },
        "Neq": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Represents the not equal condition to be applied to a single field when querying for findings. Max values: 50"
        },
        "Gt": {
          "type": "integer",
          "description": "Represents a greater than condition to be applied to a single field when querying for findings."
        },
        "Gte": {
          "type": "integer",
          "description": "Represents a greater than or equal condition to be applied to a single field when querying for findings."
        },
        "Lt": {
          "type": "integer",
          "description": "Represents a less than condition to be applied to a single field when querying for findings."
        },
        "Lte": {
          "type": "integer",
          "description": "Represents a less than or equal condition to be applied to a single field when querying for findings."
        },
        "Equals": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Represents an equal condition to be applied to a single field when querying for findings. Max values: 50"
        },
        "NotEquals": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Represents a not equal condition to be applied to a single field when querying for findings. Max values: 50"
        },
        "GreaterThan": {
          "type": "integer",
          "description": "Represents a greater than condition to be applied to a single field when querying for findings."
        },
        "GreaterThanOrEqual": {
          "type": "integer",
          "description": "Represents a greater than or equal condition to be applied to a single field when querying for findings."
        },
        "LessThan": {
          "type": "integer",
          "description": "Represents a less than condition to be applied to a single field when querying for findings."
        },
        "LessThanOrEqual": {
          "type": "integer",
          "description": "Represents a less than or equal condition to be applied to a single field when querying for findings."
        },
        "Matches": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Represents the match condition to be applied to a single field when querying for findings. The matches condition is available only for create-filter and update-filter APIs."
        },
        "NotMatches": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Represents the not match condition to be applied to a single field when querying for findings. The not-matches condition is available only for create-filter and update-filter APIs."
        }
      }
    },
    "FindingCriteria": {
      "type": "object",
      "properties": {
        "Criterion": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/Condition"
          },
          "description": "Represents a map of finding properties that match specified conditions and values when querying findings."
        }
      }
    }
  }
}

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-guardduty-get-findings-statistics-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.