Get analytics results
curl --request GET \
--url https://prod-platform-core-api.20x.business/api/v1/logs/analytics-results \
--header 'Authorization: Bearer <token>'import requests
url = "https://prod-platform-core-api.20x.business/api/v1/logs/analytics-results"
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/logs/analytics-results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Analytics
Get analytics results
Structured data your agents extracted during conversations
GET
/
logs
/
analytics-results
Get analytics results
curl --request GET \
--url https://prod-platform-core-api.20x.business/api/v1/logs/analytics-results \
--header 'Authorization: Bearer <token>'import requests
url = "https://prod-platform-core-api.20x.business/api/v1/logs/analytics-results"
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/logs/analytics-results', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Returns the structured results agents extracted from conversations — the answers
captured against the analytics fields bound to each agent. This is how you get
conversation outcomes out of the platform and into your own systems.
Query parameters
Filters are passed through to the analytics engine. Commonly used:string
Only results for this agent
string
Only results for one conversation
curl https://prod-platform-core-api.20x.business/api/v1/analytics/results \
-H "Authorization: Bearer $AGENTIC_OS_API_KEY"
requests.get(
"https://prod-platform-core-api.20x.business/api/v1/analytics/results",
headers={"Authorization": f"Bearer {API_KEY}"},
)
await fetch("https://prod-platform-core-api.20x.business/api/v1/analytics/results", {
headers: { Authorization: `Bearer ${API_KEY}` },
});
Related
GET /analytics/tools lists the tools available to agents, and
GET /analytics/agents/{agentId}/bindings shows which analytics fields an agent
is currently extracting.
