POST
/
api
/
flows
/

Headers

x-prefect-api-version
string

Body

application/json

Data used by the Prefect REST API to create a flow.

name
string
required

The name of the flow

tags
string[]

A list of flow tags

labels
object | null

A dictionary of key-value labels. Values can be strings, numbers, or booleans.

Response

200 - application/json

An ORM representation of flow data.

id
string
required
created
string | null
required
updated
string | null
required
name
string
required

The name of the flow

tags
string[]

A list of flow tags

labels
object | null

A dictionary of key-value labels. Values can be strings, numbers, or booleans.