I could write an API Server that triggers the flow but since Prefect have an API server , i would like to call the flow directly from API , also pastting POST Json data which will be parsed inside the flow.
I honestly don’t know, I could check with the team what is allowed payload size, but if you put such large data into flow Parameter values, I wonder why don’t you put this data e.g. into S3 and only pass a reference to that object in your API request? it would make your API calls simpler and more reliable, even if your payload size would grow over time