Geoff Irons
02/25/2025, 3:29 AMMarvin
02/25/2025, 3:29 AM/deployments endpoint of the Prefect API.
2. Filter by Flow Name: In the response, filter the deployments by checking the flow_name attribute to match your desired flow name.
3. Extract Deployment ID: Once you have identified the correct deployment, extract the id attribute from the deployment's details.
Unfortunately, the specific REST API endpoint details and parameters aren't directly available in the Prefect documentation excerpts I reviewed. However, the general approach involves interacting with the /deployments endpoint and filtering the results based on the flow name.
For more precise details, you might want to refer to the official API documentation or explore the Prefect source code on GitHub for additional insights.