Optimizely
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).
At a glance
Section titled “At a glance”| Collector | Optimizely, version 0.1.0 |
|---|---|
| Reads | Optimizely: Optimizely Web Experimentation and Feature Experimentation (projects, experiments, results, flags) (the vendor's documentation) |
| Family | Data |
| Kind | Experimentation |
| Ways to connect | Access token |
| Scopes |
|
| Read only | Yes |
| Vendor's API can move money | No |
| Personal data | Identity |
| Hosts it may contact | api.optimizely.com |
| Vendor API versions | Optimizely REST API v2 (projects, experiments, experiment results), Optimizely Flags API v1 (list flags) |
| Lowest engine version | 0.47.1 |
What it reads
Section titled “What it reads”- 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.
How to connect
Section titled “How to connect”- 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.
- 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.
- In code, give the deployment the token as
OPTIMIZELY_TOKENfrom your secret store and add akind: optimizelysource card withproject_ids,labelandrequires.token_envchanges the variable name;kindsandmax_resultsnarrow what is read.
Permissions
Section titled “Permissions”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.
Limits
Section titled “Limits”- 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).
Data handling
Section titled “Data handling”- 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.
Troubleshooting
Section titled “Troubleshooting”| 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 |
Certification
Section titled “Certification”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.
| Date | Collector | Engine | Vendor API | Method | Expires |
|---|---|---|---|---|---|
| 21 November 2026 | 0.1.0 | 0.47.1 | REST API v2 (projects, experiments, results); Flags API v1 (flags) | Fixtures only: built, not certified | Not applicable |
Security posture
Section titled “Security posture”From the collector’s last scan on the default branch. What each line means, and what blocks a release: Security posture.
| Last scanned | 25 November 2026 |
|---|---|
| Critical findings | 0 |
| High findings | 0 |
| Medium findings | 0 |
| Low findings | 0 |
| Info findings | 0 |
| Release blocked | No |
| Network allow-list check | Pass |
| Read-only behavioural test | Pass |
| SBOM (CycloneDX) | Produced |
| Dependency licences | Pass |
| Scanners | bandit 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 |