How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Optimizely Agent API

Optimizely Agent is a stand-alone open-source microservice that consolidates the Feature Experimentation SDK surface behind a REST API — config, datafile, decide, track, activate, override, lookup, save, send-odp-event and batch. Self-hosted by the customer, so it has no Optimizely-operated base URL. Harvested verbatim 2026-08-13.

Optimizely Agent API is one of 50 APIs that Optimizely publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Feature Flags and Self-Hosted. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 11 operations across 11 paths, and defines 36 schemas. It is described by OpenAPI 3.1.0, at version 0.12.0.

Requests are made against the base URL https://{optimizely-agent-host}.

11 operations 11 paths 36 schemas 2 GET9 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.12.0
Base URL
https://{optimizely-agent-host}
Authentication
API Key, HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 2

Optimizely Agent API declares 2 security schemes for authenticating requests. An API key is passed in the header as X-Optimizely-SDK-Key (SdkKeyAuth). It accepts HTTP bearer tokens (jwt) (TokenAuth). By default, every request must be authenticated.

Paths & Operations 11

Across 11 paths, the API surfaces 11 operations — 2 GET, 9 POST. Each is listed below with its method, path, parameters, and response codes.

Operations 11
GET
/v1/config
Return the Optimizely config for the given environment
getConfig → 200401403
GET
/v1/datafile
Return the datafile for the given environment. If you need strict consistency, you can pass the datafile to other Optimizely instances. so that all initialize from exactly the same datafile version (…
getDatafile → 200401403
POST
/v1/decide
Decide makes feature decisions for the selected query parameters.
decide 1 param body → 200400401403500
POST
/v1/lookup
Lookup returns saved user profile.
lookup body → 200400401403500
POST
/v1/save
Save saves user profile.
save body → 200400401403500
POST
/v1/track
Track event for the given user.
trackEvent 1 param body → 200400401403
POST
/v1/send-odp-event
Send event to Optimizely Data Platform (ODP).
sendOdpEvent body → 200400401403500
POST
/v1/activate
Activate selected features and experiments for the given user.
activate 5 params body → 200400401403
POST
/v1/override
Override an experiment decision for a user
override body → 200400401403
POST
/oauth/token
Get JWT token to authenticate all requests.
getToken body → 200401
POST
/v1/batch
Batch multiple API endpoints into one request.
BatchmultipleAPIendpointsintoonerequest. body → 200400422

Schemas 36

The contract defines 36 schemas that model the data the API accepts and returns. The most detailed are BatchResponseItem (8 properties), OptimizelyConfig (8 properties), Decision (7 properties), OptimizelyDecision (7 properties). Each schema is shown below with its type and property counts.

Error
object
1 property
TokenError
object
2 properties
OptimizelyExperiment
object
4 properties 2 required
OptimizelyAttribute
object
2 properties
OptimizelyAudience
object
3 properties
OptimizelyEvent
object
3 properties
OptimizelyFeature
object
6 properties 2 required
UserProfile
object
2 properties
Decision
object
7 properties
OptimizelyDecision
object
7 properties 3 required
ActivateContext
object
2 properties
Override
object
5 properties
OverrideContext
object
3 properties
OptimizelyConfig
object
8 properties
TrackContext
object
3 properties
SendOdpEventContext
object
4 properties 2 required
LookupContext
object
1 property 1 required
SaveContext
object
2 properties
DecideContext
object
6 properties 1 required
ForcedDecision
object
3 properties 2 required
OptimizelyVariation
object
4 properties 2 required
OptimizelyVariable
object
4 properties 2 required
TokenContext
object
3 properties
BatchContext
object
1 property 1 required
BatchOperation
object
6 properties
BatchResponse
object
4 properties
BatchResponseItem
object
8 properties
DecideOption
string
ExperimentBucketMap
object
1 property
FetchSegmentsOption
string
Method
string
The REST request method
Method1
string
Status
integer
Type
string
UserContext
object
2 properties 1 required
YourExperimentId
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

optimizely-feature-experimentation-optimizely-agent-api-openapi.json Raw ↑

Other APIs Optimizely publishes across the network.

Optimizely Experimentation REST API v2
Optimizely Feature Experimentation Flags API v1
Optimizely Flags Scheduling API
Optimizely Permission Service API
Optimizely Event API
Optimizely Edge Decider API
Optimizely Data Platform (ODP) API v3
Optimizely Graph API
Optimizely Content Marketing Platform (CMP) API v3
Optimizely Campaign REST API
Optimizely Configured Commerce API
Optimizely CMS Content Delivery API v3.0
Where this information came from

This is an independent, third-party profile of Optimizely Agent 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.