Hanzo
OpenapiFlow

Creates a workflow in the caller's org.

Creates a workflow in the caller's org. The org's project id is pinned server-side from the validated principal — there is no field by which a caller…

POST /v1/flow/workflows

Addresshttps://api.hanzo.ai/v1/flow/workflows
MethodPOST
Operationpost_flow_workflows
AuthAuthorization: Bearer $HANZO_API_KEY

Creates a workflow in the caller's org. The org's project id is pinned server-side from the validated principal — there is no field by which a caller could place a workflow in another org.

Request

3 fields, body application/json (required).

FieldInTypeRequiredDescription
databodyanyData is the workflow graph (the product's nodes/edges document), verbatim.
descriptionbodystringDescription says what the workflow does.
namebodystringName is the workflow's display name, unique within the org's project (the product de-duplicates by suffixing).

Response

StatusBodyMeaning
200ok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyanyyes

Failure carries the platform error shape — see Errors.

Examples

hanzo flow workflows create

Flow API · All Hanzo APIs · Interactive reference

How is this guide?

On this page