Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Release Groups [Beta]

Create New Release Group

post

Create a new Release Group.

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
processGitBranchstringOptional

Git branch used to read the orchestration process definition for releases in this group. Required when the process is stored in Git.

processIdentifierstringOptional

Identifier of the orchestration process

processInputIdentifierstringOptional

Identifier of the orchestration process input

yamlstringRequired
Responses
200

Example response

application/json
idstringOptional
yamlstringOptional
post/releaseGroup
POST /api/releaseGroup HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 100

{
  "processGitBranch": "text",
  "processIdentifier": "text",
  "processInputIdentifier": "text",
  "yaml": "text"
}
{
  "governanceMetadata": {
    "accountId": "text",
    "action": "text",
    "created": "text",
    "deny": true,
    "details": [
      {
        "accountId": "text",
        "created": "text",
        "deny": true,
        "description": "text",
        "identifier": "text",
        "orgId": "text",
        "policyMetadata": [
          {
            "accountId": "text",
            "created": "text",
            "denyMessages": [
              "text"
            ],
            "error": "text",
            "identifier": "text",
            "orgId": "text",
            "policyId": "text",
            "policyName": "text",
            "projectId": "text",
            "severity": "text",
            "status": "text",
            "updated": "text"
          }
        ],
        "policySetId": "text",
        "policySetName": "text",
        "projectId": "text",
        "status": "text"
      }
    ],
    "entity": "text",
    "id": "text",
    "message": "text",
    "orgId": "text",
    "projectId": "text",
    "status": "text",
    "timestamp": "text",
    "type": "text"
  },
  "id": "text",
  "yaml": "text"
}

Fetch List of Release Group

get
Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

searchTermstringOptional

Optional search string to filter releases by name.

statusstring[]Optional
typestring · enumOptional

Optional release type filter (Orchestration or Tracking)

Possible values:
pageintegerOptional
sizeintegerOptional
sortstring[]Optional

Sort parameters as an array. Format: [field_name, direction] where direction is asc or desc. Supported fields: start_ts, startTs, end_ts, endTs, last_updated_at, lastUpdatedAt, created_at, createdAt, name, identifier, status, type. When used in query params, use format: sort=field_name&sort=direction (e.g., sort=start_ts&sort=desc).

Example: {"value":["created_at","asc"]}
Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

This wraps the list of all release groups along with pagination

application/json
emptybooleanRequired
firstbooleanRequired
lastbooleanRequired
numberintegerRequired
numberOfElementsintegerRequired
sizeintegerRequired
totalElementsintegerRequired
totalPagesintegerRequired
get/releaseGroup/summary
GET /api/releaseGroup/summary HTTP/1.1
Harness-Account: text
Accept: */*
{
  "content": [
    {
      "autoExecuteOnSchedule": false,
      "cadence": {
        "duration": "text",
        "endDate": "text",
        "frequency": "Daily",
        "spec": {
          "freq": "Weekly",
          "interval": 1,
          "weekdays": [
            "MO"
          ]
        },
        "startDate": "text",
        "timezone": "text"
      },
      "color": "text",
      "description": "text",
      "id": "text",
      "identifier": "text",
      "lastUpdatedAt": 1,
      "lastUpdatedBy": {
        "email": "text",
        "identifier": "text",
        "name": "text"
      },
      "name": "text",
      "processIdentifier": "text",
      "processInputIdentifier": "text",
      "releaseType": "System",
      "releaseVersion": "text",
      "tags": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      }
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 1,
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "pageNumber": 1,
    "pageSize": 1,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 1,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 1,
  "totalPages": 1
}

Get Release Group by ID

get

Retrieve details of a specific Release Group.

Path parameters
releaseGroupIdstringRequired

The ID of the release group.

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

Response for Get Release Group API

application/json
autoExecuteOnSchedulebooleanOptional

Automatically execute releases when their scheduled time arrives

Default: false
processGitBranchstringOptional

Git branch used to read the orchestration process definition for releases in this group. Empty when the process is not stored in Git.

processIdentifierstringOptional

Identifier for the orchestration process.

processInputIdentifierstringOptional

Identifier for the orchestration process input.

yamlstringRequired

YAML representation of the release group.

get/releaseGroup/{releaseGroupId}
GET /api/releaseGroup/{releaseGroupId} HTTP/1.1
Harness-Account: text
Accept: */*
{
  "autoExecuteOnSchedule": false,
  "processGitBranch": "text",
  "processIdentifier": "text",
  "processInputIdentifier": "text",
  "yaml": "text"
}

