v4

latestOpenAPI 3.0.02026-08-04109113304.5 KB
Features

Read a Feature

Get metadata for a single Feature. Note this endpoint is incompatible with Full Stack Targeted Rollouts projects (default in accounts created after July 2020) and with non-legacy Full Stack projects (default in projects created after February 2021). See the compatible API at https://library.optimizely.com/docs/api/flags/v1/index.html#tag/Flags.

get/features/{feature_id}

Path parameters

feature_idinteger required

The unique identifier for the Feature

Response

Successfully retrieved the Feature

archivedboolean

Whether the Feature has been archived

createdstring date-time

Time when the Feature was created

descriptionstring

A short description of this Feature

environmentsobject

The configuration for this Feature's Rollout within each Environment, keyed by Environment key

idinteger

The ID of this Feature

keystring required

Unique string identifier for this Feature within the Project

last_modifiedstring date-time

Date last modified

namestring

Name of the Feature

project_idinteger required

The ID of the Project this Feature belongs to

Example response

{
  "key": "new_checkout_page",
  "name": "the checkout feature",
  "variables": [
    {
      "default_value": "0.05",
      "type": "double"
    }
  ]
}