Release Groups [Beta]
Create a new Release Group.
Organisation Identifier
Project Identifier
Account Identifier
Git branch used to read the orchestration process definition for releases in this group. Required when the process is stored in Git.
Identifier of the orchestration process
Identifier of the orchestration process input
Example response
Error Response body
Error Response body
Error Response body
Error Response body
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"
}Organisation Identifier
Project Identifier
Optional search string to filter releases by name.
Optional release type filter (Orchestration or Tracking)
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).
{"value":["created_at","asc"]}Account Identifier
This wraps the list of all release groups along with pagination
Error Response body
Error Response body
Error Response body
Error Response body
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
}Retrieve details of a specific Release Group.
The ID of the release group.
Organisation Identifier
Project Identifier
Account Identifier
Response for Get Release Group API
Automatically execute releases when their scheduled time arrives
falseGit branch used to read the orchestration process definition for releases in this group. Empty when the process is not stored in Git.
Identifier for the orchestration process.
Identifier for the orchestration process input.
YAML representation of the release group.
Error Response body
Error Response body
Error Response body
Error Response body
GET /api/releaseGroup/{releaseGroupId} HTTP/1.1
Harness-Account: text
Accept: */*
{
"autoExecuteOnSchedule": false,
"processGitBranch": "text",
"processIdentifier": "text",
"processInputIdentifier": "text",
"yaml": "text"
}The ID of the release group to be updated.
Organisation Identifier
Project Identifier
Account Identifier
Git branch used to read the orchestration process definition for releases in this group. Omit to keep the current branch.
Identifier of the orchestration process
Identifier of the orchestration process input
Update release group response
Error Response body
Error Response body
Error Response body
Error Response body
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 a specific Release Group by its ID.
The ID of the release group to delete.
Organisation Identifier
Project Identifier
Account Identifier
Response for Delete Release Group API
Error Response body
Error Response body
Error Response body
Error Response body
DELETE /api/releaseGroup/{releaseGroupId} HTTP/1.1
Harness-Account: text
Accept: */*
{
"data": true
}Partially update a release group without recreating releases. Currently supports updating autoExecuteOnSchedule field.
The ID of the release group to be updated.
Organisation Identifier
Project Identifier
Account Identifier
Automatically execute releases when their scheduled time arrives
falsePatch release group response
Error Response body
Error Response body
Error Response body
Error Response body
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"
}Account Identifier
This wraps the components that are tied to a release
Error Response body
Error Response body
Error Response body
Error Response body
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 a paginated list of release conflicts for a release group with optional status filtering
ID of the release group
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).
{"value":["created_at","asc"]}Account Identifier
Example response
Error Response body
Error Response body
Error Response body
Error Response body
Error Response body
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?