> 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/orchestration-executions-beta.md).

# Orchestration Executions \[Beta]

## Get Activity Execution Inputs

> Retrieve input values for a specific activity execution

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/activity/{activityId}/input":{"get":{"description":"Retrieve input values for a specific activity execution","operationId":"GetOrchestrationExecutionActivityInputs","parameters":[{"description":"The activity execution ID","in":"path","name":"activityId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/ActivityExecutionInputsResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Activity Execution Inputs","tags":["Orchestration 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":{"ActivityExecutionInputsResponse":{"content":{"application/json":{"schema":{"properties":{"inputs":{"description":"List of input values for the activity execution","items":{"$ref":"#/components/schemas/ActivityExecutionInputDTO"},"type":"array"}},"required":["inputs"],"type":"object"}}},"description":"Response containing list of activity execution input values"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"ActivityExecutionInputDTO":{"description":"Input value for an activity execution","properties":{"metadata":{"additionalProperties":true,"description":"Free-form metadata bag persisted alongside the input value. release-artifact inputs use it to carry commitSha/repoName/branch/registry/artifactPath so the execution view can render them without a second lookup.\n","type":"object"},"name":{"description":"Name of the input parameter","type":"string"},"optional":{"description":"When true this input may be left blank at retry time; when false it must have a non-blank value","type":"boolean"},"readOnly":{"description":"When true this input cannot be changed at retry time","type":"boolean"},"type":{"$ref":"#/components/schemas/InputVariableType"},"value":{"$ref":"#/components/schemas/AnyValue"}},"required":["name","value","type"],"type":"object"},"InputVariableType":{"description":"Type of an input variable for parameters and process inputs.","enum":["string","list","boolean","number","object","service","multiService","environment","multiEnvironment","infrastructure","multiInfrastructure","connector","userGroups","artifactTag","release-artifact"],"type":"string"},"AnyValue":{"description":"Flexible type that accepts any JSON value (string, number, boolean, object, or array)","oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"additionalProperties":true,"type":"object"},{"items":{"type":"object"},"type":"array"}]},"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"}}}}
```

## Submit Activity Execution Outputs

> Submit outputs for a manual activity execution that is waiting for outputs

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/activity/{activityId}/output":{"post":{"description":"Submit outputs for a manual activity execution that is waiting for outputs","operationId":"PostActivityExecutionOutput","parameters":[{"description":"The activity execution ID","in":"path","name":"activityId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"outputs":{"items":{"$ref":"#/components/schemas/ExecutionOutputDTO"},"type":"array"}},"required":["outputs"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Outputs accepted"},"404":{"$ref":"#/components/responses/ErrorResponse"},"409":{"$ref":"#/components/responses/ErrorResponse"},"422":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Submit Activity Execution Outputs","tags":["Orchestration 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":{"ExecutionOutputDTO":{"description":"Output value for a phase execution","properties":{"description":{"description":"Description of the output parameter","type":"string"},"items":{"$ref":"#/components/schemas/OutputDataType"},"name":{"description":"Name of the output parameter","type":"string"},"type":{"$ref":"#/components/schemas/OutputDataType"},"value":{"$ref":"#/components/schemas/AnyValue"}},"required":["name","value"],"type":"object"},"OutputDataType":{"description":"Declared type of a Phase or Activity output.\nAbsent (empty) means the output has no declared type and is treated as 'string' for backward compatibility.\n","enum":["string","boolean","number","list","release-artifact"],"type":"string"},"AnyValue":{"description":"Flexible type that accepts any JSON value (string, number, boolean, object, or array)","oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"additionalProperties":true,"type":"object"},{"items":{"type":"object"},"type":"array"}]},"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"}}}}
```

## Perform a phase action (resume or restart)

