Threads
Get thread analytics
Returns aggregated thread statistics for the current organization including total threads, message counts, and status breakdowns.
GET
Get thread analytics
Authorizations
WorkOS JWT token. Obtain via WorkOS AuthKit authentication flow. The token must include organization_id claim for organization-scoped endpoints.
Response
OK
Aggregated thread analytics for an organization
Total number of threads
Required range:
-9007199254740991 <= x <= 9007199254740991Sum of all message counts
Required range:
-9007199254740991 <= x <= 9007199254740991Sum of all token usage
Required range:
-9007199254740991 <= x <= 9007199254740991Threads with status 'regular'
Required range:
-9007199254740991 <= x <= 9007199254740991Threads with status 'archived'
Required range:
-9007199254740991 <= x <= 9007199254740991Get thread analytics

