A category's topics, from every feature below it, with their feedback values
Every live feature at any depth below the category: the topics with at least one grouped insight, by customers, then insights, then name, each with its feature (the same name under two features is two topics). Each topic's values follow get_feedback_counts' rule for that topic alone; total is the scope's row there (each customer once), so the topics can add up to more than total. topicCount: the topics on every page; read on with meta.nextCursor (a ranking moves as feedback arrives, so a later page can repeat or skip a topic). customerStatus and period as in list_feature_topics. scope.category names the category and its parents (path, top first); a deleted category is not found. Send meta.feedbackVersion as expectedVersion with a feedback change planned from this read.
AuthorizationBearer <token>An OAuth access token for the person who allowed your tool: register a client, then the authorization code flow with PKCE (S256). Send it as Authorization: Bearer <token> on every route that needs a signed-in person. Calls with a token are limited per person, across all their apps, to 120 calls a minute and 10,000 a UTC day; calls that start AI runs or knowledge base reads (creating an organization, starting a knowledge base read, rebuilding categories, retrying topics or rechecking) also to 10 a minute and 200 a UTC day. Over a limit a call answers 429 rate_limited with Retry-After and details.retryAfter in seconds, and changes nothing.
productId*stringA Heuristic id: a uuid, in any case (it is read in lower case). Anything else answers 400 validation_error.
uuidcategoryId*stringA Heuristic id: a uuid, in any case (it is read in lower case). Anything else answers 400 validation_error.
uuidcustomerStatus?stringOnly customers with this status count: customer or prospect. Left out: customers and prospects, and customers with no status. A customer's status is taken the way its ARR is: a company's own (the record's, else its contact's company); a contact counted alone, the status of their most recent record that carried one; a record counted alone, its own. withoutStatus says how many counted customers have no status, whatever this is.
"customer""prospect"period?stringOnly feedback given in this period counts, by the date it was given: 30d and 90d are the last 30 or 90 days, 12m the last 12 calendar months (UTC), all measured back from the moment of the request; feedback dated later counts too. Left out: all time. Counts, ARR, insights, which topics are listed and withoutStatus follow it; trend, trendByType, change, changeByType and meta do not (they keep the reporting unit's own windows).
"30d""90d""12m"customerKind?stringWith customerId, only the topics where that customer has a grouped insight (under customerStatus and period); each topic's figures, total, topicCount and meta stay the whole scope's, not the customer's: the customer's kind as the customers reads answer it (company, contact or record), and customerId its id. The two go together; a customer with nothing here answers an empty page.
"company""contact""record"customerId?stringA Heuristic id: a uuid, in any case (it is read in lower case). Anything else answers 400 validation_error.
uuidtype?stringOnly insights of this type count, trends and changes included. Left out: every type.
"feature_request""bug""praise""complaint""question"sentiment?stringOnly insights with this sentiment count, trends and changes included. Left out: every sentiment.
"positive""neutral""negative"source?stringOnly feedback from this source counts (an id from meta.sources), trends and changes included. A Heuristic id: a uuid, in any case (it is read in lower case). Anything else answers 400 validation_error.
uuidview?stringgrowing, new or shrinking: only topics in that change state over window (New is never Growing), largest rise, largest fall or most customers first unless sort is given. Default all.
"all""all""growing""new""shrinking"sort?stringcustomers: most customers first, then most insights, then name (the default under view: all). arr: most ARR first. change: fastest growing first, by the rise change.latest minus change.before, then the percent (new ones first). Ties follow the default order.
"customers""arr""change"from?stringWith to: only feedback given from this UTC day (YYYY-MM-DD, inclusive) counts, as period narrows (not with period); copy a series entry's from and to to read that period.
to?stringWith from: the last UTC day (YYYY-MM-DD, inclusive) whose feedback counts; later feedback does not.
limit?integerHow many topics a page holds, 1 to 50 (50 when left out).
1 <= value <= 50cursor?stringThe previous page's meta.nextCursor, with the same other inputs; left out: the first page.
One page of topics
application/json- response
data*meta*curl -X GET 'https://staging.heuristic.app/v1/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/categories/497f6eca-6276-4993-bfeb-53cbbbba6f08/topics' \ -H 'Authorization: Bearer <access token>'{ "data": { "currency": "string", "ratesAsOf": "string", "unconverted": [ "string" ], "noArr": true, "unit": "week", "periods": [ "string" ], "window": { "latest": { "from": "string", "to": "string" }, "before": { "from": "string", "to": "string" } }, "total": { "counts": { "total": 0, "feature_request": 0, "bug": 0, "praise": 0, "complaint": 0, "question": 0 }, "arr": { "total": "string", "feature_request": "string", "bug": "string", "praise": "string", "complaint": "string", "question": "string" }, "trend": [ 0 ], "trendByType": { "feature_request": [ 0 ], "bug": [ 0 ], "praise": [ 0 ], "complaint": [ 0 ], "question": [ 0 ] }, "change": { "before": 0, "latest": 0 }, "changeByType": { "feature_request": { "before": 0, "latest": 0 }, "bug": { "before": 0, "latest": 0 }, "praise": { "before": 0, "latest": 0 }, "complaint": { "before": 0, "latest": 0 }, "question": { "before": 0, "latest": 0 } } }, "topicCount": 0, "views": { "all": { "topics": 0, "customers": 0 }, "growing": { "topics": 0, "customers": 0 }, "new": { "topics": 0, "customers": 0 }, "shrinking": { "topics": 0, "customers": 0 } }, "tiles": { "customers": { "count": 0, "change": { "before": 0, "latest": 0 } }, "arr": { "amount": "string", "currency": "string", "change": { "before": 0, "latest": 0 }, "before": "string", "latest": "string" }, "insights": { "count": 0, "change": { "before": 0, "latest": 0 } } }, "series": [ { "from": "string", "to": "string", "customers": 0, "arr": "string", "current": true, "expected": { "customers": 0, "arr": "string" } } ], "withoutStatus": { "total": 0, "feature_request": 0, "bug": 0, "praise": 0, "complaint": 0, "question": 0 }, "scope": { "category": { "id": "string", "title": "string", "description": "string", "path": [ { "id": "string", "title": "string" } ] } }, "topics": [ { "counts": { "total": 0, "feature_request": 0, "bug": 0, "praise": 0, "complaint": 0, "question": 0 }, "arr": { "total": "string", "feature_request": "string", "bug": "string", "praise": "string", "complaint": "string", "question": "string" }, "trend": [ 0 ], "trendByType": { "feature_request": [ 0 ], "bug": [ 0 ], "praise": [ 0 ], "complaint": [ 0 ], "question": [ 0 ] }, "change": { "before": 0, "latest": 0 }, "changeByType": { "feature_request": { "before": 0, "latest": 0 }, "bug": { "before": 0, "latest": 0 }, "praise": { "before": 0, "latest": 0 }, "complaint": { "before": 0, "latest": 0 }, "question": { "before": 0, "latest": 0 } }, "id": "string", "name": "string", "insights": 0, "edited": true, "insightsByType": { "feature_request": 0, "bug": 0, "praise": 0, "complaint": 0, "question": 0 }, "latestAt": "string", "feature": { "id": "string", "title": "string" } } ] }, "meta": { "counting": true, "uncounted": true, "hasRecords": true, "countingRecords": 0, "uncountedRecords": 0, "nextCursor": "string", "sources": [ { "id": "string", "name": "string", "kind": "endpoint" } ], "feedbackVersion": "string" }}