Clinia
RegistryPipeline executions

Get a pipeline execution

GET
/sources/{sourceKey}/v1/pipelines/executions/{pipelineExecutionId}

Get a pipeline execution.

headerX-Clinia-API-Key<token>
sourceKey*string

The key of the source.

pipelineExecutionId*string

The id of the pipeline execution.

withOperationBody?boolean

If set to true, the response will include the body of the operation that triggered the pipeline execution and the operation processed by the pipeline. Defaults to false.

Defaultfalse

Response Body

Returns the pipeline execution.

application/json
  1. response
id*string

id to refer for a specific pipeline execution.

pipelineDefinitionId*v1RevisionId

versioned id to the related pipeline definition that generated the pipeline execution.

Match^[a-zA-Z0-9_-]+.[0-9]+$
status*v1PipelineExecutionStatus

Status of the pipeline execution.

  • SUCCESSFUL: The pipeline execution completed successfully. Every step of the pipeline was executed successfully and the change has been accepted in the system.
  • ERROR: The pipeline execution failed at a step due to a system error.
  • IN_PROGRESS: The pipeline execution is being processed by the system.
  • IN_REVIEW: The pipeline execution is waiting for a manual action. Refer to the ActOnPipelineExecution endpoint.
  • CANCELLED: The pipeline execution has been short-circuited by the system and never completed.
  • DROPPED: The pipeline execution has been dropped because the change has been rejected by the user following review.
Value in"SUCCESSFUL""ERROR""IN_PROGRESS""IN_REVIEW""CANCELLED""DROPPED"
steps*array<>
operation*

The operation processed by the pipeline. If the pipeline it not completed, it is the output of the last completed step.

processedOperation?

The operation processed by the pipeline. If the pipeline it not completed, it is the output of the last completed step.

createdAt*string
Formatdate-time
updatedAt*string
Formatdate-time
reviewAssignment?

Review assignment associated with the pipeline execution, if any.

Example Request
curl -X GET 'https://api..clinia.cloud/sources/string/v1/pipelines/executions/string'
Example Response
{  "id": "string",  "pipelineDefinitionId": "string",  "status": "SUCCESSFUL",  "steps": [    {      "status": "PROCESSED",      "error": {        "code": 400,        "message": "string",        "type": "ALREADY_EXISTS",        "details": [          {}        ],        "additionalContext": {}      },      "decision": {        "id": "string",        "description": "string",        "author": {          "id": "string",          "email": "string"        },        "actedAt": "2019-08-24T14:15:22Z"      },      "processedAt": "2019-08-24T14:15:22Z"    }  ],  "operation": {    "taskId": "string",    "id": "string",    "author": {      "id": "string",      "email": "string"    },    "action": "CREATE",    "target": {      "targetType": "RELATIONSHIP",      "id": "string",      "type": "string"    },    "body": {}  },  "processedOperation": {    "taskId": "string",    "id": "string",    "author": {      "id": "string",      "email": "string"    },    "action": "CREATE",    "target": {      "targetType": "RELATIONSHIP",      "id": "string",      "type": "string"    },    "body": {}  },  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z",  "reviewAssignment": {    "operationId": "string",    "reviewerId": "string",    "assignerId": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}