Update Monitoring

POST

Activate and deactivate Evaluators for monitoring the Flow.

An activated Evaluator will automatically be run on all new “completed” Logs within the Flow for monitoring purposes.

Path parameters

idstringRequired

Request

This endpoint expects an object.
activatelist of objectsOptional

Evaluators to activate for Monitoring. These will be automatically run on new Logs.

deactivatelist of objectsOptional

Evaluators to deactivate. These will not be run on new Logs.

Response

Successful Response

pathstring

Path of the Flow, including the name, which is used as a unique identifier.

idstring

Unique identifier for the Flow. Starts with fl_.

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
statusenum
Allowed values: uncommittedcommitteddeleted

The status of the Flow Version.

last_used_atdatetime
version_logs_countinteger

The number of logs that have been generated for this Flow Version

directory_idstringOptional

ID of the directory that the file is in on Humanloop.

commit_messagestringOptional

Message describing the changes made. If provided, a committed version of the Flow is created. Otherwise, an uncommitted version is created.

type"flow"OptionalDefaults to flow
environmentslist of objectsOptional

The list of environments the Flow Version is deployed to.

created_byanyOptional

The user who created the Flow.

committed_byanyOptional

The user who committed the Flow Version.

committed_atdatetimeOptional

The date and time the Flow Version was committed.

evaluator_aggregateslist of objectsOptional

Aggregation of Evaluator results for the Flow Version.

evaluatorslist of objectsOptional

The list of Monitoring Evaluators associated with the Flow Version.

Errors