---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}"
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/{scopePath}`

Gets a list of Analytics Items defined within an Application Insights component.

## Path parameters

- `resourceName` string, required
- `scopePath` 'analyticsItems' | 'myanalyticsItems', required

## Query parameters

- `scope` 'shared' | 'user'
- `type` 'none' | 'query' | 'function' | 'folder' | 'recent'
- `includeContent` boolean

## Parameters

- `../../../../../common-types/resource-management/v1/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v1/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v1/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Response `200`

A list containing 0 or more items associated with the Application Insights component.

- ApplicationInsightsComponentAnalyticsItem[]
  - `Id` string — Internally assigned unique id of the item definition.
  - `Name` string — The user-defined name of the item.
  - `Content` string — The content of this item
  - `Version` string — This instance's version of the data model. This can change as new features are added.
  - `Scope` 'shared' | 'user' — Enum indicating if this item definition is owned by a specific user or is shared between all users with access to the Application Insights component.
  - `Type` 'none' | 'query' | 'recent' | 'function' — Enum indicating the type of the Analytics item.
  - `TimeCreated` string — Date and time in UTC when this item was created.
  - `TimeModified` string — Date and time in UTC of the last modification that was made to this item.
  - `Properties` ApplicationInsightsComponentAnalyticsItemProperties — A set of properties that can be defined in the context of a specific item type. Each type may have its own properties.
    - `functionAlias` string — A function alias, used when the type of the item is Function

## Changes

- **2019-03-29** (2015-05-01) `1dcab44076bb` — 3 warning
  - deleted the `path` request parameter `resourceGroupName`
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`

[Change history](https://skmtc.dev/azure/apis/applicationinsightsmanagementclient-2/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/microsoft.insights/components/:resourceName/:scopePath/get.md)

---

[API](https://skmtc.dev/azure/apis/applicationinsightsmanagementclient-2.md) · [All operations](https://skmtc.dev/azure/apis/applicationinsightsmanagementclient-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/applicationinsightsmanagementclient-2/revisions/5586de9aa931/schema)
