Move Flow

Move the Flow to a different path or change the name.

Path parameters

idstringRequired
Unique identifier for Flow.

Headers

X-API-KEYstringRequired

Request

This endpoint expects an object.
pathstringOptional
Path of the Flow including the Flow name, which is used as a unique identifier.
namestringOptional
Name of the Flow.
directory_idstringOptional

Unique identifier for the Directory to move Flow to. Starts with dir_.

Response

Successful Response
pathstring
Path of the Flow, including the name, which is used as a unique identifier.
idstring
Unique identifier for the Flow.
attributesmap from strings to any

A key-value object identifying the Flow Version.

namestring
Name of the Flow.
version_idstring
Unique identifier for the specific Flow Version. If no query params provided, the default deployed Flow Version is returned.
created_atdatetime
updated_atdatetime
last_used_atdatetime
version_logs_countinteger
The number of logs that have been generated for this Flow Version
directory_idstring or null
ID of the directory that the file is in on Humanloop.
version_namestring or null
Unique name for the Flow version. Version names must be unique for a given Flow.
version_descriptionstring or null
Description of the Version.
descriptionstring or null
Description of the Flow.
schemamap from strings to any or null
The JSON schema for the File.
readmestring or null
Long description of the file.
tagslist of strings or null
List of tags associated with the file.
type"flow" or nullDefaults to flow
environmentslist of objects or null
The list of environments the Flow Version is deployed to.
created_byany or null
The user who created the Flow.
evaluator_aggregateslist of objects or null
Aggregation of Evaluator results for the Flow Version.
evaluatorslist of objects or null
The list of Monitoring Evaluators associated with the Flow Version.

Errors