Skip to content
GET /analytics/breakdown

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.

metricstring
required
Example: api_calls
dimensionstring
required
Example: integrated_account
limitinteger
cursorstring
searchstring

The start of an integrated account id (dimension=integrated_account only).

tenant_idstring

Only that tenant's accounts in this environment (dimension=integrated_account only). Refused when the tenant has more than 1,000 accounts here.

filterRecord<string, any>

Response Body

dimensionstring
environment_idstring · uuid
fromstring · date
metricstring
next_cursorstring
rowsobject[]
callsinteger
denominatornumber
errorsinteger
integrationstring
keystring
last_active_daystring · date
numeratornumber
statusstring

The account's current status (not its status during the range). null when the account no longer exists.

tenant_idstring
valuenumber
tostring · date
curl -X GET 'https://api.truto.one/analytics/breakdown' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/analytics/breakdown', {
  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/breakdown"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())