POST
/
api
/
flows
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created": "2023-11-07T05:31:56Z",
  "updated": "2023-11-07T05:31:56Z",
  "name": "my-flow",
  "tags": [
    "tag-1",
    "tag-2"
  ],
  "labels": {
    "key": "value1",
    "key2": 42
  }
}

Headers

x-prefect-api-version
string

Body

application/json

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

Response

200
application/json
Successful Response

An ORM representation of flow data.