POST /environments

Create an Environment in a provided Project

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
datafile Object No
datafile.id Integer No

ID of Datafile.

datafile.revision Integer No

Current revision number.

datafile.url String No

URL where this Datafile is available.

datafile.latest_file_size Integer No

The current size in bytes of the Datafile.

datafile.other_urls[] Array No

List of other URLs where this Datafile is also available.

datafile.sdk_key String No

Unique key to identify this specific Environment and Datafile programmatically in our SDKs.

id Integer No

ID of this Environment.

priority Integer No

Integer representing the priority of the Environment. This is used for ordering in the UI.

project_id Integer Yes

ID of the project of the Environment.

created String No

Created time.

name String Yes

Name of the Environment.

archived Boolean No

Boolean representing whether the Environment is archived.

description String No

A short description of the Environment.

key String Yes

Unique string identifier for this Environment within the Project.

last_modified String No

Last modification time.

is_primary Boolean No

Boolean representing if this is the primary (default) Environment.

has_restricted_permissions Boolean No

Boolean representing whether starting experiments should be restricted to publishers and above in this Environment.

Default value: false

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.