{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-dashboards-api-generate-dashboard-snapshot-request-schema.json",
  "title": "Dashboards_API_GenerateDashboardSnapshotRequest",
  "description": "Request to generate a snapshot from a dashboard.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-dashboard-snapshots-api-openapi.yml#/components/schemas/Dashboards_API_GenerateDashboardSnapshotRequest",
  "type": "object",
  "properties": {
    "startDate": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time to start aggregating data (ISO date-time format)."
    },
    "endDate": {
      "type": "string",
      "format": "date-time",
      "description": "Date and time to end aggregating data (ISO date-time format)."
    },
    "displayName": {
      "type": "string",
      "description": "The name of the snapshot, does not have to be unique."
    },
    "dashboardId": {
      "type": "string",
      "description": "TheIdentifierof the dashboard to generate a snapshot from"
    },
    "anonymizeData": {
      "type": "boolean",
      "description": "Set to `true` to anonymize the data in the snapshot."
    },
    "timezone": {
      "type": "string",
      "description": "Specifies the timezone used for date and time fields."
    },
    "expirationDate": {
      "$ref": "#/$defs/Dashboards_API_SnapshotExpirationDate"
    }
  },
  "$defs": {
    "Dashboards_API_SnapshotExpirationDate": {
      "type": "string",
      "format": "date-time",
      "description": "Expiration date of the snapshot. If unspecified, the snapshot expires 1 year from its creation date. The expiration date must be set within 5 years from the current date and adhere to the ISO date-time format."
    }
  }
}