Update Release Group

put
Path parameters
releaseGroupIdstringRequired

The ID of the release group to be updated.

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
processGitBranchstringOptional

Git branch used to read the orchestration process definition for releases in this group. Omit to keep the current branch.

processIdentifierstringOptional

Identifier of the orchestration process

processInputIdentifierstringOptional

Identifier of the orchestration process input

yamlstringRequired
Responses
200

Update release group response

application/json
idstringOptional
yamlstringOptional
put/releaseGroup/{releaseGroupId}
PUT /api/releaseGroup/{releaseGroupId} HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 100

{
  "processGitBranch": "text",
  "processIdentifier": "text",
  "processInputIdentifier": "text",
  "yaml": "text"
}
{
  "governanceMetadata": {
    "accountId": "text",
    "action": "text",
    "created": "text",
    "deny": true,
    "details": [
      {
        "accountId": "text",
        "created": "text",
        "deny": true,
        "description": "text",
        "identifier": "text",
        "orgId": "text",
        "policyMetadata": [
          {
            "accountId": "text",
            "created": "text",
            "denyMessages": [
              "text"
            ],
            "error": "text",
            "identifier": "text",
            "orgId": "text",
            "policyId": "text",
            "policyName": "text",
            "projectId": "text",
            "severity": "text",
            "status": "text",
            "updated": "text"
          }
        ],
        "policySetId": "text",
        "policySetName": "text",
        "projectId": "text",
        "status": "text"
      }
    ],
    "entity": "text",
    "id": "text",
    "message": "text",
    "orgId": "text",
    "projectId": "text",
    "status": "text",
    "timestamp": "text",
    "type": "text"
  },
  "id": "text",
  "yaml": "text"
}

Delete Release Group by ID

delete

Delete a specific Release Group by its ID.

Path parameters
releaseGroupIdstringRequired

The ID of the release group to delete.

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

Response for Delete Release Group API

application/json
databooleanOptional
delete/releaseGroup/{releaseGroupId}
DELETE /api/releaseGroup/{releaseGroupId} HTTP/1.1
Harness-Account: text
Accept: */*
{
  "data": true
}

Partially Update Release Group

patch

Partially update a release group without recreating releases. Currently supports updating autoExecuteOnSchedule field.

Path parameters
releaseGroupIdstringRequired

The ID of the release group to be updated.

Query parameters
orgIdentifierstringOptional

Organisation Identifier

projectIdentifierstringOptional

Project Identifier

Header parameters
Harness-AccountstringRequired

Account Identifier

Body
autoExecuteOnSchedulebooleanOptional

Automatically execute releases when their scheduled time arrives

Default: false
Responses
200

Patch release group response

application/json
autoExecuteOnSchedulebooleanOptional
idstringRequired
patch/releaseGroup/{releaseGroupId}
PATCH /api/releaseGroup/{releaseGroupId} HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "autoExecuteOnSchedule": false
}
{
  "autoExecuteOnSchedule": true,
  "governanceMetadata": {
    "accountId": "text",
    "action": "text",
    "created": "text",
    "deny": true,
    "details": [
      {
        "accountId": "text",
        "created": "text",
        "deny": true,
        "description": "text",
        "identifier": "text",
        "orgId": "text",
        "policyMetadata": [
          {
            "accountId": "text",
            "created": "text",
            "denyMessages": [
              "text"
            ],
            "error": "text",
            "identifier": "text",
            "orgId": "text",
            "policyId": "text",
            "policyName": "text",
            "projectId": "text",
            "severity": "text",
            "status": "text",
            "updated": "text"
          }
        ],
        "policySetId": "text",
        "policySetName": "text",
        "projectId": "text",
        "status": "text"
      }
    ],
    "entity": "text",
    "id": "text",
    "message": "text",
    "orgId": "text",
    "projectId": "text",
    "status": "text",
    "timestamp": "text",
    "type": "text"
  },
  "id": "text"
}

Get Component Details for a given releaseGroupId

get
Path parameters
releaseGroupIdstringRequired
Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

This wraps the components that are tied to a release

application/json
get/releaseGroup/{releaseGroupId}/components
GET /api/releaseGroup/{releaseGroupId}/components HTTP/1.1
Harness-Account: text
Accept: */*
{
  "components": [
    {
      "environments": {
        "filterType": "Equals",
        "refs": [
          "text"
        ]
      },
      "orgIdentifier": "text",
      "pipelines": {
        "filterType": "Equals",
        "refs": [
          "text"
        ]
      },
      "projectIdentifier": "text",
      "services": {
        "filterType": "Equals",
        "refs": [
          "text"
        ]
      }
    }
  ]
}

