Lytics Segment API
Segments are named, logical expressionsof users. These segments may logically be builtusing other segments as well. The segment apiprovides a list of segments built by both the admin, pre-definedsegments automatically added to each account as well as custom onescreated through the UI.Segments represent a number of concepts:* *Segment* A list of users, users are members (or not) of a segment* *Trigger* As a user enters, or leaves a segment, this is a trigger. Triggers do not have a Size, only a history of events.* *Goal* A segment that also implies conversion. In Lytics App, there are *Goals* that show more prominently in a funnel type interface.* *Dynamic Attribute* A user belonging to a segment describes an attribute about that user. For instance *IsPurchaser* is both an attribute that can help personaliation, as well as a segment. We call these special segments *Aspects* at Lytics.* *Metric* A segment when used exclusively for the purposes of tracking conversions/metric.The Segment resource has the following attributes:| field | DataType | Description ||-------------|------------------|---------------|| id | string | unique id, Lytics assigned| created | Date | Created date| updated | Date | Last Updated Date| kind | string | What Type of segment from list above ["aspect","goal"] or leave empty for "segment".| slug | string | customer-assigned unique id (We auto assigned by slugifying `Name` if not provided).| name | string | Name of this segment| description | string | Long text description (optional)| is_public | bool | Is this segment available as part of user profile api (entity api)| segment_ql | string | Segment QL Logical Expression| tags | []string | List of tags, for organization purposesTo see a list of available fields available for segmentation rules see **catalog** api.
Lytics Segment API is one of 34 APIs that Lytics publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Segment. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.
This API exposes 13 operations across 9 paths, and defines 8 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.
Requests are made against a single base URL, https://api.lytics.io.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Lytics Segment API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as Authorization (ApiKeyAuth).
Paths & Operations 13
Across 9 paths, the API surfaces 13 operations — 2 DELETE, 7 GET, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Segments are named, logical expressions of users. These segments may logically be built using other segments as well. The segment api provides a list of segments built by both the…
Schemas 8
The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are SegmentValidateModel (3 properties), SegmentSizeModel (1 property), SegmentModel (1 property), SegmentAttributionListModel (1 property). 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 Segment 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.