Content

ContentTopics

Get a list of topics in the content graph.


curl -s -H "Authorization: $LIOKEY" \
 -XGET "https://api.lytics.io/api/content/topic?limit=10" | jq '.'

get/api/content/topic

Request

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

Query parameters

account_idstring

Your Lytics account ID.

limitstring

limit on number of topics to return, default = 500

Response

OK

statusnumber
messagestring

Example response

{
  "status": 200,
  "message": "success",
  "data": [
    {
      "label": "Data-First Marketing",
      "doc_count": 275,
      "total": 380636,
      "missing": 216048,
      "present": 143710,
      "avg": 0.5983867964798089,
      "tags": [
        "custom"
      ]
    },
    {
      "label": "User Data Unification",
      "doc_count": 273,
      "total": 380636,
      "missing": 216048,
      "present": 154068,
      "avg": 0.6036863622558337,
      "tags": [
        "custom"
      ]
    },
    {
      "label": "Customer Data Platform",
      "doc_count": 313,
      "total": 380260,
      "missing": 216043,
      "present": 159628,
      "avg": 0.9704200631406573,
      "tags": [
        "custom"
      ]
    }
  ]
}

Changes

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