Microsoft Copilot · Schema

AiInteraction

Represents an interaction between a user and Copilot across Microsoft 365 applications.

AgentsAI AssistantArtificial IntelligenceChatbotsCopilotExtensibilityGenerative AIMicrosoft-365Productivity

Properties

Name Type Description
id string The unique identifier for the interaction message.
appClass string The data source for Copilot data. For example, IPM.SkypeTeams.Message.Copilot.Excel or IPM.SkypeTeams.Message.Copilot.Loop.
body object
interactionType string Indicates whether the interaction is a user prompt or a Copilot response.
conversationType string The type of the conversation (e.g., appchat, bizchat).
requestId string Identifier that groups a user prompt with its corresponding Copilot response.
sessionId string Thread ID or conversation identifier that maps to all Copilot sessions for the user.
createdDateTime string The time when the interaction was created.
etag string Timestamp of when the interaction was last modified.
locale string The locale of the sender.
from object
attachments array Collection of documents attached to the interaction, such as cards and images.
contexts array Identifiers that map to all contexts associated with the interaction.
links array Collection of links that appear in the interaction.
mentions array Collection of entities mentioned in the interaction, including users and bots.
View JSON Schema on GitHub

JSON Schema

microsoft-copilot-aiinteraction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AiInteraction",
  "title": "AiInteraction",
  "type": "object",
  "description": "Represents an interaction between a user and Copilot across Microsoft 365 applications.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for the interaction message.",
      "example": "abc123"
    },
    "appClass": {
      "type": "string",
      "description": "The data source for Copilot data. For example, IPM.SkypeTeams.Message.Copilot.Excel or IPM.SkypeTeams.Message.Copilot.Loop.",
      "example": "example_value"
    },
    "body": {
      "$ref": "#/components/schemas/ItemBody"
    },
    "interactionType": {
      "type": "string",
      "enum": [
        "userPrompt",
        "aiResponse",
        "unknownFutureValue"
      ],
      "description": "Indicates whether the interaction is a user prompt or a Copilot response.",
      "example": "userPrompt"
    },
    "conversationType": {
      "type": "string",
      "description": "The type of the conversation (e.g., appchat, bizchat).",
      "example": "example_value"
    },
    "requestId": {
      "type": "string",
      "description": "Identifier that groups a user prompt with its corresponding Copilot response.",
      "example": "500123"
    },
    "sessionId": {
      "type": "string",
      "description": "Thread ID or conversation identifier that maps to all Copilot sessions for the user.",
      "example": "500123"
    },
    "createdDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time when the interaction was created.",
      "example": "2026-01-15T10:30:00Z"
    },
    "etag": {
      "type": "string",
      "description": "Timestamp of when the interaction was last modified.",
      "example": "example_value"
    },
    "locale": {
      "type": "string",
      "description": "The locale of the sender.",
      "example": "example_value"
    },
    "from": {
      "$ref": "#/components/schemas/IdentitySet"
    },
    "attachments": {
      "type": "array",
      "description": "Collection of documents attached to the interaction, such as cards and images.",
      "items": {
        "$ref": "#/components/schemas/AiInteractionAttachment"
      },
      "example": []
    },
    "contexts": {
      "type": "array",
      "description": "Identifiers that map to all contexts associated with the interaction.",
      "items": {
        "$ref": "#/components/schemas/AiInteractionContext"
      },
      "example": []
    },
    "links": {
      "type": "array",
      "description": "Collection of links that appear in the interaction.",
      "items": {
        "$ref": "#/components/schemas/AiInteractionLink"
      },
      "example": []
    },
    "mentions": {
      "type": "array",
      "description": "Collection of entities mentioned in the interaction, including users and bots.",
      "items": {
        "$ref": "#/components/schemas/AiInteractionMention"
      },
      "example": []
    }
  }
}

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-copilot-aiinteraction"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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