> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/release-orchestration/api-reference/process-executions.md).

# Process Executions

## Get Process Execution

> Retrieve a process execution by ID, including persisted execution status.

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[],"servers":[{"url":"/api"}],"paths":{"/orchestration/process/execution/{executionId}":{"get":{"description":"Retrieve a process execution by ID, including persisted execution status.","operationId":"GetProcessExecution","parameters":[{"description":"Process execution ID (from execute response or execution history)","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/GetProcessExecutionResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Process Execution","tags":["Process Executions"]}}},"components":{"parameters":{"AccountParam":{"description":"Account Identifier","in":"header","name":"Harness-Account","required":true,"schema":{"type":"string"}},"OrgParam":{"description":"Organisation Identifier","in":"query","name":"orgIdentifier","schema":{"type":"string"}},"ProjectParam":{"description":"Project Identifier","in":"query","name":"projectIdentifier","schema":{"type":"string"}}},"responses":{"GetProcessExecutionResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessExecutionDetailsResponse"}}},"description":"Process execution retrieved successfully"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"ProcessExecutionDetailsResponse":{"description":"Response for GET /orchestration/process/execution/{executionId}.","properties":{"executionInfo":{"$ref":"#/components/schemas/ProcessExecutionInfoDTO"},"yaml":{"description":"Process YAML snapshot persisted at execution start (includes runtime UUIDs)","type":"string"}},"required":["executionInfo","yaml"],"title":"ProcessExecutionDetailsResponse","type":"object"},"ProcessExecutionInfoDTO":{"description":"Summary metadata for a single process execution (GET /orchestration/process/execution/{executionId}).","properties":{"accountIdentifier":{"type":"string"},"executionId":{"description":"Navigation ID — process execution slug for PROCESS runs, release slug for RELEASE runs","type":"string"},"executionType":{"enum":["RELEASE","PROCESS"],"type":"string"},"orgIdentifier":{"type":"string"},"processIdentifier":{"description":"Identifier of the orchestration process","type":"string"},"projectIdentifier":{"type":"string"},"startTs":{"description":"Execution start timestamp in milliseconds","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/ProcessExecutionStatus"},"triggeredBy":{"$ref":"#/components/schemas/TriggeredByDTO"}},"required":["startTs","executionId","processIdentifier","status","orgIdentifier","projectIdentifier","accountIdentifier","executionType"],"title":"ProcessExecutionInfoDTO","type":"object"},"ProcessExecutionStatus":{"description":"Release-style execution status","enum":["Running","Success","Failed","Scheduled","Paused","Aborted","InputWaiting"],"title":"ProcessExecutionStatus","type":"string"},"TriggeredByDTO":{"description":"Details of the user who triggered the activity.","properties":{"avatar":{"description":"Avatar URL of the person.","type":"string"},"email":{"description":"Email of the person who triggered the activity.","type":"string"},"id":{"description":"Identifier of the person who triggered the activity.","type":"string"},"name":{"description":"Name of the person who triggered the activity.","type":"string"},"triggerType":{"$ref":"#/components/schemas/TriggerType"}},"type":"object"},"TriggerType":{"description":"Unit of time used for repeating releases.","enum":["MANUAL","WEBHOOK","WEBHOOK_CUSTOM","ARTIFACT","MANIFEST","SCHEDULER_CRON"],"type":"string"},"Error":{"description":"Error Response","properties":{"code":{"description":"canonical error code name","enum":["BAD_REQUEST","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","INTERNAL_SERVER_ERROR"],"type":"string"},"explanation":{"description":"additional context about why the error occurred","type":"string"},"governanceMetadata":{"$ref":"#/components/schemas/GovernanceMetadata"},"message":{"description":"error message detail","type":"string"},"probable_fixes":{"description":"suggested actions to resolve the error","items":{"type":"string"},"type":"array"}},"required":["message"],"title":"Error Response","type":"object"},"GovernanceMetadata":{"properties":{"accountId":{"type":"string"},"action":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"details":{"items":{"$ref":"#/components/schemas/PolicySetMetadata"},"type":"array"},"entity":{"type":"string"},"id":{"type":"string"},"message":{"type":"string"},"orgId":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"},"type":{"type":"string"}},"type":"object"},"PolicySetMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"description":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyMetadata":{"items":{"$ref":"#/components/schemas/PolicyMetadata"},"type":"array"},"policySetId":{"type":"string"},"policySetName":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"}},"type":"object"},"PolicyMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"denyMessages":{"items":{"type":"string"},"type":"array"},"error":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyId":{"type":"string"},"policyName":{"type":"string"},"projectId":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"updated":{"type":"string"}},"type":"object"}}}}
```

## Get Latest Process Execution Input by Slug ID

> Retrieve the latest release input YAML for a process-on-the-go execution by slug ID.

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[],"servers":[{"url":"/api"}],"paths":{"/orchestration/process/execution/{executionId}/Input":{"get":{"description":"Retrieve the latest release input YAML for a process-on-the-go execution by slug ID.","operationId":"GetProcessExecutionInput","parameters":[{"description":"Process execution slug ID (from execute response or execution history)","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/GetProcessExecutionInputResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Latest Process Execution Input by Slug ID","tags":["Process Executions"]}}},"components":{"parameters":{"AccountParam":{"description":"Account Identifier","in":"header","name":"Harness-Account","required":true,"schema":{"type":"string"}},"OrgParam":{"description":"Organisation Identifier","in":"query","name":"orgIdentifier","schema":{"type":"string"}},"ProjectParam":{"description":"Project Identifier","in":"query","name":"projectIdentifier","schema":{"type":"string"}}},"responses":{"GetProcessExecutionInputResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessExecutionInputResponse"}}},"description":"Process execution input retrieved successfully"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"ProcessExecutionInputResponse":{"description":"Response for GET /orchestration/process/execution/{executionId}/Input.","properties":{"process_execution_id":{"description":"Process execution slug ID","type":"string"},"yaml":{"description":"YAML content of the process execution input","type":"string"}},"required":["process_execution_id","yaml"],"title":"ProcessExecutionInputResponse","type":"object"},"Error":{"description":"Error Response","properties":{"code":{"description":"canonical error code name","enum":["BAD_REQUEST","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","INTERNAL_SERVER_ERROR"],"type":"string"},"explanation":{"description":"additional context about why the error occurred","type":"string"},"governanceMetadata":{"$ref":"#/components/schemas/GovernanceMetadata"},"message":{"description":"error message detail","type":"string"},"probable_fixes":{"description":"suggested actions to resolve the error","items":{"type":"string"},"type":"array"}},"required":["message"],"title":"Error Response","type":"object"},"GovernanceMetadata":{"properties":{"accountId":{"type":"string"},"action":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"details":{"items":{"$ref":"#/components/schemas/PolicySetMetadata"},"type":"array"},"entity":{"type":"string"},"id":{"type":"string"},"message":{"type":"string"},"orgId":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"},"type":{"type":"string"}},"type":"object"},"PolicySetMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"description":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyMetadata":{"items":{"$ref":"#/components/schemas/PolicyMetadata"},"type":"array"},"policySetId":{"type":"string"},"policySetName":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"}},"type":"object"},"PolicyMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"denyMessages":{"items":{"type":"string"},"type":"array"},"error":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyId":{"type":"string"},"policyName":{"type":"string"},"projectId":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"updated":{"type":"string"}},"type":"object"}}}}
```

## Execute Action on Process Execution

> Execute an action on a process execution. Currently only Abort is supported.

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[],"servers":[{"url":"/api"}],"paths":{"/orchestration/process/execution/{executionId}/action":{"post":{"description":"Execute an action on a process execution. Currently only Abort is supported.","operationId":"PostProcessExecutionAction","parameters":[{"description":"Process execution ID (from execute response or execution history)","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcessExecutionActionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"description":"Result status","type":"string"}},"type":"object"}}},"description":"Action executed successfully"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Execute Action on Process Execution","tags":["Process Executions"]}}},"components":{"parameters":{"AccountParam":{"description":"Account Identifier","in":"header","name":"Harness-Account","required":true,"schema":{"type":"string"}},"OrgParam":{"description":"Organisation Identifier","in":"query","name":"orgIdentifier","schema":{"type":"string"}},"ProjectParam":{"description":"Project Identifier","in":"query","name":"projectIdentifier","schema":{"type":"string"}}},"schemas":{"ProcessExecutionActionRequest":{"properties":{"action":{"description":"Action to perform on the process execution","enum":["Abort"],"type":"string"},"message":{"description":"Message explaining the reason for the action (e.g., why the process execution is being aborted)","type":"string"}},"required":["action","message"],"title":"ProcessExecutionActionRequest","type":"object"},"Error":{"description":"Error Response","properties":{"code":{"description":"canonical error code name","enum":["BAD_REQUEST","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","INTERNAL_SERVER_ERROR"],"type":"string"},"explanation":{"description":"additional context about why the error occurred","type":"string"},"governanceMetadata":{"$ref":"#/components/schemas/GovernanceMetadata"},"message":{"description":"error message detail","type":"string"},"probable_fixes":{"description":"suggested actions to resolve the error","items":{"type":"string"},"type":"array"}},"required":["message"],"title":"Error Response","type":"object"},"GovernanceMetadata":{"properties":{"accountId":{"type":"string"},"action":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"details":{"items":{"$ref":"#/components/schemas/PolicySetMetadata"},"type":"array"},"entity":{"type":"string"},"id":{"type":"string"},"message":{"type":"string"},"orgId":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"},"type":{"type":"string"}},"type":"object"},"PolicySetMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"description":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyMetadata":{"items":{"$ref":"#/components/schemas/PolicyMetadata"},"type":"array"},"policySetId":{"type":"string"},"policySetName":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"}},"type":"object"},"PolicyMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"denyMessages":{"items":{"type":"string"},"type":"array"},"error":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyId":{"type":"string"},"policyName":{"type":"string"},"projectId":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"updated":{"type":"string"}},"type":"object"}},"responses":{"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}}}}
```

## Get Process Execution Activities (Paginated)

> Retrieve paginated list of activities for a process execution.

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[],"servers":[{"url":"/api"}],"paths":{"/orchestration/process/execution/{executionId}/activity/list":{"get":{"description":"Retrieve paginated list of activities for a process execution.","operationId":"GetProcessExecutionActivitiesPaginated","parameters":[{"description":"Process execution ID (from execute response or execution history)","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/Size"},{"$ref":"#/components/parameters/Sort"},{"description":"Search term to filter activities","in":"query","name":"searchTerm","schema":{"type":"string"}},{"description":"Filter by phase execution ID","in":"query","name":"phaseExecutionId","schema":{"type":"string"}},{"description":"Filter activities by status","in":"query","name":"status","schema":{"items":{"type":"string"},"type":"array"}}],"responses":{"200":{"$ref":"#/components/responses/OrchestrationExecutionActivitiesPaginatedResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Process Execution Activities (Paginated)","tags":["Process Executions"]}}},"components":{"parameters":{"AccountParam":{"description":"Account Identifier","in":"header","name":"Harness-Account","required":true,"schema":{"type":"string"}},"OrgParam":{"description":"Organisation Identifier","in":"query","name":"orgIdentifier","schema":{"type":"string"}},"ProjectParam":{"description":"Project Identifier","in":"query","name":"projectIdentifier","schema":{"type":"string"}},"Page":{"in":"query","name":"page","schema":{"type":"integer"}},"Size":{"in":"query","name":"size","schema":{"type":"integer"}},"Sort":{"description":"Sort parameters as an array. Format: `[field_name, direction]` where direction is `asc` or `desc`.\nSupported fields: `start_ts`, `startTs`, `end_ts`, `endTs`, `last_updated_at`, `lastUpdatedAt`, `created_at`, `createdAt`, `name`, `identifier`, `status`, `type`.\nWhen used in query params, use format: `sort=field_name&sort=direction` (e.g., `sort=start_ts&sort=desc`).\n","in":"query","name":"sort","schema":{"items":{"type":"string"},"type":"array"}}},"responses":{"OrchestrationExecutionActivitiesPaginatedResponse":{"content":{"application/json":{"schema":{"properties":{"content":{"items":{"$ref":"#/components/schemas/OrchestrationExecutionActivityPaginated"},"type":"array"},"empty":{"description":"Whether the current page is empty","type":"boolean"},"first":{"description":"Whether this is the first page","type":"boolean"},"last":{"description":"Whether this is the last page","type":"boolean"},"number":{"description":"Current page number (0-indexed)","type":"integer"},"numberOfElements":{"description":"Number of items in the current page","type":"integer"},"pageable":{"$ref":"#/components/schemas/Pageable"},"size":{"description":"Number of items per page","type":"integer"},"sort":{"$ref":"#/components/schemas/PageableSort"},"totalElements":{"description":"Total number of activities across all pages","type":"integer"},"totalPages":{"description":"Total number of pages","type":"integer"}},"required":["content","totalPages","totalElements","size","number","numberOfElements","first","last","empty"],"type":"object"}}},"description":"Paginated orchestration execution activities"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"OrchestrationExecutionActivityPaginated":{"description":"Represents an activity in the paginated orchestration execution activities response","properties":{"activityExecutionId":{"description":"Activity execution ID","nullable":true,"type":"string"},"endTs":{"description":"End timestamp in milliseconds","format":"int64","nullable":true,"type":"integer"},"failureInfo":{"$ref":"#/components/schemas/FailureInfo"},"group_type":{"description":"Whether this activity is a single execution or a loop container","enum":["SINGLE","LOOP"],"type":"string"},"identifier":{"description":"Unique identifier of the activity","type":"string"},"manual":{"$ref":"#/components/schemas/ManualActivityInfo"},"name":{"description":"Name of the activity","type":"string"},"phaseExecutionId":{"description":"Phase execution ID","type":"string"},"phaseIdentifier":{"description":"Identifier of the phase this activity belongs to","type":"string"},"phaseName":{"description":"Name of the phase this activity belongs to","type":"string"},"pipeline":{"$ref":"#/components/schemas/PipelineActivityInfo"},"processExecutionId":{"description":"Process execution ID","type":"string"},"retryId":{"description":"Retry ID","nullable":true,"type":"string"},"retryIndex":{"description":"Retry index if this is a retry","format":"int32","nullable":true,"type":"integer"},"rootReleaseId":{"description":"Root release ID for this activity (used to group activities from child releases)","type":"string"},"startTs":{"description":"Start timestamp in milliseconds","format":"int64","nullable":true,"type":"integer"},"status":{"$ref":"#/components/schemas/OrchestrationStatus"},"subprocess":{"$ref":"#/components/schemas/SubprocessActivityInfo"},"triggerInfo":{"$ref":"#/components/schemas/ActivityTriggerInfo"},"type":{"description":"Type of the activity","enum":["PIPELINE","SUBPROCESS","MANUAL"],"type":"string"}},"required":["identifier","name","status","phaseIdentifier","phaseName","rootReleaseId","type","phaseExecutionId","processExecutionId"],"type":"object"},"FailureInfo":{"description":"Information about a failure that occurred","properties":{"code":{"description":"The failure code indicating the type of failure","type":"string"},"msg":{"description":"The failure message describing what went wrong","type":"string"}},"required":["msg"],"type":"object"},"ManualActivityInfo":{"description":"Manual activity execution information","properties":{"taskCount":{"description":"Total number of tasks in this manual activity","format":"int32","nullable":true,"type":"integer"}},"type":"object"},"PipelineActivityInfo":{"description":"Pipeline execution information for activities","properties":{"executionId":{"description":"ID of the pipeline execution","type":"string"},"identifier":{"description":"Pipeline identifier for PIPELINE type activities in format org/project/pipelineIdentifier","type":"string"}},"required":["executionId","identifier"],"type":"object"},"OrchestrationStatus":{"description":"Status of orchestration execution activities","enum":["SCHEDULED","RUNNING","OUTPUT_WAITING","SUCCEEDED","FAILED","ABORTED","ON_HOLD","RETRIED","IGNORED","SKIPPED","QUEUED","PAUSED","PIPELINE_WAITING_FOR_USER_ACTION"],"type":"string"},"SubprocessActivityInfo":{"description":"Subprocess execution information for activities","properties":{"identifier":{"description":"Process identifier for SUBPROCESS type activities","type":"string"},"releaseId":{"description":"ID of the subprocess release","type":"string"}},"required":["releaseId","identifier"],"type":"object"},"ActivityTriggerInfo":{"description":"Trigger information for an activity","properties":{"email":{"description":"Email of the person who triggered the activity","nullable":true,"type":"string"},"identifier":{"description":"Identifier of the person who triggered the activity","nullable":true,"type":"string"},"name":{"description":"Name of the person who triggered the activity","nullable":true,"type":"string"}},"type":"object"},"Pageable":{"properties":{"offset":{"type":"integer"},"pageNumber":{"type":"integer"},"pageSize":{"type":"integer"},"paged":{"type":"boolean"},"sort":{"$ref":"#/components/schemas/PageableSort"},"unpaged":{"type":"boolean"}},"type":"object"},"PageableSort":{"properties":{"empty":{"type":"boolean"},"sorted":{"type":"boolean"},"unsorted":{"type":"boolean"}},"type":"object"},"Error":{"description":"Error Response","properties":{"code":{"description":"canonical error code name","enum":["BAD_REQUEST","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","INTERNAL_SERVER_ERROR"],"type":"string"},"explanation":{"description":"additional context about why the error occurred","type":"string"},"governanceMetadata":{"$ref":"#/components/schemas/GovernanceMetadata"},"message":{"description":"error message detail","type":"string"},"probable_fixes":{"description":"suggested actions to resolve the error","items":{"type":"string"},"type":"array"}},"required":["message"],"title":"Error Response","type":"object"},"GovernanceMetadata":{"properties":{"accountId":{"type":"string"},"action":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"details":{"items":{"$ref":"#/components/schemas/PolicySetMetadata"},"type":"array"},"entity":{"type":"string"},"id":{"type":"string"},"message":{"type":"string"},"orgId":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"},"type":{"type":"string"}},"type":"object"},"PolicySetMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"description":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyMetadata":{"items":{"$ref":"#/components/schemas/PolicyMetadata"},"type":"array"},"policySetId":{"type":"string"},"policySetName":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"}},"type":"object"},"PolicyMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"denyMessages":{"items":{"type":"string"},"type":"array"},"error":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyId":{"type":"string"},"policyName":{"type":"string"},"projectId":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"updated":{"type":"string"}},"type":"object"}}}}
```

## Get Process Execution Activities by Phase

> Retrieve all activities for a specific process execution and phase.

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[],"servers":[{"url":"/api"}],"paths":{"/orchestration/process/execution/{executionId}/phase/{phaseIdentifier}/activities":{"get":{"description":"Retrieve all activities for a specific process execution and phase.","operationId":"GetProcessExecutionActivities","parameters":[{"description":"Process execution ID or slug (from execute response or execution history)","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"The identifier of the phase","in":"path","name":"phaseIdentifier","required":true,"schema":{"type":"string"}},{"description":"The ID of the phase execution","in":"query","name":"phaseExecutionId","schema":{"type":"string"}},{"description":"The activity execution ID of the parent (loop container) to fetch child iterations for","in":"query","name":"parentExecutionId","schema":{"type":"string"}},{"description":"Filter activities by status","in":"query","name":"status","schema":{"items":{"type":"string"},"type":"array"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/OrchestrationExecutionActivitiesResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Process Execution Activities by Phase","tags":["Process Executions"]}}},"components":{"parameters":{"AccountParam":{"description":"Account Identifier","in":"header","name":"Harness-Account","required":true,"schema":{"type":"string"}},"OrgParam":{"description":"Organisation Identifier","in":"query","name":"orgIdentifier","schema":{"type":"string"}},"ProjectParam":{"description":"Project Identifier","in":"query","name":"projectIdentifier","schema":{"type":"string"}}},"responses":{"OrchestrationExecutionActivitiesResponse":{"content":{"application/json":{"schema":{"properties":{"activities":{"items":{"$ref":"#/components/schemas/OrchestrationExecutionActivity"},"type":"array"},"phase_execution_id":{"description":"ID of the phase execution","type":"string"},"process_execution_id":{"description":"ID or slug of the process execution","type":"string"},"release_id":{"description":"ID of the release","type":"string"},"total_running_activities":{"description":"Total number of currently running activities","type":"integer"}},"required":["activities","total_running_activities"],"type":"object"}}},"description":"Orchestration execution phase activities for graph view"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"OrchestrationExecutionActivity":{"description":"Represents an activity in the orchestration execution","properties":{"activity_execution_id":{"description":"ID of the activity execution","type":"string"},"depends_on":{"description":"List of activity identifiers this activity depends on","items":{"type":"string"},"type":"array"},"description":{"description":"Description of the activity","type":"string"},"end_ts":{"description":"End timestamp in milliseconds","format":"int64","type":"integer"},"failureInfo":{"$ref":"#/components/schemas/FailureInfo"},"group_type":{"description":"Whether this activity is a single execution or a loop container","enum":["SINGLE","LOOP"],"type":"string"},"identifier":{"description":"Identifier of the activity","type":"string"},"name":{"description":"Name of the activity","type":"string"},"pipeline":{"$ref":"#/components/schemas/PipelineActivityInfo"},"retry_index":{"description":"Retry index of the activity execution","format":"int32","type":"integer"},"start_ts":{"description":"Start timestamp in milliseconds","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/OrchestrationStatus"},"subprocess":{"$ref":"#/components/schemas/SubprocessActivityInfo"},"yaml":{"description":"YAML configuration of the activity","type":"string"}},"required":["identifier","name","status","yaml","depends_on"],"type":"object"},"FailureInfo":{"description":"Information about a failure that occurred","properties":{"code":{"description":"The failure code indicating the type of failure","type":"string"},"msg":{"description":"The failure message describing what went wrong","type":"string"}},"required":["msg"],"type":"object"},"PipelineActivityInfo":{"description":"Pipeline execution information for activities","properties":{"executionId":{"description":"ID of the pipeline execution","type":"string"},"identifier":{"description":"Pipeline identifier for PIPELINE type activities in format org/project/pipelineIdentifier","type":"string"}},"required":["executionId","identifier"],"type":"object"},"OrchestrationStatus":{"description":"Status of orchestration execution activities","enum":["SCHEDULED","RUNNING","OUTPUT_WAITING","SUCCEEDED","FAILED","ABORTED","ON_HOLD","RETRIED","IGNORED","SKIPPED","QUEUED","PAUSED","PIPELINE_WAITING_FOR_USER_ACTION"],"type":"string"},"SubprocessActivityInfo":{"description":"Subprocess execution information for activities","properties":{"identifier":{"description":"Process identifier for SUBPROCESS type activities","type":"string"},"releaseId":{"description":"ID of the subprocess release","type":"string"}},"required":["releaseId","identifier"],"type":"object"},"Error":{"description":"Error Response","properties":{"code":{"description":"canonical error code name","enum":["BAD_REQUEST","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","INTERNAL_SERVER_ERROR"],"type":"string"},"explanation":{"description":"additional context about why the error occurred","type":"string"},"governanceMetadata":{"$ref":"#/components/schemas/GovernanceMetadata"},"message":{"description":"error message detail","type":"string"},"probable_fixes":{"description":"suggested actions to resolve the error","items":{"type":"string"},"type":"array"}},"required":["message"],"title":"Error Response","type":"object"},"GovernanceMetadata":{"properties":{"accountId":{"type":"string"},"action":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"details":{"items":{"$ref":"#/components/schemas/PolicySetMetadata"},"type":"array"},"entity":{"type":"string"},"id":{"type":"string"},"message":{"type":"string"},"orgId":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"},"type":{"type":"string"}},"type":"object"},"PolicySetMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"description":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyMetadata":{"items":{"$ref":"#/components/schemas/PolicyMetadata"},"type":"array"},"policySetId":{"type":"string"},"policySetName":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"}},"type":"object"},"PolicyMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"denyMessages":{"items":{"type":"string"},"type":"array"},"error":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyId":{"type":"string"},"policyName":{"type":"string"},"projectId":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"updated":{"type":"string"}},"type":"object"}}}}
```

## Get Process Execution Phases

> Retrieve all phases for a specific process execution.

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[],"servers":[{"url":"/api"}],"paths":{"/orchestration/process/execution/{executionId}/phases":{"get":{"description":"Retrieve all phases for a specific process execution.","operationId":"GetProcessExecutionPhases","parameters":[{"description":"Process execution ID (from execute response or execution history)","in":"path","name":"executionId","required":true,"schema":{"type":"string"}},{"description":"Filter phases by status (can specify multiple statuses)","in":"query","name":"status","schema":{"items":{"type":"string"},"type":"array"}},{"description":"The phase execution ID of the parent (loop container) to fetch child iterations for","in":"query","name":"parentExecutionId","schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrchestrationExecutionPhasesResponse"}}},"description":"Successfully retrieved phases"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Process Execution Phases","tags":["Process Executions"]}}},"components":{"parameters":{"AccountParam":{"description":"Account Identifier","in":"header","name":"Harness-Account","required":true,"schema":{"type":"string"}},"OrgParam":{"description":"Organisation Identifier","in":"query","name":"orgIdentifier","schema":{"type":"string"}},"ProjectParam":{"description":"Project Identifier","in":"query","name":"projectIdentifier","schema":{"type":"string"}}},"schemas":{"OrchestrationExecutionPhasesResponse":{"description":"Response containing phases for a release or process execution","properties":{"phases":{"items":{"$ref":"#/components/schemas/OrchestrationExecutionPhase"},"type":"array"},"process_execution_id":{"description":"ID of the process execution","type":"string"},"release_id":{"description":"ID of the release or process execution","type":"string"},"total_running_phases":{"description":"Total number of currently running phases","type":"integer"}},"required":["release_id","phases","total_running_phases"],"type":"object"},"OrchestrationExecutionPhase":{"description":"Represents a phase in the orchestration execution","properties":{"activityCounts":{"$ref":"#/components/schemas/ActivityCounts"},"completed_activities":{"description":"Number of completed activities in the phase","type":"integer"},"depends_on":{"description":"List of phase identifiers this phase depends on","items":{"type":"string"},"type":"array"},"description":{"description":"Description of the phase","type":"string"},"end_ts":{"description":"End timestamp in milliseconds","format":"int64","type":"integer"},"failureInfo":{"$ref":"#/components/schemas/FailureInfo"},"group_type":{"description":"Whether this phase is a single execution or a loop container","enum":["SINGLE","LOOP"],"type":"string"},"identifier":{"description":"Unique identifier of the phase","type":"string"},"is_restartable":{"description":"Whether the phase is configured as restartable (the `restart` key is present in the phase YAML)","type":"boolean"},"name":{"description":"Name of the phase","type":"string"},"owners":{"description":"List of owners for the phase","items":{"type":"string"},"type":"array"},"parent_execution_id":{"description":"ID of the parent phase execution (set for loop iteration children)","type":"string"},"phase_execution_id":{"description":"ID of the phase execution","type":"string"},"retry_index":{"description":"Retry attempt index for the phase execution (0 for the original attempt)","format":"int32","type":"integer"},"start_ts":{"description":"Start timestamp in milliseconds","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/OrchestrationStatus"},"total_activities":{"description":"Total number of activities in the phase","type":"integer"}},"required":["name","identifier","status","completed_activities","total_activities","activityCounts"],"type":"object"},"ActivityCounts":{"description":"Activity counts grouped by type and status","properties":{"manual":{"$ref":"#/components/schemas/ActivityTypeCounts"},"pipeline":{"$ref":"#/components/schemas/ActivityTypeCounts"},"subprocess":{"$ref":"#/components/schemas/ActivityTypeCounts"}},"required":["pipeline","subprocess","manual"],"type":"object"},"ActivityTypeCounts":{"description":"Counts of activities by status for a specific activity type","properties":{"running":{"default":0,"description":"Number of running activities of this type","type":"integer"},"userAction":{"default":0,"description":"Number of activities of this type requiring user action","type":"integer"}},"required":["running","userAction"],"type":"object"},"FailureInfo":{"description":"Information about a failure that occurred","properties":{"code":{"description":"The failure code indicating the type of failure","type":"string"},"msg":{"description":"The failure message describing what went wrong","type":"string"}},"required":["msg"],"type":"object"},"OrchestrationStatus":{"description":"Status of orchestration execution activities","enum":["SCHEDULED","RUNNING","OUTPUT_WAITING","SUCCEEDED","FAILED","ABORTED","ON_HOLD","RETRIED","IGNORED","SKIPPED","QUEUED","PAUSED","PIPELINE_WAITING_FOR_USER_ACTION"],"type":"string"},"Error":{"description":"Error Response","properties":{"code":{"description":"canonical error code name","enum":["BAD_REQUEST","UNAUTHORIZED","FORBIDDEN","NOT_FOUND","INTERNAL_SERVER_ERROR"],"type":"string"},"explanation":{"description":"additional context about why the error occurred","type":"string"},"governanceMetadata":{"$ref":"#/components/schemas/GovernanceMetadata"},"message":{"description":"error message detail","type":"string"},"probable_fixes":{"description":"suggested actions to resolve the error","items":{"type":"string"},"type":"array"}},"required":["message"],"title":"Error Response","type":"object"},"GovernanceMetadata":{"properties":{"accountId":{"type":"string"},"action":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"details":{"items":{"$ref":"#/components/schemas/PolicySetMetadata"},"type":"array"},"entity":{"type":"string"},"id":{"type":"string"},"message":{"type":"string"},"orgId":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string"},"type":{"type":"string"}},"type":"object"},"PolicySetMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"deny":{"type":"boolean"},"description":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyMetadata":{"items":{"$ref":"#/components/schemas/PolicyMetadata"},"type":"array"},"policySetId":{"type":"string"},"policySetName":{"type":"string"},"projectId":{"type":"string"},"status":{"type":"string"}},"type":"object"},"PolicyMetadata":{"properties":{"accountId":{"type":"string"},"created":{"type":"string"},"denyMessages":{"items":{"type":"string"},"type":"array"},"error":{"type":"string"},"identifier":{"type":"string"},"orgId":{"type":"string"},"policyId":{"type":"string"},"policyName":{"type":"string"},"projectId":{"type":"string"},"severity":{"type":"string"},"status":{"type":"string"},"updated":{"type":"string"}},"type":"object"}},"responses":{"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}}}}
```
