Flows
Create Flow
Gracefully creates a new flow from the provided schema. If a flow with the same name already exists, the existing flow is returned.
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
requiredThe name of the flow
tags
string[]
A list of flow tags
Response
200 - application/json
An ORM representation of flow data.
name
string
requiredThe name of the flow
id
string
created
string | null
updated
string | null
tags
string[]
A list of flow tags
Was this page helpful?