{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Copilot Microsoft 365 Copilot APIs Change Notifications Interaction Export API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
      "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Interaction Export",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Copilot List All Enterprise Copilot Interactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/copilot/interactionHistory/getAllEnterpriseInteractions",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "$filter",
                "value": "createdDateTime ge 2025-01-01T00:00:00Z and createdDateTime le 2025-03-31T23:59:59Z",
                "type": "query",
                "description": "OData filter expression to filter interactions by date range, user, or application."
              },
              {
                "name": "$top",
                "value": "10",
                "type": "query",
                "description": "Maximum number of interactions to return per page."
              },
              {
                "name": "$skipToken",
                "value": "example_value",
                "type": "query",
                "description": "Pagination token for retrieving the next page of results."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
              "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve all Copilot interactions across the organization for compliance and auditing purposes. Returns aiInteraction objects representing user prompts and Copilot responses across Microsoft 365 applications. Requires compliance administrator permissions."
        }
      ]
    }
  ],
  "bundled": true
}