v46

latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-08-0311978417.1 KB
Workspace

Export workspace analytics

Export analytics data for the workspace identified by {wId} in CSV or JSON format.

get/api/v1/w/{wId}/analytics/export

Path parameters

wIdstring required

Unique string identifier for the workspace

Query parameters

table'usage_metrics' | 'active_users' | 'source' | 'agents' | 'users' | 'skills' | 'skill_usage' | 'tool_usage' | 'messages' | 'feedback' required

The analytics table to export:

  • "usage_metrics": Messages, conversations, and active users over time.
  • "active_users": Daily, weekly, and monthly active user counts.
  • "source": Message volume by context origin (web, slack, etc.).
  • "agents": Top agents by message count, including credits.
  • "users": Top users by message count, including credits.
  • "skills": Skill metadata catalog.
  • "skill_usage": Skill executions and unique users over time.
  • "tool_usage": Tool executions and unique users over time.
  • "messages": Detailed message-level logs, including comma-separated lists of tools (as "server__tool") and skills used per message, and the cost in credits of each message.
  • "feedback": Detailed message-level feedback (thumbs, content, conversation URL).
startDatestring date required

Start date in YYYY-MM-DD format

endDatestring date required

End date in YYYY-MM-DD format

timezonestring

IANA timezone name (defaults to UTC)

format'csv' | 'json'

Output format (defaults to csv)

Response

The analytics data in CSV or JSON format

object[] required