Fetch Release Conflicts

get

Fetch a paginated list of release conflicts for a release group with optional status filtering

Path parameters
releaseGroupIdstringRequired

ID of the release group

Query parameters
conflictStatusstring[]Optional
pageintegerOptional
sizeintegerOptional
sortstring[]Optional

Sort parameters as an array. Format: [field_name, direction] where direction is asc or desc. Supported fields: start_ts, startTs, end_ts, endTs, last_updated_at, lastUpdatedAt, created_at, createdAt, name, identifier, status, type. When used in query params, use format: sort=field_name&sort=direction (e.g., sort=start_ts&sort=desc).

Example: {"value":["created_at","asc"]}
Header parameters
Harness-AccountstringRequired

Account Identifier

Responses
200

Example response

application/json
emptybooleanRequired
firstbooleanRequired
lastbooleanRequired
numberintegerRequired
numberOfElementsintegerRequired
sizeintegerRequired
totalElementsintegerRequired
totalPagesintegerRequired
get/releaseGroup/{releaseGroupId}/conflicts
GET /api/releaseGroup/{releaseGroupId}/conflicts HTTP/1.1
Harness-Account: text
Accept: */*
{
  "content": [
    {
      "comment": "text",
      "conflictResolvedAt": 1,
      "conflictResolvedBy": {
        "email": "text",
        "identifier": "text"
      },
      "createdAt": 1,
      "endTs": 1,
      "executionStatus": "ABORTED",
      "lastUpdatedAt": 1,
      "orgIdentifier": "text",
      "pipelineIdentifier": "text",
      "pipelineName": "text",
      "planExecutionId": "text",
      "projectIdentifier": "text",
      "releaseInfoList": [
        {
          "recommended": true,
          "releaseGroupId": "text",
          "releaseId": "text",
          "releaseName": "text",
          "version": "text"
        }
      ],
      "runSequenceId": 1,
      "startTs": 1,
      "status": "Conflict",
      "triggerType": "MANUAL",
      "triggeredBy": {
        "avatar": "text",
        "email": "text",
        "id": "text",
        "name": "text",
        "triggerType": "MANUAL"
      },
      "type": "System"
    }
  ],
  "empty": true,
  "first": true,
  "last": true,
  "number": 1,
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "pageNumber": 1,
    "pageSize": 1,
    "paged": true,
    "sort": {
      "empty": true,
      "sorted": true,
      "unsorted": true
    },
    "unpaged": true
  },
  "size": 1,
  "sort": {
    "empty": true,
    "sorted": true,
    "unsorted": true
  },
  "totalElements": 1,
  "totalPages": 1
}

Last updated

Was this helpful?