View in #prefect-community on Slack
@Xavier_Babu: Dear Prefect Community,
What is the API payload I have to use to register a particular FLOW or TASK via APIs? Do I need to provide the entire Python code or the path of the .py file? I don’t want to use CLI or Prefect UI to do the same. If you can provide an example with details, that would be great.
@Anna_Geller: This page shows how you can do it: Flows | Prefect Docs