v4

latestOpenAPI 3.0.02026-08-04109113304.5 KB
Environments

Read the datafile of an Environment

Get the datafile for an Environment. The <a href="https://docs.developers.optimizely.com/full-stack/docs/example-datafile">Datafile</a> is a JSON string that describes to the Full Stack SDK all the experiments and features running in a given environment and dependent entities like audiences and attributes. Normally, you won't need to interact with the datafile directly. The SDK exposes methods that operate on it internally.

get/environments/{environment_id}/datafile

Path parameters

environment_idinteger required

The Environment ID for the datafile you want to get.

Response

Return Datafile for the Environment specified

object required