Content

Create Content Topic Clusters

Create a collection of the most central topics in an account's topic grah, with each topic's corresponding cluster.

post/api/content/topic/cluster

Request

  • Base URL
    https://api.lytics.io
  • URL
    https://api.lytics.io/api/content/topic/cluster
  • Auth
    API key in header Authorization

Query parameters

account_idstring

Your Lytics account ID.

limitstring

number of label rollups to produce

directionstring

direction to follow topic dependencies, either "in" or "out"

penaltystring

penalty to apply as traversal depth increases, where a lower value introduces a higher penalty

thresholdstring

threshold at which neighbor topics are determined, where a lower value introduces a more lenient rule

Response

OK

messagestring
statusnumber

Example response

{
  "data": {
    "clusters": [
      [
        "Baking",
        "Cakes",
        "Cupakes",
        "Cookies"
      ],
      [
        "Grilling",
        "Beef",
        "Chicken",
        "Steak"
      ]
    ],
    "coverage": 0.2062
  },
  "message": "success",
  "status": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.