Edit

Share via


session resource type

Namespace: microsoft.graph.security.securityCopilot

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a session within a workspace in Security Copilot.

Methods

Method Return type Description
List microsoft.graph.security.securityCopilot.session collection Get a list of the session objects and their properties.
Create microsoft.graph.security.securityCopilot.session Create a new session object.
Get microsoft.graph.security.securityCopilot.session Read the properties and relationships of microsoft.graph.security.securityCopilot.session object.
Update microsoft.graph.security.securityCopilot.session Update the properties of a session object.

Properties

Property Type Description
createdDateTime DateTimeOffset Created time of the session (UTC).
displayName String Display name for the session.
id String Represents the unique ID of the Security Copilot session. Inherits from entity.
lastModifiedDateTime DateTimeOffset Last modified time of the session (UTC). Updated when displayName changes.

Relationships

Relationship Type Description
prompts microsoft.graph.security.securityCopilot.prompt collection The collection of prompts in the session.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.security.securityCopilot.session",
  "id": "String (identifier)",
  "displayName": "String",
  "lastModifiedDateTime": "String (timestamp)",
  "createdDateTime": "String (timestamp)"
}