> Process actions for a paused phase. 'resume' advances the DAG; 'restart' re-runs with changed inputs.

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/phase/{phaseExecutionId}/action":{"post":{"description":"Process actions for a paused phase. 'resume' advances the DAG; 'restart' re-runs with changed inputs.","operationId":"PostPhaseAction","parameters":[{"description":"The ID of the phase execution","in":"path","name":"phaseExecutionId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"requestBody":{"$ref":"#/components/requestBodies/PhaseActionRequest"},"responses":{"200":{"$ref":"#/components/responses/PhaseActionResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Perform a phase action (resume or restart)","tags":["Orchestration 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"}}},"requestBodies":{"PhaseActionRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhaseActionRequest"}}},"required":true}},"schemas":{"PhaseActionRequest":{"properties":{"action":{"description":"The action to perform on the paused phase. 'resume' proceeds the DAG; 'restart' re-runs the phase (optionally with changed inputs).","enum":["resume","restart"],"type":"string"},"inputs":{"description":"Optional changed phase input overrides, applied only when action is 'restart'. Each entry carries the input name, type, and value (any JSON type).","items":{"$ref":"#/components/schemas/PhaseExecutionInputDTO"},"type":"array"}},"required":["action"],"type":"object"},"PhaseExecutionInputDTO":{"description":"Input value for a phase execution restart","properties":{"name":{"description":"Name of the input parameter","type":"string"},"type":{"$ref":"#/components/schemas/InputVariableType"},"value":{"$ref":"#/components/schemas/AnyValue"}},"required":["name","type","value"],"type":"object"},"InputVariableType":{"description":"Type of an input variable for parameters and process inputs.","enum":["string","list","boolean","number","object","service","multiService","environment","multiEnvironment","infrastructure","multiInfrastructure","connector","userGroups","artifactTag","release-artifact"],"type":"string"},"AnyValue":{"description":"Flexible type that accepts any JSON value (string, number, boolean, object, or array)","oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"additionalProperties":true,"type":"object"},{"items":{"type":"object"},"type":"array"}]},"PhaseActionResponse":{"properties":{"action":{"description":"The action that was performed","type":"string"},"phaseExecutionId":{"description":"The ID of the phase execution","type":"string"}},"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":{"PhaseActionResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhaseActionResponse"}}},"description":"Successful phase action response"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}}}}
```

## Get artifact update availability for a paused phase

> For a paused phase, compares the tag stored in each release-artifact input against the latest ingested tag for that service mapping. Returns a list of inputs where a newer tag is available.<br>

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/phase/{phaseExecutionId}/artifact-updates":{"get":{"description":"For a paused phase, compares the tag stored in each release-artifact input against the latest ingested tag for that service mapping. Returns a list of inputs where a newer tag is available.\n","operationId":"GetPhaseArtifactUpdates","parameters":[{"description":"The ID of the phase execution","in":"path","name":"phaseExecutionId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/PhaseArtifactUpdatesResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get artifact update availability for a paused phase","tags":["Orchestration 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":{"PhaseArtifactUpdatesResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhaseArtifactUpdatesResponse"}}},"description":"Artifact update availability for a paused phase"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"PhaseArtifactUpdatesResponse":{"properties":{"hasUpdates":{"description":"True if at least one release-artifact input has a newer tag available","type":"boolean"},"updates":{"description":"List of inputs with available tag updates","items":{"$ref":"#/components/schemas/PhaseArtifactUpdateDTO"},"type":"array"}},"required":["hasUpdates","updates"],"type":"object"},"PhaseArtifactUpdateDTO":{"description":"A single release-artifact input that has a newer tag available","properties":{"currentTag":{"description":"The tag that was used when this phase run started","type":"string"},"inputName":{"description":"The name of the input variable","type":"string"},"latestTag":{"description":"The most recently ingested tag for this service mapping","type":"string"},"serviceMappingIdentifier":{"description":"The service mapping identifier","type":"string"}},"required":["inputName","serviceMappingIdentifier","currentTag","latestTag"],"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 Activity Execution Outputs

> Retrieve output values for a specific activity execution

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/release/{releaseId}/phase/{phaseIdentifier}/activity/{activityIdentifier}/output":{"get":{"description":"Retrieve output values for a specific activity execution","operationId":"GetOrchestrationExecutionActivityOutputs","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","required":true,"schema":{"type":"string"}},{"description":"The identifier of the phase","in":"path","name":"phaseIdentifier","required":true,"schema":{"type":"string"}},{"description":"The identifier of the activity","in":"path","name":"activityIdentifier","required":true,"schema":{"type":"string"}},{"description":"The ID of the activity execution","in":"query","name":"activityExecutionId","schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/ExecutionOutputsResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Activity Execution Outputs","tags":["Orchestration 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":{"ExecutionOutputsResponse":{"content":{"application/json":{"schema":{"properties":{"outputs":{"description":"List of output values for the phase execution","items":{"$ref":"#/components/schemas/ExecutionOutputDTO"},"type":"array"}},"required":["outputs"],"type":"object"}}},"description":"Response containing list of phase execution output values"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"ExecutionOutputDTO":{"description":"Output value for a phase execution","properties":{"description":{"description":"Description of the output parameter","type":"string"},"items":{"$ref":"#/components/schemas/OutputDataType"},"name":{"description":"Name of the output parameter","type":"string"},"type":{"$ref":"#/components/schemas/OutputDataType"},"value":{"$ref":"#/components/schemas/AnyValue"}},"required":["name","value"],"type":"object"},"OutputDataType":{"description":"Declared type of a Phase or Activity output.\nAbsent (empty) means the output has no declared type and is treated as 'string' for backward compatibility.\n","enum":["string","boolean","number","list","release-artifact"],"type":"string"},"AnyValue":{"description":"Flexible type that accepts any JSON value (string, number, boolean, object, or array)","oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"additionalProperties":true,"type":"object"},{"items":{"type":"object"},"type":"array"}]},"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 Activity Execution Outputs (v2)

> Retrieve grouped output values for a specific activity execution (v2 format)

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/release/{releaseId}/phase/{phaseIdentifier}/activity/{activityIdentifier}/output/v2":{"get":{"description":"Retrieve grouped output values for a specific activity execution (v2 format)","operationId":"GetOrchestrationExecutionActivityOutputsV2","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","required":true,"schema":{"type":"string"}},{"description":"The identifier of the phase","in":"path","name":"phaseIdentifier","required":true,"schema":{"type":"string"}},{"description":"The identifier of the activity","in":"path","name":"activityIdentifier","required":true,"schema":{"type":"string"}},{"description":"The ID of the activity execution","in":"query","name":"activityExecutionId","schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/ExecutionOutputsV2Response"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Activity Execution Outputs (v2)","tags":["Orchestration 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":{"ExecutionOutputsV2Response":{"content":{"application/json":{"schema":{"properties":{"values":{"description":"List of output groups; one entry per webhook signal (or one entry for phase/manual outputs)","items":{"$ref":"#/components/schemas/ExecutionOutputGroupDTO"},"type":"array"}},"required":["values"],"type":"object"}}},"description":"Response containing grouped output values (v2)"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"ExecutionOutputGroupDTO":{"description":"A group of output entries from one webhook signal or execution, with extensible metadata","properties":{"output":{"description":"List of output name/value pairs for this group","items":{"$ref":"#/components/schemas/ExecutionOutputV2DTO"},"type":"array"}},"required":["output","metadata"],"type":"object"},"ExecutionOutputV2DTO":{"description":"A single name/value output entry (v2)","properties":{"name":{"description":"Name of the output parameter","type":"string"},"value":{"description":"Value of the output parameter (always a string in v2)","type":"string"}},"required":["name","value"],"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 Activity Retry History By Identifiers

> Retrieve the retry history for a specific activity by release ID, phase identifier, and activity identifier

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/release/{releaseId}/phase/{phaseIdentifier}/activity/{activityIdentifier}/retry-history":{"get":{"description":"Retrieve the retry history for a specific activity by release ID, phase identifier, and activity identifier","operationId":"GetActivityRetryHistoryByIdentifiers","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","required":true,"schema":{"type":"string"}},{"description":"The identifier of the phase","in":"path","name":"phaseIdentifier","required":true,"schema":{"type":"string"}},{"description":"The identifier of the activity","in":"path","name":"activityIdentifier","required":true,"schema":{"type":"string"}},{"description":"The ID of the activity execution","in":"query","name":"activityExecutionId","schema":{"type":"string"}},{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"},{"description":"Maximum retry index to include (optional filter)","in":"query","name":"maxRetryIndex","schema":{"minimum":0,"type":"integer"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityRetryHistoryResponse"}}},"description":"Successfully retrieved activity retry history"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Activity Retry History By Identifiers","tags":["Orchestration Executions"]}}},"components":{"parameters":{"Cursor":{"description":"Cursor Based Pagination","in":"query","name":"cursor","schema":{"type":"string"}},"Limit":{"description":"The number of records expected","in":"query","name":"limit","schema":{"default":500,"maximum":500,"type":"number"}},"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":{"ActivityRetryHistoryResponse":{"description":"Response containing the retry history for an activity execution","properties":{"last":{"description":"Whether this is the last page of results","type":"boolean"},"nextRequest":{"$ref":"#/components/schemas/NextRequest"},"retries":{"description":"List of retry attempts for the activity","items":{"$ref":"#/components/schemas/ActivityRetryInfo"},"type":"array"}},"required":["retries","last","nextRequest"],"type":"object"},"NextRequest":{"properties":{"cursor":{"type":"string"},"limit":{"type":"integer"}},"type":"object"},"ActivityRetryInfo":{"description":"Information about a single retry attempt","properties":{"activityExecutionId":{"description":"The ID of the activity execution","type":"string"},"activityName":{"description":"The name of the activity","type":"string"},"canRetry":{"description":"Whether this activity can be retried (true if status is not RETRIED, false otherwise)","type":"boolean"},"createdAt":{"description":"Creation timestamp in milliseconds","format":"int64","type":"integer"},"endTs":{"description":"End timestamp in milliseconds","format":"int64","type":"integer"},"failureInfo":{"$ref":"#/components/schemas/FailureInfo"},"identifier":{"description":"The identifier of the activity","type":"string"},"phaseId":{"description":"The ID of the phase this activity belongs to","type":"string"},"pipeline":{"$ref":"#/components/schemas/PipelineActivityInfo"},"retryIndex":{"description":"The retry index (0 for original, 1+ for retries)","format":"int32","type":"integer"},"startTs":{"description":"Start timestamp in milliseconds","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/OrchestrationStatus"},"subprocess":{"$ref":"#/components/schemas/SubprocessActivityInfo"},"triggerInfo":{"$ref":"#/components/schemas/ActivityTriggerInfo"},"yaml":{"description":"YAML representation of the activity","type":"string"}},"required":["activityExecutionId","retryIndex","status","createdAt","activityName","identifier","yaml"],"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"},"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"},"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 Phase Execution Inputs

> Retrieve input values for a specific phase execution. If phaseExecutionId is provided it is used directly; otherwise the latest execution for the given release/phase is returned.

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/release/{releaseId}/phase/{phaseIdentifier}/input":{"get":{"description":"Retrieve input values for a specific phase execution. If phaseExecutionId is provided it is used directly; otherwise the latest execution for the given release/phase is returned.","operationId":"GetOrchestrationExecutionPhaseInputs","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","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 (optional fast-path)","in":"query","name":"phaseExecutionId","schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/ActivityExecutionInputsResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Phase Execution Inputs","tags":["Orchestration 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":{"ActivityExecutionInputsResponse":{"content":{"application/json":{"schema":{"properties":{"inputs":{"description":"List of input values for the activity execution","items":{"$ref":"#/components/schemas/ActivityExecutionInputDTO"},"type":"array"}},"required":["inputs"],"type":"object"}}},"description":"Response containing list of activity execution input values"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"ActivityExecutionInputDTO":{"description":"Input value for an activity execution","properties":{"metadata":{"additionalProperties":true,"description":"Free-form metadata bag persisted alongside the input value. release-artifact inputs use it to carry commitSha/repoName/branch/registry/artifactPath so the execution view can render them without a second lookup.\n","type":"object"},"name":{"description":"Name of the input parameter","type":"string"},"optional":{"description":"When true this input may be left blank at retry time; when false it must have a non-blank value","type":"boolean"},"readOnly":{"description":"When true this input cannot be changed at retry time","type":"boolean"},"type":{"$ref":"#/components/schemas/InputVariableType"},"value":{"$ref":"#/components/schemas/AnyValue"}},"required":["name","value","type"],"type":"object"},"InputVariableType":{"description":"Type of an input variable for parameters and process inputs.","enum":["string","list","boolean","number","object","service","multiService","environment","multiEnvironment","infrastructure","multiInfrastructure","connector","userGroups","artifactTag","release-artifact"],"type":"string"},"AnyValue":{"description":"Flexible type that accepts any JSON value (string, number, boolean, object, or array)","oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"additionalProperties":true,"type":"object"},{"items":{"type":"object"},"type":"array"}]},"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 Phase Execution Outputs

> Retrieve output values for a specific phase execution

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/release/{releaseId}/phase/{phaseIdentifier}/output":{"get":{"description":"Retrieve output values for a specific phase execution","operationId":"GetOrchestrationExecutionPhaseOutputs","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","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"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/ExecutionOutputsResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Phase Execution Outputs","tags":["Orchestration 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":{"ExecutionOutputsResponse":{"content":{"application/json":{"schema":{"properties":{"outputs":{"description":"List of output values for the phase execution","items":{"$ref":"#/components/schemas/ExecutionOutputDTO"},"type":"array"}},"required":["outputs"],"type":"object"}}},"description":"Response containing list of phase execution output values"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"ExecutionOutputDTO":{"description":"Output value for a phase execution","properties":{"description":{"description":"Description of the output parameter","type":"string"},"items":{"$ref":"#/components/schemas/OutputDataType"},"name":{"description":"Name of the output parameter","type":"string"},"type":{"$ref":"#/components/schemas/OutputDataType"},"value":{"$ref":"#/components/schemas/AnyValue"}},"required":["name","value"],"type":"object"},"OutputDataType":{"description":"Declared type of a Phase or Activity output.\nAbsent (empty) means the output has no declared type and is treated as 'string' for backward compatibility.\n","enum":["string","boolean","number","list","release-artifact"],"type":"string"},"AnyValue":{"description":"Flexible type that accepts any JSON value (string, number, boolean, object, or array)","oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"additionalProperties":true,"type":"object"},{"items":{"type":"object"},"type":"array"}]},"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 Phase Execution Outputs (v2)

> Retrieve grouped output values for a specific phase execution (v2 format)

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/release/{releaseId}/phase/{phaseIdentifier}/output/v2":{"get":{"description":"Retrieve grouped output values for a specific phase execution (v2 format)","operationId":"GetOrchestrationExecutionPhaseOutputsV2","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","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"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/ExecutionOutputsV2Response"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Phase Execution Outputs (v2)","tags":["Orchestration 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":{"ExecutionOutputsV2Response":{"content":{"application/json":{"schema":{"properties":{"values":{"description":"List of output groups; one entry per webhook signal (or one entry for phase/manual outputs)","items":{"$ref":"#/components/schemas/ExecutionOutputGroupDTO"},"type":"array"}},"required":["values"],"type":"object"}}},"description":"Response containing grouped output values (v2)"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"ExecutionOutputGroupDTO":{"description":"A group of output entries from one webhook signal or execution, with extensible metadata","properties":{"output":{"description":"List of output name/value pairs for this group","items":{"$ref":"#/components/schemas/ExecutionOutputV2DTO"},"type":"array"}},"required":["output","metadata"],"type":"object"},"ExecutionOutputV2DTO":{"description":"A single name/value output entry (v2)","properties":{"name":{"description":"Name of the output parameter","type":"string"},"value":{"description":"Value of the output parameter (always a string in v2)","type":"string"}},"required":["name","value"],"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 Phase Retry History By Identifiers

> Retrieve the retry history for a specific phase by release ID and phase identifier

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/release/{releaseId}/phase/{phaseIdentifier}/retry-history":{"get":{"description":"Retrieve the retry history for a specific phase by release ID and phase identifier","operationId":"GetPhaseRetryHistoryByIdentifiers","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","required":true,"schema":{"type":"string"}},{"description":"The identifier of the phase","in":"path","name":"phaseIdentifier","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhaseRetryHistoryResponse"}}},"description":"Successfully retrieved phase retry history"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Phase Retry History By Identifiers","tags":["Orchestration Executions"]}}},"components":{"parameters":{"Cursor":{"description":"Cursor Based Pagination","in":"query","name":"cursor","schema":{"type":"string"}},"Limit":{"description":"The number of records expected","in":"query","name":"limit","schema":{"default":500,"maximum":500,"type":"number"}},"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":{"PhaseRetryHistoryResponse":{"description":"Response containing the retry history for a phase execution","properties":{"last":{"description":"Whether this is the last page of results","type":"boolean"},"nextRequest":{"$ref":"#/components/schemas/NextRequest"},"retries":{"description":"List of retry attempts for the phase","items":{"$ref":"#/components/schemas/PhaseRetryInfo"},"type":"array"}},"required":["retries","last","nextRequest"],"type":"object"},"NextRequest":{"properties":{"cursor":{"type":"string"},"limit":{"type":"integer"}},"type":"object"},"PhaseRetryInfo":{"description":"Information about a single phase retry attempt","properties":{"createdAt":{"description":"Creation timestamp in milliseconds","format":"int64","type":"integer"},"endTs":{"description":"End timestamp in milliseconds","format":"int64","type":"integer"},"identifier":{"description":"The identifier of the phase","type":"string"},"phaseExecutionId":{"description":"The ID of the phase execution","type":"string"},"phaseName":{"description":"The name of the phase","type":"string"},"retryIndex":{"description":"The retry index (0 for original, 1+ for retries)","format":"int32","type":"integer"},"startTs":{"description":"Start timestamp in milliseconds","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/OrchestrationStatus"},"statusInfo":{"$ref":"#/components/schemas/StatusInfo"}},"required":["phaseExecutionId","retryIndex","status","createdAt","phaseName","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"},"StatusInfo":{"description":"Status details for an execution step (covers both failure and non-failure terminal states)","properties":{"code":{"description":"The status code","type":"string"},"msg":{"description":"The status message","type":"string"}},"required":["msg"],"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 Latest Release Input by Release ID

> Retrieve the latest release input for a specific release ID

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/releaseInput/{releaseId}":{"get":{"description":"Retrieve the latest release input for a specific release ID","operationId":"GetOrchestrationExecutionReleaseInput","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"process_execution_id":{"description":"ID of the process execution","type":"string"},"release_id":{"description":"ID of the release","type":"string"},"yaml":{"description":"YAML content of the release input","type":"string"}},"required":["release_id","process_execution_id","yaml"],"type":"object"}}},"description":"Successfully retrieved release input"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Latest Release Input by Release ID","tags":["Orchestration 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":{"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"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"}}}}
```

## Start Release Execution

> Start a new release execution for the given identifier

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/startRelease/{id}":{"post":{"description":"Start a new release execution for the given identifier","operationId":"StartReleaseExecution","parameters":[{"description":"Unique id of the release to execute","in":"path","name":"id","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"releaseInputYaml":{"description":"YAML configuration for release input","type":"string"}},"required":["releaseInputYaml"],"type":"object"}}},"required":true},"responses":{"200":{"$ref":"#/components/responses/ExecutionStartResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Start Release Execution","tags":["Orchestration 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":{"ExecutionStartResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecutionStartResponse"}}},"description":"Execution started successfully"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"ExecutionStartResponse":{"description":"Response for starting a release or process execution","properties":{"executionId":{"description":"Navigation slug for the started process execution (on-the-go process execute only)","type":"string"},"governanceMetadata":{"$ref":"#/components/schemas/GovernanceMetadata"},"identifier":{"description":"Identifier of the started release or orchestration process","type":"string"},"yaml":{"description":"YAML content of the release or execution input","type":"string"}},"required":["identifier","yaml"],"title":"ExecutionStartResponse","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"},"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"}}}}
```

## Update Task Comment

> Update an existing task comment

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/task/comment/{commentId}":{"put":{"description":"Update an existing task comment","operationId":"UpdateTaskComment","parameters":[{"description":"ID of the comment to update","in":"path","name":"commentId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"comment":{"description":"The updated comment text","type":"string"}},"required":["comment"],"type":"object"}}},"required":true},"responses":{"200":{"$ref":"#/components/responses/UpdateTaskCommentResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Update Task Comment","tags":["Orchestration 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":{"UpdateTaskCommentResponse":{"content":{"application/json":{"schema":{"properties":{"commentId":{"description":"UUID of the updated comment","type":"string"}},"required":["commentId"],"type":"object"}}},"description":"Response for successful task comment update"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"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"}}}}
```

