Update Workflow Run

You can update the name and metadata of an in progress WorkflowRun at any time using this endpoint.

Path parameters

workflowRunIdstringRequired

The ID of the WorkflowRun. This ID will start with “workflow_run”. This ID can be found in the API response when creating a Workflow Run, or in the “history” tab of a workflow on the Extend platform.

Example: "workflow_run_8k9m-xyzAB_Pqrst-Nvw4"

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-extend-api-versionenumOptional

API version to use for the request. If you do not specify a version, you will either receive a 400 Bad Request or be set to a previous legacy version. See API Versioning for more details.

Allowed values:

Request

This endpoint expects an object.
namestringOptional

An optional name that can be assigned to a specific WorkflowRun

metadatamap from strings to anyOptional

A metadata object that can be assigned to a specific WorkflowRun. If metadata already exists on this WorkflowRun, the newly incoming metadata will be merged with the existing metadata, with the incoming metadata taking field precedence.

You can include any arbitrary key : value pairs in this object.

Response

Successfully updated workflow run

successboolean
workflowRunobject

Errors