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.

name
string
required

The name of the flow

id
string
created
string | null
updated
string | null
tags
string[]

A list of flow tags

labels
object | null

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