Skip to Content
Docs

GET /api/analytics/topics

GET
/api/analytics/topics

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 scope: analytics:read.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Query Parameters

agent_id?string

Agent id

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/analytics/topics'
Example Response200
Empty