Lytics Content API
Content APIs for Lytics Content Affinity Engine, allow foradding content into lytics, getting lists of content, andunderstanding the content and content-topics.**Content Classification**Content classification refers to the Lytics automatedprocess of taking text, URL, image based contentand classifying it to attach topics to content documents.* *Content* A list of content (URLs, Email Documents, Uploaded Documents, Campaigns) and the topics, created dates, etc for each.* *ContentTopics* Categories/Topics are applied to each piece of content.* *User Content Affinity* Based on user interacting with content, the topics (derived from the content they interact with) is enriched into their profile.First, an overview of How this content gets here.* *Observed URLs* Once the lytics tag is on a Website, as users use the website any new URL they interact with is collected.* *Crawling* we can proactively crawl a site.* *Email Tools* We see URLs inside of email campaigns and proactively classify those URLs, as well as the emails themselves.* *Uploaded Content* You may upload content to the **Classify**.**Use Cases***1) User Content Recomendations* Find content for a user based on their content-affinity.*2) Get List of Content* Rich query api to get content.**Examples**```# ad-hoc segment scan from content table# get a list of content documents that# - have aspects=article (aspects = article,product, etc)# - has imageurlcurl -s -H "Authorization: $LIOKEY" \ -XGET "https://api.lytics.io/api/segment/scan?sortfield=created&limit=10" -d 'FILTER AND ( EXISTS imageurls aspects = "article")FROM content' | jq '.'# Create a content-segment# - uses "ALIAS" as id for create/update, must be uniquecurl -s -H "Authorization: $LIOKEY" -H "Content-Type: text/plain" \ -XPOST "$LIOAPI/api/segment" -d 'FILTER AND ( EXISTS imageurls aspects = "article")FROM contentWITH name = "My Articles"ALIAS my_articles' | jq '.'# grab just those content-docs using named segment scancurl -s -H "Authorization: $LIOKEY" \ -XGET "https://api.lytics.io/api/segment/my_articles/scan?sortfield=created&limit=10" \ | jq '.'# grab recommended articles for single usercurl -s -H "Authorization: $LIODATAKEY" \ -XGET "https://api.lytics.io/api/content/recommend/:your_account_id/user/user_id/123456" \ | jq '.'```
Lytics Content API is one of 34 APIs that Lytics publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Content. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.
This API exposes 30 operations across 23 paths, and defines 27 schemas. It is described by OpenAPI 3.2.0, at version 1.0.
Requests are made against 2 base URLs: https://api.lytics.io, https://api.lytics.io/v2.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Lytics Content API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as Authorization (ApiKeyAuth).
Paths & Operations 30
Across 23 paths, the API surfaces 30 operations — 2 DELETE, 17 GET, 10 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Content APIs for Lytics Content Affinity Engine, allow for adding content into lytics, getting lists of content, and understanding the content and content-topics. Content Classifi…
Schemas 27
The contract defines 27 schemas that model the data the API accepts and returns. The most detailed are lioerrors.ApiV2ErrorOut (4 properties), models.ApiResponse (4 properties), models.ContentOpportunityTopic (4 properties), models.ContentOpportunityDimension (3 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Lytics 12
Other APIs Lytics publishes across the network.
This is an independent, third-party profile of Lytics Content API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.