Get usage breakdown
curl --request GET \
--url https://prod-platform-core-api.20x.business/api/v1/analytics/my-detail \
--header 'Authorization: Bearer <token>'import requests
url = "https://prod-platform-core-api.20x.business/api/v1/analytics/my-detail"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod-platform-core-api.20x.business/api/v1/analytics/my-detail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Analytics
Get usage breakdown
Usage and cost breakdown for your tenant
GET
/
analytics
/
my-detail
Get usage breakdown
curl --request GET \
--url https://prod-platform-core-api.20x.business/api/v1/analytics/my-detail \
--header 'Authorization: Bearer <token>'import requests
url = "https://prod-platform-core-api.20x.business/api/v1/analytics/my-detail"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://prod-platform-core-api.20x.business/api/v1/analytics/my-detail', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Returns a usage and spend breakdown for your tenant across a date range —
per-component costs (STT, TTS, LLM, telephony, platform fee) rolled up for
billing reconciliation.
Query parameters
string
ISO-8601 start of range
string
ISO-8601 end of range
string
Restrict to a single agent
boolean
Return only totals, without the per-item breakdown
curl "https://prod-platform-core-api.20x.business/api/v1/analytics/my-detail?from=2026-06-01&to=2026-06-30" \
-H "Authorization: Bearer $AGENTIC_OS_API_KEY"
requests.get(
"https://prod-platform-core-api.20x.business/api/v1/analytics/my-detail",
headers={"Authorization": f"Bearer {API_KEY}"},
params={"from": "2026-06-01", "to": "2026-06-30"},
)
await fetch(
"https://prod-platform-core-api.20x.business/api/v1/analytics/my-detail?from=2026-06-01&to=2026-06-30",
{ headers: { Authorization: `Bearer ${API_KEY}` } },
);
Spend and volume trends
GET /analytics/my-trends returns spend-over-time and call-volume series for
charting, and accepts the same from, to and agentId parameters.
