Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — sites.itemAnalytics

Microsoft Graph OData Service for namespace microsoft.graph — sites.itemAnalytics. 23 operations. Lead operation: Microsoft Graph Get analytics from sites. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphsites.itemAnalytics

What You Can Do

GET
Sitesgetanalytics — Microsoft Graph Get analytics from sites
/v1/sites/{site-id}/analytics
PATCH
Sitesupdateanalytics — Microsoft Graph Update the navigation property analytics in sites
/v1/sites/{site-id}/analytics
DELETE
Sitesdeleteanalytics — Microsoft Graph Delete navigation property analytics for sites
/v1/sites/{site-id}/analytics
GET
Sitesanalyticsgetalltime — Microsoft Graph Get allTime from sites
/v1/sites/{site-id}/analytics/alltime
GET
Sitesanalyticslistitemactivitystats — Microsoft Graph Get itemActivityStats from sites
/v1/sites/{site-id}/analytics/itemactivitystats
POST
Sitesanalyticscreateitemactivitystats — Microsoft Graph Create new navigation property to itemActivityStats for sites
/v1/sites/{site-id}/analytics/itemactivitystats
GET
Sitesanalyticsitemactivitystatsgetcountc4ac — Microsoft Graph Get the number of the resource
/v1/sites/{site-id}/analytics/itemactivitystats/count
GET
Sitesanalyticsgetitemactivitystats — Microsoft Graph Get itemActivityStats from sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}
PATCH
Sitesanalyticsupdateitemactivitystats — Microsoft Graph Update the navigation property itemActivityStats in sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}
DELETE
Sitesanalyticsdeleteitemactivitystats — Microsoft Graph Delete navigation property itemActivityStats for sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}
GET
Sitesanalyticsitemactivitystatslistactivities — Microsoft Graph Get activities from sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities
POST
Sitesanalyticsitemactivitystatscreateactivities — Microsoft Graph Create new navigation property to activities for sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities
GET
Sitesanalyticsitemactivitystatsactivitiesgetcount972d — Microsoft Graph Get the number of the resource
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/count
GET
Sitesanalyticsitemactivitystatsgetactivities — Microsoft Graph Get activities from sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/{itemactivity-id}
PATCH
Sitesanalyticsitemactivitystatsupdateactivities — Microsoft Graph Update the navigation property activities in sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/{itemactivity-id}
DELETE
Sitesanalyticsitemactivitystatsdeleteactivities — Microsoft Graph Delete navigation property activities for sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/{itemactivity-id}
GET
Sitesanalyticsitemactivitystatsactivitiesgetdriveitem — Microsoft Graph Get driveItem from sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/{itemactivity-id}/driveitem
GET
Sitesanalyticsitemactivitystatsactivitiesgetdriveitemcontent — Microsoft Graph Get content for the navigation property driveItem from sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/{itemactivity-id}/driveitem/content
PUT
Sitesanalyticsitemactivitystatsactivitiesupdatedriveitemcontent — Microsoft Graph Update content for the navigation property driveItem in sites
/v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/{itemactivity-id}/driveitem/content
GET
Sitesanalyticsgetlastsevendays — Microsoft Graph Get lastSevenDays from sites
/v1/sites/{site-id}/analytics/lastsevendays
GET
Sitesgetbypathgetanalytics — Microsoft Graph Get analytics from sites
/v1/sites/{site-id}/getbypath-path-path/analytics
PATCH
Sitesgetbypathupdateanalytics — Microsoft Graph Update the navigation property analytics in sites
/v1/sites/{site-id}/getbypath-path-path/analytics
DELETE
Sitesgetbypathdeleteanalytics — Microsoft Graph Delete navigation property analytics for sites
/v1/sites/{site-id}/getbypath-path-path/analytics

MCP Tools

microsoft-graph-get-analytics-sites

Microsoft Graph Get analytics from sites

read-only idempotent
microsoft-graph-update-navigation-property

Microsoft Graph Update the navigation property analytics in sites

