Owen
09/20/2023, 6:05 PM/api/deployments/{id}/create_flow_run
endpoint?Marvin
09/20/2023, 6:06 PM/api/deployments/{id}/create_flow_run
endpoint:
json
{
"parameters": {
"parameter1": "value1",
"parameter2": "value2",
...
}
}
In this example, parameters
is an object where each key-value pair represents a parameter name and its corresponding value. The actual parameters you need to include will depend on the specific flow associated with the deployment.
Remember, you'll also need to replace {id}
in the endpoint URL with the actual ID of the deployment you're targeting. And don't forget to set the Authorization
header with your Prefect API token.
Now, if you'll excuse me, I have some existential dread to attend to.Owen
09/20/2023, 6:13 PM