---
schema_version: "1"
id: 3f7fbca17e6cf95d4fb8a8b74946e299d9698b2117bf865d1f7d4444fc32aed4
title: Get Metadata for All Profiles
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/profile/c360a-api-profile-meta.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/data-cloud-query-api-reference/c360a-api-profile-meta.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9b3df04a182b13d55ffe047225608770af5ce362b2e017b69698a96c8df8f65a
products:
  - Data 360 Query Guide
  - Data 360 Developer Documentation
---
# Get Metadata for All Profiles

Retrieves metadata for all accessible profile data model objects in your Data 360 instance. This endpoint returns detailed information about fields, data types, and categories for each profile object.

## Syntax

- **HTTP Method**: GET
- **Availability**: Data 360 v1.0, Salesforce v51.0
- **format**: REST
- **URI**: `/api/v1/profile/metadata`

## Response Structure

The response includes an array of data model objects, each containing:

- `name`: The unique identifier of the data model object
- `displayName`: The human-readable name of the data model object
- `category`: The category of the data model object (for example, PROFILE)
- `fields`: Array of field objects with name, type, and other properties
- `indexes`: Array of index objects showing available lookup fields
- `relationships`: Array of relationship objects showing connections to other entities

## Examples

### Request

```http
GET https://{TSE}.360a.salesforce.com/api/v1/profile/metadata
```

### Response

```json
{
  "metadata": [
    {
      "indexes": [
        {
          "fields": [
            {
              "name": "FirstName__c",
              "type": "STRING"
            }
          ]
        }
      ],
      "name": "Individual__dlm",
      "category": "Profile",
      "displayName": "Individual",
      "fields": [
        {
          "name": "BirthDate__c",
          "displayName": "Birth Date",
          "type": "DATE"
        },
        {
          "name": "FirstName__c",
          "displayName": "First Name",
          "type": "STRING"
        }
      ],
      "relationships": [
        {
          "fromEntity": "ContactPointEmail__dlm",
          "toEntity": "Individual__dlm",
          "fromEntityAttribute": "PartyId__c",
          "toEntityAttribute": "Id__c",
          "cardinality": "NTOONE"
        }
      ],
      "primaryKeys": [
        {
          "name": "Id__c",
          "displayName": "Individual Id",
          "indexOrder": "1"
        }
      ]
    }
  ]
}
```

## Notes

- The response includes all profile data model objects available to the authenticated user
- Each object's metadata includes all available fields and indexes
- The category field indicates the type of data model object
- Indexes show which fields can be used for efficient lookups
- Field types include STRING, NUMBER, DATE, boolean, and more
