List the feature flags the application reads
GET
/api/platform/feature-flags
const url = 'https://forge.example.com/api/platform/feature-flags';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://forge.example.com/api/platform/feature-flags \ --header 'Authorization: Bearer <token>'Each flag’s name, what it does, and its value when an organization has not set it.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
object
name
required
string
label
required
string
description
required
string
default
required
boolean
Example generated
[ { "name": "example", "label": "example", "description": "example", "default": true }]default
Section titled “default”A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.
Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}