idempotent
microsoft-graph-delete-navigation-property

Microsoft Graph Delete navigation property analytics for sites

idempotent
microsoft-graph-get-alltime-sites

Microsoft Graph Get allTime from sites

read-only idempotent
microsoft-graph-get-itemactivitystats-sites

Microsoft Graph Get itemActivityStats from sites

read-only idempotent
microsoft-graph-create-new-navigation

Microsoft Graph Create new navigation property to itemActivityStats for sites

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-itemactivitystats-sites-2

Microsoft Graph Get itemActivityStats from sites

read-only idempotent
microsoft-graph-update-navigation-property-2

Microsoft Graph Update the navigation property itemActivityStats in sites

idempotent
microsoft-graph-delete-navigation-property-2

Microsoft Graph Delete navigation property itemActivityStats for sites

idempotent
microsoft-graph-get-activities-sites

Microsoft Graph Get activities from sites

read-only idempotent
microsoft-graph-create-new-navigation-2

Microsoft Graph Create new navigation property to activities for sites

microsoft-graph-get-number-resource-2

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-activities-sites-2

Microsoft Graph Get activities from sites

read-only idempotent
microsoft-graph-update-navigation-property-3

Microsoft Graph Update the navigation property activities in sites

idempotent
microsoft-graph-delete-navigation-property-3

Microsoft Graph Delete navigation property activities for sites

idempotent
microsoft-graph-get-driveitem-sites

Microsoft Graph Get driveItem from sites

read-only idempotent
microsoft-graph-get-content-navigation

Microsoft Graph Get content for the navigation property driveItem from sites

read-only idempotent
microsoft-graph-update-content-navigation

Microsoft Graph Update content for the navigation property driveItem in sites

idempotent
microsoft-graph-get-lastsevendays-sites

Microsoft Graph Get lastSevenDays from sites

read-only idempotent
microsoft-graph-get-analytics-sites-2

Microsoft Graph Get analytics from sites

read-only idempotent
microsoft-graph-update-navigation-property-4

Microsoft Graph Update the navigation property analytics in sites

idempotent
microsoft-graph-delete-navigation-property-4

Microsoft Graph Delete navigation property analytics for sites

idempotent

Capability Spec

