GET /api/analytics/topic_folders
The folders of an agent's sources, largest first: one per documentation section, described by up to five page titles. They fill the agent's topic question after its own topics; the settings list them so the owner can hide or edit them. Needs edit access to the agent.
Personal access token scope: agents:read.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
agent_id?stringAgent id
Success
curl -X GET 'http://localhost:7091/api/analytics/topic_folders'GET /api/analytics/topics GET
Every topic an agent's conversations are labelled with, sorted by name, each with the Logs 'label' filter that selects it: topic:<name> for a topic that doesn't overlap (its own topics and source folders), tag:<id> for one that can. Needs the agent's logs; an agent the caller can't see gives an empty list. [Personal access token](/API/personal-access-tokens) scope: `analytics:read`.
Stored execution traces (span timelines) for one Logs row GET
Stored execution traces (span timelines) for one Logs row. Pass exactly one of message_id, request_id, activity_id, workflow_run_id or id; api_key_id scopes to an agent you own. [Personal access token](/API/personal-access-tokens) scope: `analytics:read`.