---
schema_version: "1"
id: 6e028864feb55d7654b0a10435bac34fe80c57575d566656f6c395b153a86617
title: Get Calculated Insight Metadata
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-query-guide/references/data-cloud-query-api-reference/calculated-insights/c360a-api-insights-meta-ci-name.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/data-cloud-query-api-reference/c360a-api-insights-meta-ci-name.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6e1d6d931692c4f2d477c8e2bcc32b752500908a58b9bd90790ec2b4e6f6df58
products:
  - Data 360 Query Guide
  - Data 360 Developer Documentation
---
# Get Calculated Insight Metadata

Retrieves detailed metadata for a specific calculated insight in your Data 360 instance. This endpoint returns information about dimensions, measures, and relationships for the specified calculated insight.

## Syntax

- **HTTP Method**: GET
- **Availability**: Data 360 v1.0, Salesforce v51.0
- **Format**: REST
- **URI**: `/api/v1/insight/metadata/{ci-name}`

## Path Parameters

| Parameter | Type   | Description                                                                                        |
| --------- | ------ | -------------------------------------------------------------------------------------------------- |
| ci-name   | string | Required. The unique identifier of the calculated insight. Example: `IndividualChildrenCount__cio` |

## Response Structure

The response includes a metadata object containing:

- `name`: The unique identifier of the calculated insight
- `displayName`: The human-readable name of the calculated insight
- `dimensions`: Array of dimension objects with name, displayName, and type
- `measures`: Array of measure objects with name, displayName, type, and rollupable flag
- `relationships`: Array of relationship objects showing connections between entities
- `partitionBy`: The field used for partitioning the data

## Examples

### Request

```http
GET https://{TSE}.360a.salesforce.com/api/v1/insight/metadata/Avg_Spends__cio
```

### Response

```json
{
  "metadata": [
    {
      "name": "Avg_Spends__cio",
      "displayName": "Avg Spends",
      "dimensions": [
        {
          "name": "Id__c",
          "displayName": "Id",
          "type": "STRING"
        },
        {
          "name": "FirstName__c",
          "displayName": "First Name",
          "type": "STRING"
        }
      ],
      "measures": [
        {
          "name": "Avg_Spend__c",
          "displayName": "Avg Spend",
          "type": "NUMBER",
          "rollupable": true
        }
      ],
      "relationships": [
        {
          "fromEntity": "ssot__Individual__dlm",
          "toEntity": "Avg_Spends__cio"
        }
      ],
      "partitionBy": "Id__c"
    }
  ]
}
```

## Notes

- The response includes detailed metadata for the specified calculated insight only
- All dimensions and measures available for the insight are included in the response
- Relationship information shows how the insight connects to other entities
- The partitionBy field indicates the primary key used for data organization
