Thread activity
Every agent conversation, in the Lightdash app or Slack, is visible to admins under Threads. It’s the same record the person who asked the question sees: their question, the agent’s answer, and the query behind it. Admins use it to understand how agents are actually being used, and to pull real conversations into Evaluations as test cases.

Pull thread data with the API
To load agent conversations into your warehouse or another tool, call the Lightdash API with a personal access token:GET /api/v1/aiAgents/admin/threadslists threads across the projects you manage, with the same scope as Threads. Filter withprojectUuids,agentUuids,userUuids,createdFrom,humanScore,dateFrom,dateToandsearch, or by thread metadata withmetadataKey(addmetadataValueto match an exact value). It returns 50 threads per page by default; usepageandpageSizeto page through.GET /api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threads/{threadUuid}returns a thread’s messages. Each answer carries its feedback (humanScore,humanFeedback), its token usage (tokenUsage) and its artifacts, whosesavedQueryUuidandsavedDashboardUuididentify charts and dashboards saved from the thread.GET /api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threadslists only your own threads with that agent. AddallUsers=trueto list everyone’s, which needs permission to manage the agent.POST /api/v1/projects/{projectUuid}/aiAgents/{agentUuid}/threadsaccepts an optionalmetadataobject of string labels, such as your platform’s user id. You set it once at creation, and the thread APIs return it asmetadata. It takes at most 20 keys, keys up to 255 characters and values up to 4,000 characters.
MCP activity
The MCP → Analytics page covers both directions of MCP activity: external assistants calling tools on the Lightdash MCP server, and Lightdash agents calling tools on connected external MCP servers. Admins can see what was called, by whom, and whether it succeeded.

view:SystemAnalytics permission, described in Grant access.
Pull MCP activity with the API
The analytics project doesn’t carry tool-call arguments or error text. To get them, or to load recent calls into another tool, call the Lightdash API with a personal access token. You need to be an organization admin or have permission to manage agents, and results cover the projects you manage.GET /api/v1/aiAgents/admin/mcp-activity(List MCP activity) lists tool calls, including each call’stoolArgsanderrorMessage. Filter withprojectUuids,userUuids,agentUuids,toolNames,clientNames,status(successorerror),dateFromanddateTo. It returns 50 calls per page by default and at most 100; usepageandpageSizeto page through. AdateTowithout a time means midnight, so send a full timestamp to include that day.GET /api/v1/aiAgents/admin/mcp-activity/stats(Get MCP activity stats) returns total and error counts, top tools and recent errors. It takes the same filters exceptstatus. Which tools an agent is allowed to call is decided separately, per MCP server, in project settings. See choosing which tools are exposed.