v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Projects

[BETA] Configuration for the actions UI.

Enterprise feature

[BETA] This API is in beta state, which means it may change or be removed in the future.

Returns the configuration for the actions UI.

get/api/admin/projects/{projectId}/actions/config

Path parameters

projectIdstring required

Response

actionDefinitionsConfigSchema

Example response

{
  "TOGGLE_FEATURE_ON": {
    "label": "Enable a feature",
    "description": "Enable a feature flag in a specific environment.",
    "category": "Feature flags",
    "permissions": [
      "UPDATE_FEATURE"
    ],
    "parameters": [
      {
        "name": "project",
        "label": "Param name",
        "type": "select",
        "optional": true,
        "options": [
          "default"
        ]
      }
    ]
  },
  "TOGGLE_FEATURE_OFF": {
    "label": "Enable a feature",
    "description": "Enable a feature flag in a specific environment.",
    "category": "Feature flags",
    "permissions": [
      "UPDATE_FEATURE"
    ],
    "parameters": [
      {
        "name": "project",
        "label": "Param name",
        "type": "select",
        "optional": true,
        "options": [
          "default"
        ]
      }
    ]
  },
  "TOGGLE_FEATURES_ON_BY_TAG": {
    "label": "Enable a feature",
    "description": "Enable a feature flag in a specific environment.",
    "category": "Feature flags",
    "permissions": [
      "UPDATE_FEATURE"
    ],
    "parameters": [
      {
        "name": "project",
        "label": "Param name",
        "type": "select",
        "optional": true,
        "options": [
          "default"
        ]
      }
    ]
  },
  "TOGGLE_FEATURES_OFF_BY_TAG": {
    "label": "Enable a feature",
    "description": "Enable a feature flag in a specific environment.",
    "category": "Feature flags",
    "permissions": [
      "UPDATE_FEATURE"
    ],
    "parameters": [
      {
        "name": "project",
        "label": "Param name",
        "type": "select",
        "optional": true,
        "options": [
          "default"
        ]
      }
    ]
  }
}