Skip to content

Optimizely

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 projects, experiments, experiment results and feature flags of an Optimizely account, so experimentation agents can answer what is being tested, how it is set up, and what it found. It reads configuration and summary results only; it reads no visitor data.

Built against the Optimizely REST API v2 (projects, experiments, experiment results) and the Flags API v1 (flags).

CollectorOptimizely, version 0.1.0
ReadsOptimizely: Optimizely Web Experimentation and Feature Experimentation (projects, experiments, results, flags) (the vendor's documentation)
FamilyData
KindExperimentation
Ways to connectAccess token
Scopes
  • Read: Personal access token of a user who is a Viewer on the projects read
Read onlyYes
Vendor's API can move moneyNo
Personal dataIdentity
Hosts it may contactapi.optimizely.com
Vendor API versionsOptimizely REST API v2 (projects, experiments, experiment results), Optimizely Flags API v1 (list flags)
Lowest engine version0.47.1
  • Projects: name, description, platform, status, classic or not, flags enabled, confidence threshold and SDKs. The snippet’s code and socket token are not copied.
  • Experiments: name, key, description, status, type, traffic allocation, holdback, variations (name, key, weight, status), metrics (title, aggregator, scope, winning direction) and the dates.
  • Experiment results, for experiments that are running or changed since the last read: the window, confidence threshold, reach (baseline and treatment counts) and each metric’s conclusion, with the winning and losing variation by name.
  • Flags, in projects with flags enabled: key, name, description, archived, permanent, the environments it is set up in, the keys of its variables, creator, created, updated and revision.
  • Each run lists everything and writes what changed; an object that has gone is withdrawn.
  • Never read: visitor or user data, audiences’ conditions, the web snippet, change history, and anything that starts, pauses or changes an experiment or flag.
  1. In Optimizely, sign in as a user who is a Viewer on the projects to read, open Profile > API Access and generate a personal access token.
  2. In LightHouse, open Connectors, choose Optimizely, name the project ids to read (or none for every project the token can see), a label and how often to read, and paste the token.
  3. In code, give the deployment the token as OPTIMIZELY_TOKEN from your secret store and add a kind: optimizely source card with project_ids, label and requires. token_env changes the variable name; kinds and max_results narrow what is read.

A personal access token acts with its user’s collaborator role, so make it for a Viewer: Viewers see experiments and results and change nothing. The collector sends only GET requests to api.optimizely.com, with the token as a Bearer credential. Its read-only test proves it on every change.

  • Results are read for at most 50 experiments a pull (max_results); results still processing (202) or not there yet (204) are read on a later run.
  • Per-variation numbers in the results (rates, lift, significance) are not read: Optimizely’s reference leaves their schema empty, and the collector reads only documented fields.
  • A project the token cannot read (403 or 404) is left as it was, not withdrawn.
  • Lists are read to at most 100 pages of 100.
  • Requests are paced and back off when Optimizely asks (Retry-After).
  • Names, descriptions, variation and metric names, conclusions and flag keys are copied into the deployment’s corpus under the source’s label. A flag’s creator is an email address and identifies a person.
  • The token stays in your secret store and is never written to logs or run notes; it is sent only to api.optimizely.com.
  • Nothing leaves the deployment: only counts reach LightHouse.
What you see What it means What to do
not Optimizely project ids A project id is not a positive whole number Copy the project id from the project’s settings
credential variable 'OPTIMIZELY_TOKEN' is not set The token variable is empty Set it from your secret store
HTTP 401 The token is revoked or wrong Generate a new token
A project’s experiments missing The token’s user is not a collaborator on that project Add the user as a Viewer
No results yet The experiment has not started, or results are processing Wait for the next run
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.1REST API v2 (projects, experiments, results); Flags API v1 (flags)Fixtures 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