microsoft-graph-sites-itemanalytics.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — sites.itemAnalytics
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — sites.itemAnalytics. 23 operations. Lead operation:
    Microsoft Graph Get analytics from sites. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - sites.itemAnalytics
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-graph-sites-itemanalytics
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — sites.itemAnalytics business capability. Self-contained,
      no shared references.
    resources:
    - name: sites-site-id-analytics
      path: /sites/{site-id}/analytics
      operations:
      - name: sitesgetanalytics
        method: GET
        description: Microsoft Graph Get analytics from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitesupdateanalytics
        method: PATCH
        description: Microsoft Graph Update the navigation property analytics in sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: sitesdeleteanalytics
        method: DELETE
        description: Microsoft Graph Delete navigation property analytics for sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: sites-site-id-analytics-allTime
      path: /sites/{site-id}/analytics/allTime
      operations:
      - name: sitesanalyticsgetalltime
        method: GET
        description: Microsoft Graph Get allTime from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: sites-site-id-analytics-itemActivityStats
      path: /sites/{site-id}/analytics/itemActivityStats
      operations:
      - name: sitesanalyticslistitemactivitystats
        method: GET
        description: Microsoft Graph Get itemActivityStats from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitesanalyticscreateitemactivitystats
        method: POST
        description: Microsoft Graph Create new navigation property to itemActivityStats for sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-analytics-itemActivityStats-$count
      path: /sites/{site-id}/analytics/itemActivityStats/$count
      operations:
      - name: sitesanalyticsitemactivitystatsgetcountc4ac
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-analytics-itemActivityStats-itemActivityStat-id
      path: /sites/{site-id}/analytics/itemActivityStats/{itemActivityStat-id}
      operations:
      - name: sitesanalyticsgetitemactivitystats
        method: GET
        description: Microsoft Graph Get itemActivityStats from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitesanalyticsupdateitemactivitystats
        method: PATCH
        description: Microsoft Graph Update the navigation property itemActivityStats in sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: sitesanalyticsdeleteitemactivitystats
        method: DELETE
        description: Microsoft Graph Delete navigation property itemActivityStats for sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: sites-site-id-analytics-itemActivityStats-itemActivityStat-id-activities
      path: /sites/{site-id}/analytics/itemActivityStats/{itemActivityStat-id}/activities
      operations:
      - name: sitesanalyticsitemactivitystatslistactivities
        method: GET
        description: Microsoft Graph Get activities from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitesanalyticsitemactivitystatscreateactivities
        method: POST
        description: Microsoft Graph Create new navigation property to activities for sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-analytics-itemActivityStats-itemActivityStat-id-activities-$count
      path: /sites/{site-id}/analytics/itemActivityStats/{itemActivityStat-id}/activities/$count
      operations:
      - name: sitesanalyticsitemactivitystatsactivitiesgetcount972d
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-analytics-itemActivityStats-itemActivityStat-id-activities-itemAct
      path: /sites/{site-id}/analytics/itemActivityStats/{itemActivityStat-id}/activities/{itemActivity-id}
      operations:
      - name: sitesanalyticsitemactivitystatsgetactivities
        method: GET
        description: Microsoft Graph Get activities from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitesanalyticsitemactivitystatsupdateactivities
        method: PATCH
        description: Microsoft Graph Update the navigation property activities in sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: sitesanalyticsitemactivitystatsdeleteactivities
        method: DELETE
        description: Microsoft Graph Delete navigation property activities for sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: sites-site-id-analytics-itemActivityStats-itemActivityStat-id-activities-itemAct
      path: /sites/{site-id}/analytics/itemActivityStats/{itemActivityStat-id}/activities/{itemActivity-id}/driveItem
      operations:
      - name: sitesanalyticsitemactivitystatsactivitiesgetdriveitem
        method: GET
        description: Microsoft Graph Get driveItem from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: sites-site-id-analytics-itemActivityStats-itemActivityStat-id-activities-itemAct
      path: /sites/{site-id}/analytics/itemActivityStats/{itemActivityStat-id}/activities/{itemActivity-id}/driveItem/content
      operations:
      - name: sitesanalyticsitemactivitystatsactivitiesgetdriveitemcontent
        method: GET
        description: Microsoft Graph Get content for the navigation property driveItem from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $format
          in: query
          type: string
          description: Format of the content
      - name: sitesanalyticsitemactivitystatsactivitiesupdatedriveitemcontent
        method: PUT
        description: Microsoft Graph Update content for the navigation property driveItem in sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-analytics-lastSevenDays
      path: /sites/{site-id}/analytics/lastSevenDays
      operations:
      - name: sitesanalyticsgetlastsevendays
        method: GET
        description: Microsoft Graph Get lastSevenDays from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: sites-site-id-getByPath(path='{path}')-analytics
      path: /sites/{site-id}/getByPath(path='{path}')/analytics
      operations:
      - name: sitesgetbypathgetanalytics
        method: GET
        description: Microsoft Graph Get analytics from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitesgetbypathupdateanalytics
        method: PATCH
        description: Microsoft Graph Update the navigation property analytics in sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: sitesgetbypathdeleteanalytics
        method: DELETE
        description: Microsoft Graph Delete navigation property analytics for sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
  exposes:
  - type: rest
    namespace: microsoft-graph-sites-itemanalytics-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — sites.itemAnalytics. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/sites/{site-id}/analytics
      name: sites-site-id-analytics
      description: REST surface for sites-site-id-analytics.
      operations:
      - method: GET
        name: sitesgetanalytics
        description: Microsoft Graph Get analytics from sites
        call: microsoft-graph-sites-itemanalytics.sitesgetanalytics
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: sitesupdateanalytics
        description: Microsoft Graph Update the navigation property analytics in sites
        call: microsoft-graph-sites-itemanalytics.sitesupdateanalytics
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sitesdeleteanalytics
        description: Microsoft Graph Delete navigation property analytics for sites
        call: microsoft-graph-sites-itemanalytics.sitesdeleteanalytics
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/analytics/alltime
      name: sites-site-id-analytics-alltime
      description: REST surface for sites-site-id-analytics-allTime.
      operations:
      - method: GET
        name: sitesanalyticsgetalltime
        description: Microsoft Graph Get allTime from sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsgetalltime
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/analytics/itemactivitystats
      name: sites-site-id-analytics-itemactivitystats
      description: REST surface for sites-site-id-analytics-itemActivityStats.
      operations:
      - method: GET
        name: sitesanalyticslistitemactivitystats
        description: Microsoft Graph Get itemActivityStats from sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticslistitemactivitystats
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: sitesanalyticscreateitemactivitystats
        description: Microsoft Graph Create new navigation property to itemActivityStats for sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticscreateitemactivitystats
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/analytics/itemactivitystats/count
      name: sites-site-id-analytics-itemactivitystats-count
      description: REST surface for sites-site-id-analytics-itemActivityStats-$count.
      operations:
      - method: GET
        name: sitesanalyticsitemactivitystatsgetcountc4ac
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsgetcountc4ac
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}
      name: sites-site-id-analytics-itemactivitystats-itemactivitystat-id
      description: REST surface for sites-site-id-analytics-itemActivityStats-itemActivityStat-id.
      operations:
      - method: GET
        name: sitesanalyticsgetitemactivitystats
        description: Microsoft Graph Get itemActivityStats from sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsgetitemactivitystats
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: sitesanalyticsupdateitemactivitystats
        description: Microsoft Graph Update the navigation property itemActivityStats in sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsupdateitemactivitystats
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sitesanalyticsdeleteitemactivitystats
        description: Microsoft Graph Delete navigation property itemActivityStats for sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsdeleteitemactivitystats
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities
      name: sites-site-id-analytics-itemactivitystats-itemactivitystat-id-activities
      description: REST surface for sites-site-id-analytics-itemActivityStats-itemActivityStat-id-activities.
      operations:
      - method: GET
        name: sitesanalyticsitemactivitystatslistactivities
        description: Microsoft Graph Get activities from sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatslistactivities
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: sitesanalyticsitemactivitystatscreateactivities
        description: Microsoft Graph Create new navigation property to activities for sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatscreateactivities
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/count
      name: sites-site-id-analytics-itemactivitystats-itemactivitystat-id-activities-count
      description: REST surface for sites-site-id-analytics-itemActivityStats-itemActivityStat-id-activities-$count.
      operations:
      - method: GET
        name: sitesanalyticsitemactivitystatsactivitiesgetcount972d
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsactivitiesgetcount972d
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/{itemactivity-id}
      name: sites-site-id-analytics-itemactivitystats-itemactivitystat-id-activities-itemact
      description: REST surface for sites-site-id-analytics-itemActivityStats-itemActivityStat-id-activities-itemAct.
      operations:
      - method: GET
        name: sitesanalyticsitemactivitystatsgetactivities
        description: Microsoft Graph Get activities from sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsgetactivities
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: sitesanalyticsitemactivitystatsupdateactivities
        description: Microsoft Graph Update the navigation property activities in sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsupdateactivities
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sitesanalyticsitemactivitystatsdeleteactivities
        description: Microsoft Graph Delete navigation property activities for sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsdeleteactivities
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/{itemactivity-id}/driveitem
      name: sites-site-id-analytics-itemactivitystats-itemactivitystat-id-activities-itemact
      description: REST surface for sites-site-id-analytics-itemActivityStats-itemActivityStat-id-activities-itemAct.
      operations:
      - method: GET
        name: sitesanalyticsitemactivitystatsactivitiesgetdriveitem
        description: Microsoft Graph Get driveItem from sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsactivitiesgetdriveitem
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/analytics/itemactivitystats/{itemactivitystat-id}/activities/{itemactivity-id}/driveitem/content
      name: sites-site-id-analytics-itemactivitystats-itemactivitystat-id-activities-itemact
      description: REST surface for sites-site-id-analytics-itemActivityStats-itemActivityStat-id-activities-itemAct.
      operations:
      - method: GET
        name: sitesanalyticsitemactivitystatsactivitiesgetdriveitemcontent
        description: Microsoft Graph Get content for the navigation property driveItem from sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsactivitiesgetdriveitemcontent
        with:
          $format: rest.$format
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: sitesanalyticsitemactivitystatsactivitiesupdatedriveitemcontent
        description: Microsoft Graph Update content for the navigation property driveItem in sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsactivitiesupdatedriveitemcontent
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/analytics/lastsevendays
      name: sites-site-id-analytics-lastsevendays
      description: REST surface for sites-site-id-analytics-lastSevenDays.
      operations:
      - method: GET
        name: sitesanalyticsgetlastsevendays
        description: Microsoft Graph Get lastSevenDays from sites
        call: microsoft-graph-sites-itemanalytics.sitesanalyticsgetlastsevendays
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/getbypath-path-path/analytics
      name: sites-site-id-getbypath-path-path-analytics
      description: REST surface for sites-site-id-getByPath(path='{path}')-analytics.
      operations:
      - method: GET
        name: sitesgetbypathgetanalytics
        description: Microsoft Graph Get analytics from sites
        call: microsoft-graph-sites-itemanalytics.sitesgetbypathgetanalytics
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: sitesgetbypathupdateanalytics
        description: Microsoft Graph Update the navigation property analytics in sites
        call: microsoft-graph-sites-itemanalytics.sitesgetbypathupdateanalytics
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sitesgetbypathdeleteanalytics
        description: Microsoft Graph Delete navigation property analytics for sites
        call: microsoft-graph-sites-itemanalytics.sitesgetbypathdeleteanalytics
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-sites-itemanalytics-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — sites.itemAnalytics. One tool
      per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-get-analytics-sites
      description: Microsoft Graph Get analytics from sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesgetanalytics
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-navigation-property
      description: Microsoft Graph Update the navigation property analytics in sites
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesupdateanalytics
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-navigation-property
      description: Microsoft Graph Delete navigation property analytics for sites
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesdeleteanalytics
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-alltime-sites
      description: Microsoft Graph Get allTime from sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsgetalltime
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-itemactivitystats-sites
      description: Microsoft Graph Get itemActivityStats from sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticslistitemactivitystats
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-new-navigation
      description: Microsoft Graph Create new navigation property to itemActivityStats for sites
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-sites-itemanalytics.sitesanalyticscreateitemactivitystats
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsgetcountc4ac
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-itemactivitystats-sites-2
      description: Microsoft Graph Get itemActivityStats from sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsgetitemactivitystats
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-navigation-property-2
      description: Microsoft Graph Update the navigation property itemActivityStats in sites
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsupdateitemactivitystats
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-navigation-property-2
      description: Microsoft Graph Delete navigation property itemActivityStats for sites
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsdeleteitemactivitystats
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-activities-sites
      description: Microsoft Graph Get activities from sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatslistactivities
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-new-navigation-2
      description: Microsoft Graph Create new navigation property to activities for sites
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatscreateactivities
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource-2
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsactivitiesgetcount972d
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-activities-sites-2
      description: Microsoft Graph Get activities from sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsgetactivities
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-navigation-property-3
      description: Microsoft Graph Update the navigation property activities in sites
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsupdateactivities
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-navigation-property-3
      description: Microsoft Graph Delete navigation property activities for sites
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsdeleteactivities
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-driveitem-sites
      description: Microsoft Graph Get driveItem from sites
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-sites-itemanalytics.sitesanalyticsitemactivitystatsactiviti

# --- truncated at 32 KB (34 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-graph/refs/heads/main/capabilities/microsoft-graph-sites-itemanalytics.yaml