v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Change Requests

Retrieves all change requests for a project

Enterprise feature

This endpoint will retrieve all change requests regardless of status for a given project. There's an upper limit of last 300 change requests ordered by creation date.

get/api/admin/projects/{projectId}/change-requests

Path parameters

projectIdstring required

Response

changeRequestsSchema

Example response

[
  {
    "id": 3,
    "title": "Increasing gradual rollout",
    "environment": "development",
    "minApprovals": 2,
    "project": "unleash-project",
    "features": [
      {
        "name": "my-feature",
        "conflict": "Feature has been archived",
        "changes": [
          {
            "id": 33,
            "action": "updateStrategy",
            "conflict": "Strategy has been deleted",
            "payload": [
              {
                "id": "9c40958a-daac-400e-98fb-3bb438567008",
                "sortOrder": 1
              }
            ],
            "createdAt": "2023-07-31T13:22:03+02:00"
          }
        ],
        "defaultChange": {
          "action": "addStrategy",
          "payload": {
            "name": "flexibleRollout",
            "title": "",
            "disabled": false,
            "segments": [],
            "parameters": {
              "groupId": "my-feature",
              "rollout": "100",
              "stickiness": "default"
            },
            "constraints": [
              {
                "values": [
                  "ux"
                ],
                "inverted": false,
                "operator": "STR_CONTAINS",
                "contextName": "userId",
                "caseInsensitive": false
              }
            ]
          }
        }
      }
    ],
    "segments": [
      {
        "id": 33,
        "action": "updateStrategy",
        "conflict": "Strategy has been deleted",
        "payload": [
          {
            "id": "9c40958a-daac-400e-98fb-3bb438567008",
            "sortOrder": 1
          }
        ],
        "createdAt": "2023-07-31T13:22:03+02:00",
        "name": "beta-users"
      }
    ],
    "approvals": [
      {
        "createdBy": {
          "id": 33,
          "username": "unleash-user"
        },
        "createdAt": "2022-12-12T12:13:24.218Z"
      }
    ],
    "rejections": [
      {
        "createdBy": {
          "id": 33,
          "username": "unleash-user"
        },
        "createdAt": "2022-12-12T12:13:24.218Z"
      }
    ],
    "comments": [
      {
        "id": 33,
        "text": "This is a comment",
        "createdBy": {
          "username": "unleash-user"
        },
        "createdAt": "2022-12-12T12:13:24.218Z"
      }
    ],
    "createdBy": {
      "username": "Hunter"
    },
    "createdAt": "2023-07-31T13:33:02Z"
  }
]