v3 API//
- Get filterable specific item type usage summary for account. If web journeys are not included in contract, 404 status code will be returned
Get brief usage overview for account
Get not filterable usage summary for account
Get usage trends for specified item type
Get usage trends for rolling week, for specified item type
Get filterable specific i...
POST /v3/usage/{itemType}/summary
Security
API_Key
Non-empty array of data sources. Usage for selected data sources only will be shown
Non-empty array of user IDs. Matches data sources that have been created by any of the specified users
non-empty array of folders with domains (subfolders), items from which will be included in response
Non-empty array of labels present on an item. Matches data sources that have all specified labels
Non-empty array of frequency names. Matches data sources that have any of the specified frequencies
POST
curl -i -X POST \
'https://api.observepoint.com/v3/usage/{itemType}/summary' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"dataSources": [
107239
],
"dataSourceCreators": [
123
],
"dataSourceFolders": [
{
"folderId": 123,
"domains": [
123
]
}
],
"dataSourceLabels": [
223
],
"runFrequencies": [
"paused"
],
"contractTerm": {
"startDateInclusive": "2019-08-24",
"endDateInclusive": "2019-08-24"
}
}'Response
- AUDIT
- WEB_JOURNEY
{ "currentContractTerm": { "startDateInclusive": "2019-08-24", "endDateInclusive": "2019-08-24" }, "contractTerms": [ { … } ], "usage": { "itemType": "AUDIT", "cumulativeTotal": { … }, "termLimit": 0, "limitNoteType": "UNLIMITED", "cumulativePacing": 0, "overLimitPrice": { … } } }