Get an environment's analytics dashboard
/analytics/dashboard
Query Parameters
The environment to report on. The caller must belong to it.
First UTC day (inclusive). Defaults to 30 days before to. Clamped to the 90-day window.
Last UTC day (inclusive). Defaults to today; a range that includes today runs up to now.
Response Body
Integrated account lifecycle events in the range, from the logs (for example created, updated, deleted).
When the numbers were read. Responses are cached for a few minutes.
Every integration with API calls in the range or integrated accounts now, by API calls.
Accounts with status needs_reauth, validation_error or post_install_error now.
API calls as billing counts them (the billable_api_calls filter).
API requests, the denominator of the error rate.
The environment's integrations and integrated accounts as they are now (sandbox accounts excluded).
Each headline number for the range, the span of the same length before it, and a daily series. accounts, active_accounts and active_integrations describe the accounts as they are now, so they have no previous value or series.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
3 properties
The same figure for the span of equal length just before the range (ending at the same time of day); null when that span is not inside the 90-day window, and for numbers that describe the accounts as they are now.
One value per day of the range (null for a rate or latency with no requests that day); empty for numbers that describe the accounts as they are now.
Null when there is nothing to measure, e.g. a rate with no requests behind it.
curl -X GET 'https://api.truto.one/analytics/dashboard' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/analytics/dashboard', {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/analytics/dashboard"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())