Skip to content
GET /analytics/dashboard

Query Parameters

environment_idstring · uuid
required·

The environment to report on. The caller must belong to it.

fromstring · date

First UTC day (inclusive). Defaults to 30 days before to. Clamped to the 90-day window.

tostring · date

Last UTC day (inclusive). Defaults to today; a range that includes today runs up to now.

Response Body

account_eventsobject[]

Integrated account lifecycle events in the range, from the logs (for example created, updated, deleted).

countinteger
eventstring
bucketsstring[]
by_categoryobject[]
callsinteger
categorystring
environment_idstring · uuid
fromstring · date
generated_atstring · date-time

When the numbers were read. Responses are cached for a few minutes.

integrationsobject[]

Every integration with API calls in the range or integrated accounts now, by API calls.

accountsinteger
active_accountsinteger
attention_accountsinteger

Accounts with status needs_reauth, validation_error or post_install_error now.

callsinteger

API calls as billing counts them (the billable_api_calls filter).

errorsinteger
integrationstring
requestsinteger

API requests, the denominator of the error rate.

inventoryobject

The environment's integrations and integrated accounts as they are now (sandbox accounts excluded).

accountsinteger
active_connectionsinteger
active_connectorsinteger
as_ofstring · date-time
by_statusRecord<string, any>
installed_connectorsinteger
superquery_accountsinteger
kpisobject

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.

accountsobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

active_accountsobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

active_integrationsobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

api_callsobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

billable_api_callsobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

error_rateobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

errorsobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

latency_p95object
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

mcp_callsobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

new_accountsobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

provider_latency_p95object
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

rate_limitedobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

records_syncedobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

sync_failuresobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

webhook_eventsobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

webhook_failure_rateobject
3 properties
previousnumber

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.

seriesnumber[]

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.

valuenumber

Null when there is nothing to measure, e.g. a rate with no requests behind it.

previousobject
fromstring · date
tostring · date
tostring · date
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())