Skip to main content
GET
/
preview
/
v2
/
feature_flags
List feature flags scoped to the caller
curl --request GET \
  --url https://api.sfcompute.com/preview/v2/feature_flags \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "object": "feature_flag",
      "feature_flag": "<string>",
      "description": "<string>",
      "user_enroll": true,
      "enrolled": true
    }
  ],
  "has_more": true
}

Authorizations

Authorization
string
header
required

Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.

Response

Feature flags listed

object
string
default:list
required
read-only
Allowed value: "list"
data
object[]
required
has_more
boolean
required