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

labels
object | null

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

tags
string[]

A list of flow tags

Response

200 - application/json

An ORM representation of flow data.

created
string | null
required
id
string
required
name
string
required

The name of the flow

updated
string | null
required
labels
object | null

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

tags
string[]

A list of flow tags