Skip to content

Segment

Built, not certified Built and tested against recorded and synthetic responses (version 0.1.0, 21 November 2026). Not yet run against the vendor's sandbox or a client environment.

Reads the sources, tracking plans and audiences of a Segment workspace, so analytics agents can answer what is tracked, under which rules, and which audiences exist. It reads configuration only; it reads no events and no profiles.

Built against the Segment Public API 74.1.0 (v1 endpoints).

CollectorSegment, version 0.1.0
ReadsSegment (Twilio): Segment Connections, Protocols and Engage (sources, tracking plans, audiences) (the vendor's documentation)
FamilyData
KindCustomer data
Ways to connectAccess token
Scopes
  • Read: Public API token with read-only access to the workspace
Read onlyYes
Vendor's API can move moneyNo
Personal dataIdentity
Hosts it may contactapi.segmentapis.com, eu1.api.segmentapis.com
Vendor API versionsSegment Public API 74.1.0 (v1): List Sources, List Tracking Plans, List Rules from Tracking Plan, List Audiences
Lowest engine version0.47.1
  • Sources: name, slug, enabled, the catalogue entry (for example Apple, Mobile) and labels. Write keys and settings are never copied.
  • Tracking plans (Protocols): name, description, type, and each rule’s event or trait key, type, version, deprecation and the properties its JSON Schema names, with those it requires. A plan’s rules are read again only when the plan changes.
  • Audiences (Engage), in the spaces you name: name, key, description, enabled, status, size, type, compute cadence and the definition query.
  • Each run lists everything, pages with pagination.count and pagination.cursor, and writes what changed. An object that has gone is withdrawn.
  • Never read: events, profiles and traits, destinations, warehouses, functions, write keys, source settings and anything that changes the workspace.
  1. In Segment, under Settings > Access Management > Tokens, create a Public API token (not a Config API token) and give it read-only access to the workspace.
  2. In LightHouse, open Connectors, choose Segment, choose the workspace’s Region (US or EU), name the Engage space ids whose audiences to read (or none), a label and how often to read, and paste the token.
  3. In code, give the deployment the token as SEGMENT_TOKEN from your secret store and add a kind: segment source card with region, space_ids, label and requires. token_env changes the variable name; kinds narrows what is read.

A Public API token with read-only access. The collector sends only GET requests to the Region’s Public API host, with the token as a Bearer credential; it never changes the workspace. Its read-only test proves it on every change.

  • The Region is US (api.segmentapis.com) or EU (eu1.api.segmentapis.com); each workspace needs its own token.
  • Audiences are read only in the spaces you name: Segment’s endpoint for listing spaces is in alpha, and the collector uses stable endpoints only.
  • Tracking plans need Protocols, and audiences need Engage. A workspace without them answers 403 or 404, and what was read before is kept, not withdrawn.
  • A list is read to at most 100 pages of 200; the rules endpoint is limited to 200 requests a minute, which is why rules are read only for changed plans.
  • Requests are paced and back off when Segment asks (Retry-After).
  • Source names, plan rules, audience names and definitions are copied into the deployment’s corpus under the source’s label. Audience definitions can name traits; they hold no profile data.
  • Write keys and source settings are dropped as they are read and never stored.
  • The token stays in your secret store and is never written to logs or run notes; it is sent only to the Region’s API host.
  • Nothing leaves the deployment: only counts reach LightHouse.
What you see What it means What to do
region is one of ['eu', 'us'] The Region is not US or EU Use the workspace’s Region
credential variable 'SEGMENT_TOKEN' is not set The token variable is empty Set it from your secret store
HTTP 401 The token is revoked, or is a Config API token, or is for another Region Make a Public API token in the workspace’s Region
HTTP 403 on sources The token cannot read the workspace Give the token read-only access to the workspace
No audiences No space ids named, or Engage is not enabled Name the spaces in space_ids
Read succeeded, 0 written Nothing changed since the last read Nothing to do

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See How collectors are certified.

DateCollectorEngineVendor APIMethodExpires
21 November 20260.1.00.47.1Segment Public API 74.1.0 (v1): sources, tracking plans and rules, audiencesFixtures only: built, not certifiedNot applicable

From the collector’s last scan on the default branch. What each line means, and what blocks a release: Security posture.

Last scanned25 November 2026
Critical findings0
High findings0
Medium findings0
Low findings0
Info findings0
Release blockedNo
Network allow-list checkPass
Read-only behavioural testPass
SBOM (CycloneDX)Produced
Dependency licencesPass
Scannersbandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only