## Delete Task Comment

> Delete a specific task comment

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/task/comment/{commentId}":{"delete":{"description":"Delete a specific task comment","operationId":"DeleteTaskComment","parameters":[{"description":"ID of the comment to delete","in":"path","name":"commentId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"204":{"description":"Comment deleted successfully"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Delete Task Comment","tags":["Orchestration 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":{"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"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"}}}}
```

## Create Task Comment

> Create a new comment for a specific execution task

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/task/{taskExecutionId}/comment":{"post":{"description":"Create a new comment for a specific execution task","operationId":"CreateTaskComment","parameters":[{"description":"ID of the execution task","in":"path","name":"taskExecutionId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"comment":{"description":"The comment text","type":"string"}},"required":["comment"],"type":"object"}}},"required":true},"responses":{"200":{"$ref":"#/components/responses/CreateTaskCommentResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Create Task Comment","tags":["Orchestration 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":{"CreateTaskCommentResponse":{"content":{"application/json":{"schema":{"properties":{"commentId":{"description":"UUID of the created comment","type":"string"}},"required":["commentId"],"type":"object"}}},"description":"Response for successful task comment creation"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"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 Task Comments Summary

> Retrieve a cursor based paginated list of comments for a specific execution task

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/task/{taskExecutionId}/comment/summary":{"get":{"description":"Retrieve a cursor based paginated list of comments for a specific execution task","operationId":"GetTaskCommentsSummary","parameters":[{"description":"ID of the execution task","in":"path","name":"taskExecutionId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"}],"responses":{"200":{"$ref":"#/components/responses/TaskCommentsListResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Task Comments Summary","tags":["Orchestration 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"}},"Cursor":{"description":"Cursor Based Pagination","in":"query","name":"cursor","schema":{"type":"string"}},"Limit":{"description":"The number of records expected","in":"query","name":"limit","schema":{"default":500,"maximum":500,"type":"number"}}},"responses":{"TaskCommentsListResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskCommentsListResponseDTO"}}},"description":"Paginated list of task comments"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"TaskCommentsListResponseDTO":{"description":"Paginated response containing task comments","properties":{"comments":{"description":"List of task comments","items":{"$ref":"#/components/schemas/TaskCommentDTO"},"type":"array"},"last":{"description":"Whether this is the last page of results","type":"boolean"},"nextRequest":{"$ref":"#/components/schemas/NextRequest"}},"required":["comments","nextRequest","last"],"type":"object"},"TaskCommentDTO":{"description":"Represents a comment on an execution task","properties":{"comment":{"description":"The comment text","type":"string"},"commentId":{"description":"UUID of the comment","type":"string"},"commentedBy":{"$ref":"#/components/schemas/CommentedByDTO"},"createdAt":{"description":"Unix timestamp when the comment was created","format":"int64","type":"integer"},"isEdited":{"description":"Whether the comment has been edited since creation","type":"boolean"},"lastUpdatedAt":{"description":"Unix timestamp when the comment was last updated","format":"int64","type":"integer"}},"required":["commentId","comment","commentedBy","createdAt","lastUpdatedAt","isEdited"],"title":"TaskCommentDTO","type":"object"},"CommentedByDTO":{"properties":{"email":{"description":"Email of the person who approved the step.","type":"string"},"name":{"description":"Name of the person who approved the step.","type":"string"}},"required":["email","name"],"type":"object"},"NextRequest":{"properties":{"cursor":{"type":"string"},"limit":{"type":"integer"}},"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"}}}}
```

