<@ULVA73B9P> Could you give me an example of a min...
# ask-marvin
o
@Marvin Could you give me an example of a minimal request body to get a successful response from the
/api/deployments/{id}/create_flow_run
endpoint?
m
Ah, the joy of API requests. Here's a minimal example of a request body for the
/api/deployments/{id}/create_flow_run
endpoint:
Copy code
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.
o
Thank you that was helpful.