Hanzo
OpenapiAuto

Arms a flow's trigger and marks it ENABLED.

Arms a flow's trigger and marks it ENABLED.

POST /v1/auto/flows/{id}/enable

Addresshttps://api.hanzo.ai/v1/auto/flows/{id}/enable
MethodPOST
Operationpost_auto_flows_by_id_enable
AuthAuthorization: Bearer $HANZO_API_KEY

Arms a flow's trigger and marks it ENABLED. A POLLING trigger gets a cron schedule on the durable engine; a WEBHOOK trigger gets a subscription in the routing index, so an inbound event starts it; a MANUAL trigger arms nothing and still runs on demand.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyesID is the flow to act on, from the path.

Response

StatusBodyMeaning
200Flowok

200 body — 9 fields.

FieldInTypeAlwaysDescription
createdbodyinteger
externalIdbodystring
folderIdbodystring
idbodystring
metadatabodyany
projectIdbodystringprojectId == org (server-derived)
publishedVersionIdbodystring
statusbodystring
updatedbodyinteger

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Auto API · All Hanzo APIs · Interactive reference

How is this guide?

On this page