# Provide topic count via Discourse AI tool API \`discourse.getUser\` function

**URL:** https://meta.discourse.org/t/provide-topic-count-via-discourse-ai-tool-api-discourse-getuser-function/394878
**Category:** Feature
**Tags:** ai
**Created:** [February 1, 2026, 1:23pm UTC](https://meta.discourse.org/t/provide-topic-count-via-discourse-ai-tool-api-discourse-getuser-function/394878 "2026-02-01T13:23:04Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 9, 2026, 8:32am UTC](https://meta.discourse.org/t/provide-topic-count-via-discourse-ai-tool-api-discourse-getuser-function/394878/2 "2026-02-09T08:32:08Z")

</div>

Looks like we were missing serializing the `topic_count` on the user serializer 🤔

It’ll be added in

[https://github.com/discourse/discourse/pull/37632](https://github.com/discourse/discourse/pull/37632)

---

_[View the full topic](https://meta.discourse.org/t/provide-topic-count-via-discourse-ai-tool-api-discourse-getuser-function/394878)._
