Claude Enterprise Analytics API changes when a Chat and Cowork unified chat counts as a session
In the Claude Enterprise Analytics API, a chat now counts as a session on each UTC day that Claude runs a Bash command or creates or edits a file in it, so session, message, connector and skill counts can move between objects and rise or fall.
What does this mean for me?
Plan for it
Engineering leadership
Cost, risk, timeline, team impact Plan for itUsage reports for Chat and Cowork built on the Analytics API have a break in the series from November 20: session, message, connector and skill counts can rise or fall. Annotate dashboards and don't read the shift as a change in adoption.
Engineer
What to change, what breaks, what to test Plan for itExpect counts in chat_cowork_unified_metrics to move between chat and sessions, and re-pull data from November 17 onward after the November 23-24 fixes. Third-party skills can drop out of distinct_skills_used_count and plugins can show as plugin_name third-party.
General consumer
Using the Claude apps, not the API No impactNothing to do: this changes how admins' usage reports count activity, not how the Claude apps work.
The Claude Enterprise Analytics API has a new rule for when a chat in Chat and Cowork unified counts as a session. A session now starts the first time on a UTC day that Claude successfully runs a Bash command, creates a file or edits a file in the chat, and ends when that day ends. Previously a chat counted as a session once it moved into a Cowork cloud session, including on later days.
The change rolls out to chats gradually, existing chats can change later than new ones, and the API does not show which rule a chat follows. Activity from before the change is not recounted. In List User Activity, counts in chat_cowork_unified_metrics shift between the chat and sessions objects: sessions.distinct_session_count, message_count, action_count, file_edit_count and connector counts can each rise or fall, and chat.distinct_conversation_count can rise. Skill and plugin use counts in sessions.
For chats the change reached, the API no longer gets the names of some skills and plugins not made by Anthropic. distinct_skills_used_count and skill spend can be lower, attributed_list_price can be null, and such plugins can appear under plugin_name third-party. Reports and dashboards that compare usage across the change need to allow for the break in the series.
On November 23, Anthropic posted fixes for related undercounts: web_search_count in List User Activity (data from November 17), connector user counts in Get Connector Usage that this change had reduced (data from November 19), and project activity in Get Chat Project Usage (data from November 20, fix live November 24). Counts already pulled for those days can change.