Skip to Content
Heuristic documentation

The product's features with their documentation, newest first

GET
/v1/products/{productId}/features

For a feature's full detail; to see where features sit in categories use get_hierarchy. Each feature was extracted from one documentation page: a title (its name in its category once named, else the working title), a description (null until named), an excerpt of the page's own text (up to 500 words) and its source page, with removedAt set once a completed read no longer found that page. relinks lists the feature's latest 10 moves to another page, newest first (ties by id): page_no_longer_describes_feature, page_removed or page_found_again, each with its from and to page (null only when the page no longer exists) and relinkedAt. Ordered by creation time, newest first, then id.

Authorization

headerAuthorizationBearer <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.

Path Parameters

productId*string

A Heuristic id: a uuid, in any case (it is read in lower case). Anything else answers 400 validation_error.

Formatuuid

Query Parameters

limit?integer

How many features to return, 1 to 20 (10 when left out).

Range1 <= value <= 20
Default10
cursor?string

Where the next page starts: the meta.nextCursor of the previous page. Leave out for the first page.

Response Body

One page of features

application/json
  1. response
data*array<>
meta*
Example Request
curl -X GET 'https://staging.heuristic.app/v1/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/features' \  -H 'Authorization: Bearer <access token>'
Example Response
{  "data": [    {      "id": "string",      "title": "string",      "description": "string",      "excerpt": "string",      "source": {        "pageId": "string",        "url": "string",        "title": "string",        "removedAt": "string"      },      "relinks": [        {          "from": {            "pageId": "string",            "url": "string",            "title": "string",            "removedAt": "string"          },          "to": {            "pageId": "string",            "url": "string",            "title": "string",            "removedAt": "string"          },          "reason": "page_no_longer_describes_feature",          "relinkedAt": "string"        }      ],      "categoryId": "string",      "addedByLatestRead": true,      "createdAt": "string",      "updatedAt": "string"    }  ],  "meta": {    "nextCursor": "string"  }}