<@ULVA73B9P> how to get all flow runs by deploymen...
# marvin-in-the-wild
b
@Marvin how to get all flow runs by deployment id via prefect server rest api ?
m
I found some information that might be somewhat helpful though not specifically about retrieving flow runs by deployment id via REST API: - Deployments are associated with a single flow and are uniquely identified by the combination of
flow_name/deployment_name
. However, this document doesn't provide the REST API endpoint needed. Deployments Documentation - To configure Prefect to communicate with the server, you can set the
PREFECT_API_URL
, but this is a general configuration step and not related to retrieving flow runs by deployment ID from the Prefect Server's REST API. Prefect Open Source Page - Instructions on connecting and troubleshooting Prefect Cloud are given, but again, this does not directly address your question about using the REST API to get flow runs by deployment id. Connecting and Troubleshooting Unfortunately, the documents don't seem to directly answer your question. It's probable that the REST API documentation on the Prefect website contains the relevant endpoints and examples for listing flow runs by deployment id. You can check out the API documentation at
http://<your-prefect-server-host>:4200/docs
where you can find the REST API endpoints and usage. If you need help with a specific Prefect Server REST API call that's not well-documented, you might want to consider searching GitHub issues or asking directly in Prefect community channels.
b
this llm sucks 😄