After signing in, you can create credentials that can be used to call the Platform APIs.
Download OpenAPI specification:Download
Use the Observability Insights API to programmatically retrieve and monitor metric data for various Adobe Experience Platform features.
Related documentation:
Visualize API calls with Postman (a free, third-party software):
API paths:
Required headers:
Authorization
, x-gw-ims-org-id
, and x-api-key
. For more information on how to obtain these values, see the authentication tutorial.x-sandbox-name
whose value is the all-lowercase name of the sandbox the operation will take place in (for example, "prod"). See the sandboxes overview for more information.Content-Type
with a value of application/json
.API error handling:
Available metrics:
You can now interact with the Experience Platform API endpoints directly from this API reference page. Get your authentication credentials and use the Try it functionality in the right rail. Note that by using this functionality, you are making real API calls. Keep this in mind when you interact with production sandboxes.
Observability metrics are parameters used to gain statistical insights into actions being performed in Adobe Experience Platform. These insights include counts of available Platform resources and statistics on data ingestion.
NOTE: This method is now deprecated. For the latest functionality, please the POST method for this endpoint instead.
The first version of the API allows you to retrieve metric data by supplying applicable metrics in the request path as query parameters.
metric required | Array of strings [ 1 .. 6 ] items unique Metrics you wish the API to return insights from. Refer to the documentation for a list of accepted metrics. |
id | string ID associated with the resourceType in the metric. |
dateRange | string A Date Range in ISO 8601 format. Defaults to 30 days if not present for time-series metrics. Defaults to the last day if not present for single-stat metrics. |
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
A successful response returns information on the metrics specified in the request path.
Something was wrong with the request. Typically this means an invalid metric was provided.
[- {
- "id": "null",
- "imsOrgId": "",
- "timeseries": {
- "granularity": "DAY",
- "items": [
- {
- "timestamp": "2020-08-17T00:00:00Z",
- "metrics": {
- "timeseries.ingestion.dataset.size": 102.3
}
}, - {
- "timestamp": "2020-08-16T00:00:00Z",
- "metrics": {
- "timeseries.ingestion.dataset.size": 502
}
}, - {
- "timestamp": "2020-08-15T00:00:00Z",
- "metrics": {
- "timeseries.ingestion.dataset.size": 19.2
}
}, - {
- "timestamp": "2020-08-14T00:00:00Z",
- "metrics": {
- "timeseries.ingestion.dataset.size": 1003.5
}
}, - {
- "timestamp": "2020-08-13T00:00:00Z",
- "metrics": {
- "timeseries.ingestion.dataset.size": 248.7
}
}, - {
- "timestamp": "2020-08-12T00:00:00Z",
- "metrics": {
- "timeseries.ingestion.dataset.size": 175.5
}
}
], - "_page": "string",
- "_links": "string"
}, - "stats": {
- "stats.ingestion.dataset.count'": 1000000
}
}
]
This endpoint retrieves metric data based on the properties provided in the request payload.
NOTE: The Observability Insights API currently does not support pagination and returns all matching results in a single response body. To limit response sizes, choose a higher-level
granularity
value or limit the date range indicated bystart
andend
. > >For more information on using this operation, see the metrics endpoint guide on Experience League.
Authorization required | string The access token which can be copied from your Experience Platform integration, prefixed with "Bearer ". For more information on how to obtain this value, visit the authentication tutorial. |
x-gw-ims-org-id required | string The Organization ID which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-api-key required | string The API key which can be copied from your Experience Platform integration. For more information on how to obtain this value, visit the authentication tutorial. |
x-sandbox-name required | string The name of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
x-sandbox-id required | string The id of the sandbox in which the operation will take place. See the sandboxes overview documentation for more information. |
A successful response returns information on the metrics specified in the request payload.
{- "metricResponses": [
- {
- "metric": "timeseries.ingestion.dataset.recordsuccess.count",
- "filters": [
- {
- "name": "dataSetId",
- "value": "5edcfb2fbb642119194c7d94|5eddb21420f516191b7a8dad",
- "groupBy": true
}
], - "datapoints": [
- {
- "groupBy": {
- "dataSetId": "5edcfb2fbb642119194c7d94"
}, - "dps": {
- "2020-07-14T00:00:00Z": 44,
- "2020-07-15T00:00:00Z": 46,
- "2020-07-16T00:00:00Z": 36,
- "2020-07-17T00:00:00Z": 50,
- "2020-07-18T00:00:00Z": 38,
- "2020-07-19T00:00:00Z": 40,
- "2020-07-20T00:00:00Z": 42,
- "2020-07-21T00:00:00Z": 42,
- "2020-07-22T00:00:00Z": 50
}
}, - {
- "groupBy": {
- "dataSetId": "5eddb21420f516191b7a8dad"
}, - "dps": {
- "2020-07-14T00:00:00Z": 44,
- "2020-07-15T00:00:00Z": 46,
- "2020-07-16T00:00:00Z": 36,
- "2020-07-17T00:00:00Z": 50,
- "2020-07-18T00:00:00Z": 38,
- "2020-07-19T00:00:00Z": 40,
- "2020-07-20T00:00:00Z": 42,
- "2020-07-21T00:00:00Z": 42,
- "2020-07-22T00:00:00Z": 50
}
}
], - "granularity": "DAY"
}, - {
- "metric": "timeseries.ingestion.dataset.dailysize",
- "filters": [
- {
- "name": "dataSetId",
- "value": "5eddb21420f516191b7a8dad",
- "groupBy": false
}
], - "datapoints": [
- {
- "groupBy": { },
- "dps": {
- "2020-07-14T00:00:00Z": 38455,
- "2020-07-15T00:00:00Z": 40213,
- "2020-07-16T00:00:00Z": 31476,
- "2020-07-17T00:00:00Z": 43705,
- "2020-07-18T00:00:00Z": 33227,
- "2020-07-19T00:00:00Z": 34977,
- "2020-07-20T00:00:00Z": 36735,
- "2020-07-21T00:00:00Z": 36737,
- "2020-07-22T00:00:00Z": 43715
}
}
], - "granularity": "DAY"
}
]
}