## Update Execution Task Metadata

> Update the metadata (name and description) of a specific execution task

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/task/{taskExecutionId}/metadata":{"put":{"description":"Update the metadata (name and description) of a specific execution task","operationId":"UpdateExecutionTaskMetadata","parameters":[{"description":"ID of the execution task","in":"path","name":"taskExecutionId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"description":{"description":"Updated description for the task","type":"string"},"name":{"description":"Updated name for the task","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"$ref":"#/components/responses/UpdateExecutionTaskMetadataResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Update Execution Task Metadata","tags":["Orchestration 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":{"UpdateExecutionTaskMetadataResponse":{"content":{"application/json":{"schema":{"properties":{"taskExecutionId":{"description":"UUID of the updated task","type":"string"}},"required":["taskExecutionId"],"type":"object"}}},"description":"Response for successful task metadata update"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"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"}}}}
```

## Update Execution Task Status

> Update the status of a specific execution task

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/task/{taskExecutionId}/status":{"put":{"description":"Update the status of a specific execution task","operationId":"UpdateExecutionTaskStatus","parameters":[{"description":"ID of the execution task","in":"path","name":"taskExecutionId","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"status":{"$ref":"#/components/schemas/ExecutionTaskStatus"}},"required":["status"],"type":"object"}}},"required":true},"responses":{"200":{"$ref":"#/components/responses/UpdateExecutionTaskStatusResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Update Execution Task Status","tags":["Orchestration 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":{"ExecutionTaskStatus":{"description":"Current status of the execution task","enum":["TODO","IN_PROGRESS","SUCCEEDED","FAILED","BLOCKED"],"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":{"UpdateExecutionTaskStatusResponse":{"content":{"application/json":{"schema":{"properties":{"status":{"$ref":"#/components/schemas/ExecutionTaskStatus"},"taskExecutionId":{"description":"UUID of the updated task","type":"string"}},"required":["taskExecutionId","status"],"type":"object"}}},"description":"Response for successful task status update"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}}}}
```

## Get Activities by Release and Phase ID

> Retrieve all activities for a specific release and phase execution. If no activities exist in the database, it will fetch them from the phase YAML configuration.

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/{releaseId}/phase/{phaseIdentifier}/activities":{"get":{"description":"Retrieve all activities for a specific release and phase execution. If no activities exist in the database, it will fetch them from the phase YAML configuration.","operationId":"GetOrchestrationExecutionActivities","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","required":true,"schema":{"type":"string"}},{"description":"The identifier of the phase execution","in":"path","name":"phaseIdentifier","required":true,"schema":{"type":"string"}},{"description":"The ID of the phase execution","in":"query","name":"phaseExecutionId","schema":{"type":"string"}},{"in":"query","name":"status","schema":{"items":{"type":"string"},"type":"array"}},{"description":"The activity 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":{"$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 Activities by Release and Phase ID","tags":["Orchestration 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 Orchestration Execution Tasks by Activity

> Retrieve all orchestration execution tasks for a specific activity in a release phase

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/{releaseId}/phase/{phaseIdentifier}/activity/{activityIdentifier}/tasks":{"get":{"description":"Retrieve all orchestration execution tasks for a specific activity in a release phase","operationId":"GetOrchestrationExecutionTasks","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","required":true,"schema":{"type":"string"}},{"description":"The identifier of the phase","in":"path","name":"phaseIdentifier","required":true,"schema":{"type":"string"}},{"description":"The identifier of the activity","in":"path","name":"activityIdentifier","required":true,"schema":{"type":"string"}},{"description":"The ID of the activity execution","in":"query","name":"activityExecutionId","schema":{"type":"string"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"$ref":"#/components/responses/ExecutionTasksListResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Orchestration Execution Tasks by Activity","tags":["Orchestration 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":{"ExecutionTasksListResponse":{"content":{"application/json":{"schema":{"properties":{"tasks":{"description":"List of execution tasks","items":{"$ref":"#/components/schemas/ExecutionTaskDTO"},"type":"array"}},"required":["tasks"],"type":"object"}}},"description":"Response containing list of execution tasks"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"ExecutionTaskDTO":{"description":"Represents an execution task for a specific activity","properties":{"actualDuration":{"description":"Actual duration taken for the task (e.g., \"7h\")","type":"string"},"createdAt":{"description":"Unix timestamp when the task was created","format":"int64","type":"integer"},"description":{"description":"Description of the task","type":"string"},"execute":{"$ref":"#/components/schemas/TaskExecuteConfig"},"expectedDuration":{"description":"Expected duration for the task (e.g., \"1d 12h\")","type":"string"},"failureInfo":{"$ref":"#/components/schemas/FailureInfo"},"identifier":{"description":"Unique identifier of the task","type":"string"},"lastUpdatedAt":{"description":"Unix timestamp when the task was last updated","format":"int64","type":"integer"},"name":{"description":"Name of the task","type":"string"},"required":{"$ref":"#/components/schemas/StringOrBool"},"status":{"$ref":"#/components/schemas/ExecutionTaskStatus"},"taskExecutionId":{"description":"ID of the task execution","type":"string"},"userGroups":{"$ref":"#/components/schemas/StringOrStringArray"}},"required":["identifier","name","status","required","userGroups","expectedDuration"],"type":"object"},"TaskExecuteConfig":{"description":"Configuration for subprocess execution from a manual task","properties":{"processes":{"description":"Either the literal string \"all\" (any process can be triggered), the literal string \"none\" (no process can be triggered), or an array of whitelisted process identifiers.\n","oneOf":[{"enum":["all","none"],"type":"string"},{"items":{"type":"string"},"type":"array"}]}},"required":["processes"],"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"},"StringOrBool":{"description":"Flexible type that accepts either a boolean or a string","oneOf":[{"description":"Boolean value","type":"boolean"},{"description":"String value","type":"string"}]},"ExecutionTaskStatus":{"description":"Current status of the execution task","enum":["TODO","IN_PROGRESS","SUCCEEDED","FAILED","BLOCKED"],"type":"string"},"StringOrStringArray":{"description":"Flexible type that accepts either a single string or an array of strings for user references","oneOf":[{"description":"Reference as a string","type":"string"},{"description":"Array of references as strings","items":{"type":"string"},"type":"array"}]},"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 Phases by Release ID

> Retrieve all phases for a specific release. Returns phase details including their YAML configurations.

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/execution/{releaseId}/phases":{"get":{"description":"Retrieve all phases for a specific release. Returns phase details including their YAML configurations.","operationId":"GetOrchestrationExecutionPhases","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","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 Phases by Release ID","tags":["Orchestration 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"}}}}
```

## Get Activity Execution Detail

> Retrieve detailed information about an activity execution including phase info, yaml, and pipeline/subprocess execution details. If activityExecutionId is provided, filters by it directly. Otherwise, filters by releaseId, phaseIdentifier, activityIdentifier, and retryIndex (defaults to 0 if not provided).

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/release/{releaseId}/phase/{phaseIdentifier}/activity/{activityIdentifier}":{"get":{"description":"Retrieve detailed information about an activity execution including phase info, yaml, and pipeline/subprocess execution details. If activityExecutionId is provided, filters by it directly. Otherwise, filters by releaseId, phaseIdentifier, activityIdentifier, and retryIndex (defaults to 0 if not provided).","operationId":"GetOrchestrationExecutionActivity","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","required":true,"schema":{"type":"string"}},{"description":"The identifier of the phase","in":"path","name":"phaseIdentifier","required":true,"schema":{"type":"string"}},{"description":"The identifier of the activity","in":"path","name":"activityIdentifier","required":true,"schema":{"type":"string"}},{"description":"Optional activity execution ID. If provided, filters by this ID directly.","in":"query","name":"activityExecutionId","schema":{"type":"string"}},{"description":"Optional retry index. Used when activityExecutionId is not provided. Defaults to 0 if not specified.","in":"query","name":"retryIndex","schema":{"format":"int32","type":"integer"}},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrchestrationExecutionActivityDetail"}}},"description":"Successfully retrieved activity execution details"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Activity Execution Detail","tags":["Orchestration 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":{"OrchestrationExecutionActivityDetail":{"description":"Detailed information about an activity execution","properties":{"activity_execution_id":{"description":"ID of the activity execution","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"},"phaseIdentifier":{"description":"Identifier of the phase","type":"string"},"phaseName":{"description":"Name of the phase","type":"string"},"phase_execution_id":{"description":"ID of the phase execution","type":"string"},"pipeline":{"$ref":"#/components/schemas/PipelineActivityInfo"},"process_execution_id":{"description":"ID of the process execution","type":"string"},"retry_id":{"description":"Retry ID of the activity execution","type":"string"},"retry_index":{"description":"Retry index of the activity execution","format":"int32","type":"integer"},"root_retry_id":{"description":"Root retry ID of the activity execution","type":"string"},"start_ts":{"description":"Start timestamp in milliseconds","format":"int64","type":"integer"},"status":{"$ref":"#/components/schemas/OrchestrationStatus"},"subprocess":{"$ref":"#/components/schemas/SubprocessActivityInfo"},"triggerInfo":{"$ref":"#/components/schemas/ActivityTriggerInfo"},"yaml":{"description":"YAML configuration of the activity","type":"string"}},"required":["identifier","name","status","yaml","phaseIdentifier","phaseName","activity_execution_id","phase_execution_id","process_execution_id"],"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"},"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"},"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 Events by Entity Type and Entity ID

> Retrieve a cursor-based paginated list of events for a specific entity type and entity ID, sorted by created\_at in descending order

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/orchestration/{entityType}/events/{entityId}":{"get":{"description":"Retrieve a cursor-based paginated list of events for a specific entity type and entity ID, sorted by created_at in descending order","operationId":"GetEventsByEntityTypeAndId","parameters":[{"$ref":"#/components/parameters/EventEntityTypeParam"},{"$ref":"#/components/parameters/EventEntityIdParam"},{"$ref":"#/components/parameters/EventTypeParam"},{"$ref":"#/components/parameters/AccountParam"},{"$ref":"#/components/parameters/OrgParam"},{"$ref":"#/components/parameters/ProjectParam"},{"$ref":"#/components/parameters/Cursor"},{"$ref":"#/components/parameters/Limit"}],"responses":{"200":{"$ref":"#/components/responses/EventsResponse"},"400":{"$ref":"#/components/responses/ErrorResponse"},"403":{"$ref":"#/components/responses/ErrorResponse"},"404":{"$ref":"#/components/responses/ErrorResponse"},"500":{"$ref":"#/components/responses/ErrorResponse"}},"summary":"Get Events by Entity Type and Entity ID","tags":["Orchestration Executions"]}}},"components":{"parameters":{"EventEntityTypeParam":{"description":"Type of entity for events","in":"path","name":"entityType","required":true,"schema":{"enum":["Task"],"type":"string"}},"EventEntityIdParam":{"description":"The ID of the entity","in":"path","name":"entityId","required":true,"schema":{"type":"string"}},"EventTypeParam":{"description":"Optional filter by event type","in":"query","name":"eventType","schema":{"type":"string"}},"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"}},"Cursor":{"description":"Cursor Based Pagination","in":"query","name":"cursor","schema":{"type":"string"}},"Limit":{"description":"The number of records expected","in":"query","name":"limit","schema":{"default":500,"maximum":500,"type":"number"}}},"responses":{"EventsResponse":{"content":{"application/json":{"schema":{"properties":{"events":{"description":"List of events","items":{"$ref":"#/components/schemas/EventDTO"},"type":"array"},"last":{"description":"Whether this is the last page of results","type":"boolean"},"nextRequest":{"$ref":"#/components/schemas/NextRequest"}},"required":["events","nextRequest","last"],"type":"object"}}},"description":"Successful response for events"},"ErrorResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Error Response body"}},"schemas":{"EventDTO":{"description":"Represents an event for an entity","properties":{"createdAt":{"description":"Unix timestamp when the event was created","format":"int64","type":"integer"},"createdBy":{"$ref":"#/components/schemas/CreatedByDTO"},"entityId":{"description":"The ID of the entity","type":"string"},"entityType":{"$ref":"#/components/schemas/EventEntity"},"eventMetadata":{"$ref":"#/components/schemas/EventMetadata"},"type":{"$ref":"#/components/schemas/EventType"}},"required":["entityId","entityType","type","eventMetadata","createdBy","createdAt"],"type":"object"},"CreatedByDTO":{"description":"Details of the user who created the event","properties":{"email":{"description":"Email of the user who created the event","type":"string"},"identifier":{"description":"Identifier of the user who created the event","type":"string"},"name":{"description":"Name of the user who created the event","type":"string"}},"required":["name","email"],"type":"object"},"EventEntity":{"description":"Type of entity for events","enum":["Task"],"type":"string"},"EventMetadata":{"description":"Metadata for an event","properties":{"from":{"description":"The previous state/value","type":"string"},"to":{"description":"The new state/value","type":"string"}},"required":["from","to"],"type":"object"},"EventType":{"description":"Type of event","enum":["Status"],"type":"string"},"NextRequest":{"properties":{"cursor":{"type":"string"},"limit":{"type":"integer"}},"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 Paginated Activities by Release ID

> Retrieve a paginated list of orchestration execution activities for a specific release with optional filters.\
> \
> \*\*Sortable fields:\*\* \`start\_ts\`, \`startTs\`, \`end\_ts\`, \`endTs\`, \`last\_updated\_at\`, \`lastUpdatedAt\`, \`created\_at\`, \`createdAt\`, \`name\`, \`identifier\`, \`status\`, \`type\`.\
> Sort format: \`sort=field\_name\&sort=direction\` where direction is \`asc\` or \`desc\`.\
> Examples: \`sort=start\_ts\&sort=desc\` or \`sort=endTs\&sort=asc\`.<br>

```json
{"openapi":"3.0.0","info":{"title":"rms","version":"1.0"},"tags":[{"name":"Orchestration Executions"}],"servers":[{"url":"/api"}],"paths":{"/release/{releaseId}/execution/activities":{"get":{"description":"Retrieve a paginated list of orchestration execution activities for a specific release with optional filters.\n\n**Sortable fields:** `start_ts`, `startTs`, `end_ts`, `endTs`, `last_updated_at`, `lastUpdatedAt`, `created_at`, `createdAt`, `name`, `identifier`, `status`, `type`.\nSort format: `sort=field_name&sort=direction` where direction is `asc` or `desc`.\nExamples: `sort=start_ts&sort=desc` or `sort=endTs&sort=asc`.\n","operationId":"GetOrchestrationExecutionActivitiesPaginated","parameters":[{"description":"The ID of the release","in":"path","name":"releaseId","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"},{"$ref":"#/components/parameters/OrchestrationStatusListParam"},{"description":"Filter activities by type (PIPELINE, SUBPROCESS, MANUAL)","in":"query","name":"type","schema":{"items":{"enum":["PIPELINE","SUBPROCESS","MANUAL"],"type":"string"},"type":"array"}},{"description":"Filter activities by phase identifier","in":"query","name":"phaseIdentifier","schema":{"type":"string"}},{"description":"Filter activities that started on or after this timestamp (in milliseconds). Activities with start_ts >= startTs will be included.","in":"query","name":"startTs","schema":{"format":"int64","type":"integer"}},{"description":"Filter activities that started on or before this timestamp (in milliseconds). Activities with start_ts <= endTs will be included.","in":"query","name":"endTs","schema":{"format":"int64","type":"integer"}},{"description":"Filter activities that were triggered by tasks with the specified user_reference_id. Only activities linked to tasks via the activity_task_id table will be returned.","in":"query","name":"taskUserReferenceId","schema":{"type":"string"}}],"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 Paginated Activities by Release ID","tags":["Orchestration 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"}},"OrchestrationStatusListParam":{"description":"Filter activities by status (can specify multiple statuses).\nValid values: SCHEDULED, QUEUED, RUNNING, OUTPUT_WAITING, PIPELINE_WAITING_FOR_USER_ACTION, SUCCEEDED, FAILED, ABORTED, ON_HOLD, PAUSED, RETRIED, IGNORED, SKIPPED.\n","in":"query","name":"status","schema":{"items":{"enum":["SCHEDULED","RUNNING","OUTPUT_WAITING","PIPELINE_WAITING_FOR_USER_ACTION","QUEUED","SUCCEEDED","FAILED","ABORTED","ON_HOLD","PAUSED","RETRIED","IGNORED","SKIPPED"],"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"}}}}
```
