Skip to main content
POST
Publish flow

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

flow id (numeric string). Get it from flows.list.

Pattern: ^\d+$

Body

application/json
spec
object

A complete agent-authored flow DSL document.

nodes
object[]

Raw flow node graph, as sent by the builder UI.

edges
object[]

Raw flow edge graph, as sent by the builder UI.

Response

OK

The response is of type any.