/
/Optimizely Agent API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 9m ago · Updated 1mo ago
  • getReturn the Optimizely config for the given environment
  • getReturn 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 (rather than each fetching the datafile separately from the Optimizely CDN).
  • postDecide makes feature decisions for the selected query parameters.
  • postLookup returns saved user profile.
  • postSave saves user profile.
  • postTrack event for the given user.
  • postSend event to Optimizely Data Platform (ODP).
  • postActivate selected features and experiments for the given user.
  • postOverride an experiment decision for a user
  • postGet JWT token to authenticate all requests.
  • postBatch multiple API endpoints into one request.

Override an experiment decision for a user

For debugging or testing. Overrides an experiment and variation decision for a given user, in local memory only. Do not use this endpoint for production overrides.

post/v1/override

Request body

userIdstring
experimentKeystring
variationKeystring

Response

Valid response

object required

Changes