Microsoft Graph · Schema

microsoft.graph.security.retentionEvent

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
createdBy object The user who created the retentionEvent.
createdDateTime string The date time when the retentionEvent was created.
description string Optional information about the event.
displayName string Name of the event.
eventPropagationResults array Represents the success status of a created event and additional information.
eventQueries array Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event.
eventStatus object Status of event propogation to the scoped locations after the event has been created.
eventTriggerDateTime string Optional time when the event should be triggered.
lastModifiedBy object The user who last modified the retentionEvent.
lastModifiedDateTime string The latest date time when the retentionEvent was modified.
lastStatusUpdateDateTime string Last time the status of the event was updated.
retentionEventType object Specifies the event that will start the retention period for labels that use this event type when an event is created.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphsecurityretentionevent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.security.retentionEvent",
  "title": "microsoft.graph.security.retentionEvent",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "retentionEvent",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "createdBy": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.identitySet"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The user who created the retentionEvent."
        },
        "createdDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "The date time when the retentionEvent was created.",
          "format": "date-time",
          "nullable": true
        },
        "description": {
          "type": "string",
          "description": "Optional information about the event.",
          "nullable": true
        },
        "displayName": {
          "type": "string",
          "description": "Name of the event.",
          "nullable": true
        },
        "eventPropagationResults": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.security.eventPropagationResult"
          },
          "description": "Represents the success status of a created event and additional information."
        },
        "eventQueries": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.security.eventQuery"
          },
          "description": "Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event."
        },
        "eventStatus": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.security.retentionEventStatus"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Status of event propogation to the scoped locations after the event has been created."
        },
        "eventTriggerDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "Optional time when the event should be triggered.",
          "format": "date-time",
          "nullable": true
        },
        "lastModifiedBy": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.identitySet"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The user who last modified the retentionEvent."
        },
        "lastModifiedDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "The latest date time when the retentionEvent was modified.",
          "format": "date-time",
          "nullable": true
        },
        "lastStatusUpdateDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "Last time the status of the event was updated.",
          "format": "date-time",
          "nullable": true
        },
        "retentionEventType": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.security.retentionEventType"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Specifies the event that will start the retention period for labels that use this event type when an event is created.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.security.retentionEvent"
}

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/microsoft-graph-microsoftgraphsecurityretentionevent"
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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.