v1

latestSwagger 2.02026-07-175658186.8 KB
Metrics

Retrieve a metric by ID

get/{globalCompanyId}/metrics/{id}

Path parameters

globalCompanyIdstring required

The Global Company ID for the Adobe Analytics organization

idstring required

The id of the metric for which to retrieve info. Note ids are values like pageviews, not metrics/pageviews

Query parameters

rsidstring required

ID of desired report suite

localestring

Locale that system named metrics should be returned in

expansionstring[]

Add extra metadata to items (comma-delimited list)

Headers

Authorizationstring required

The access token copied from your AA API client integration, prefixed with "Bearer ".

x-api-keystring required

The API key copied from your AA API client integration. For more information on how to obtain this value, see Getting started with the Analytics API.

Response

successful operation

idstring
titlestring
namestring
type'STRING' | 'INT' | 'DECIMAL' | 'CURRENCY' | 'PERCENT' | 'TIME' | 'ENUM' | 'ORDERED_ENUM'
extraTitleInfostring
categorystring
categoriesstring[]
supportstring[]
allocationboolean
precisioninteger
calculatedboolean
segmentableboolean
descriptionstring
polarity'positive' | 'negative'
helpLinkstring
allowedForReportingboolean