Get a project's topics
The project’s topics over the window, the last topics.run.windowDays UTC days (default 30), today included: per topic its count, share, rank and a daily series, plus Other’s daily series. Counts can be up to 5 minutes old. status is disabled when the workspace is not opted in to topics, collecting while the project has no topics yet, too_large when a ClickHouse read hit a rows, bytes or memory guard (a retry answers the same, so do not retry), and ready otherwise. Fields of other states are omitted.
Query parameters
Response
The project’s topics, or status too_large when a read hit a size guard
disabled: the workspace is not opted in to topics. collecting: the project has no topics yet. ready: topics with counts. too_large: the project has too many traces in the window to count; a retry answers the same
When the project’s last saved run (a discovery run or a nightly update) finished; omitted before the first one
collecting only: the project’s newest run when it is running or failed; omitted when it saved or there is none. The runbook’s ‘Reading topics’ section tells the collecting cases apart
collecting only: traces with a vector in the window
collecting only: traces with a vector the discovery run needs
ready only: traces with a topic in the window, Other included
ready only: the first day in the window with a labelled trace; earlier days are 0 because nothing was labelled. Omitted when the window has none
The live topics in rank order; empty unless ready
ready only: the traces per day with no topic, or with a topic that is no longer live. Add it to the topics’ series for the project’s total per day