Process Executions
Retrieve a process execution by ID, including persisted execution status.
Process execution ID (from execute response or execution history)
Organisation Identifier
Project Identifier
Account Identifier
Process execution retrieved successfully
Response for GET /orchestration/process/execution/{executionId}.
Process YAML snapshot persisted at execution start (includes runtime UUIDs)
Error Response body
Error Response body
Error Response body
Error Response body
GET /api/orchestration/process/execution/{executionId} HTTP/1.1
Harness-Account: text
Accept: */*
{
"executionInfo": {
"accountIdentifier": "text",
"executionId": "text",
"executionType": "RELEASE",
"orgIdentifier": "text",
"processIdentifier": "text",
"projectIdentifier": "text",
"startTs": 1,
"status": "Running",
"triggeredBy": {
"avatar": "text",
"email": "text",
"id": "text",
"name": "text",
"triggerType": "MANUAL"
}
},
"yaml": "text"
}Retrieve the latest release input YAML for a process-on-the-go execution by slug ID.
Process execution slug ID (from execute response or execution history)
Organisation Identifier
Project Identifier
Account Identifier
Process execution input retrieved successfully
Response for GET /orchestration/process/execution/{executionId}/Input.
Process execution slug ID
YAML content of the process execution input
Error Response body
Error Response body
Error Response body
Error Response body
GET /api/orchestration/process/execution/{executionId}/Input HTTP/1.1
Harness-Account: text
Accept: */*
{
"process_execution_id": "text",
"yaml": "text"
}Execute an action on a process execution. Currently only Abort is supported.
Process execution ID (from execute response or execution history)
Organisation Identifier
Project Identifier
Account Identifier
Action to perform on the process execution
Message explaining the reason for the action (e.g., why the process execution is being aborted)
Production issue detected - aborting process executionAction executed successfully
Result status
Error Response body
Error Response body
Error Response body
Error Response body
POST /api/orchestration/process/execution/{executionId}/action HTTP/1.1
Harness-Account: text
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"action": "Abort",
"message": "Production issue detected - aborting process execution"
}{
"status": "text"
}Retrieve paginated list of activities for a process execution.
Process execution ID (from execute response or execution history)
Organisation Identifier
Project Identifier
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"]}Search term to filter activities
Filter by phase execution ID
Filter activities by status
Account Identifier
Paginated orchestration execution activities
Whether the current page is empty
Whether this is the first page
Whether this is the last page
Current page number (0-indexed)
Number of items in the current page
Number of items per page
Total number of activities across all pages
Total number of pages
Error Response body
Error Response body
Error Response body
Error Response body
GET /api/orchestration/process/execution/{executionId}/activity/list HTTP/1.1
Harness-Account: text
Accept: */*
{
"content": [
{
"activityExecutionId": "text",
"endTs": 1,
"failureInfo": {
"code": "text",
"msg": "text"
},
"group_type": "SINGLE",
"identifier": "text",
"manual": {
"taskCount": 1
},
"name": "text",
"phaseExecutionId": "text",
"phaseIdentifier": "text",
"phaseName": "text",
"pipeline": {
"executionId": "text",
"identifier": "text"
},
"processExecutionId": "text",
"retryId": "text",
"retryIndex": 1,
"rootReleaseId": "text",
"startTs": 1,
"status": "SCHEDULED",
"subprocess": {
"identifier": "text",
"releaseId": "text"
},
"triggerInfo": {
"email": "text",
"identifier": "text",
"name": "text"
},
"type": "PIPELINE"
}
],
"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 all activities for a specific process execution and phase.
Process execution ID or slug (from execute response or execution history)
The identifier of the phase
The ID of the phase execution
The activity execution ID of the parent (loop container) to fetch child iterations for
Filter activities by status
Organisation Identifier
Project Identifier
Account Identifier
Orchestration execution phase activities for graph view
ID of the phase execution
ID or slug of the process execution
ID of the release
Total number of currently running activities
Error Response body
Error Response body
Error Response body
Error Response body
GET /api/orchestration/process/execution/{executionId}/phase/{phaseIdentifier}/activities HTTP/1.1
Harness-Account: text
Accept: */*
{
"activities": [
{
"activity_execution_id": "text",
"depends_on": [
"text"
],
"description": "text",
"end_ts": 1,
"failureInfo": {
"code": "text",
"msg": "text"
},
"group_type": "SINGLE",
"identifier": "text",
"name": "text",
"pipeline": {
"executionId": "text",
"identifier": "text"
},
"retry_index": 1,
"start_ts": 1,
"status": "SCHEDULED",
"subprocess": {
"identifier": "text",
"releaseId": "text"
},
"yaml": "text"
}
],
"phase_execution_id": "text",
"process_execution_id": "text",
"release_id": "text",
"total_running_activities": 1
}Retrieve all phases for a specific process execution.
Process execution ID (from execute response or execution history)
Filter phases by status (can specify multiple statuses)
The phase execution ID of the parent (loop container) to fetch child iterations for
Organisation Identifier
Project Identifier
Account Identifier
Successfully retrieved phases
Response containing phases for a release or process execution
ID of the process execution
ID of the release or process execution
Total number of currently running phases
Error Response body
Error Response body
Error Response body
Error Response body
GET /api/orchestration/process/execution/{executionId}/phases HTTP/1.1
Harness-Account: text
Accept: */*
{
"phases": [
{
"activityCounts": {
"manual": {
"running": 0,
"userAction": 0
},
"pipeline": {
"running": 0,
"userAction": 0
},
"subprocess": {
"running": 0,
"userAction": 0
}
},
"completed_activities": 1,
"depends_on": [
"text"
],
"description": "text",
"end_ts": 1,
"failureInfo": {
"code": "text",
"msg": "text"
},
"group_type": "SINGLE",
"identifier": "text",
"is_restartable": true,
"name": "text",
"owners": [
"text"
],
"parent_execution_id": "text",
"phase_execution_id": "text",
"retry_index": 1,
"start_ts": 1,
"status": "SCHEDULED",
"total_activities": 1
}
],
"process_execution_id": "text",
"release_id": "text",
"total_running_phases": 1
}Last updated
Was this helpful?