apologies if this is a silly question, but I’ve be...
# prefect-community
j
apologies if this is a silly question, but I’ve been going around and around for an hour now How can we trigger a flow run from the REST API (Prefect REST API - Prefect 2.0) using a POST
/api/flow_runs/
request from an external source? This was something we’d do regularly with the GraphQL api in Prefect 1.0
1
j
Thanks for this We’re running our agents on a VM without a public IP address for security reasons Previously on 1.0, we could pass a payload and API key to https://api.prefect.io where the job would go to pending, our private agents could then pick up the job and execute What base url should we be using for Prefect Cloud?
a
my apologies, let me update the example to show how to do that for Prefect Cloud 2.0 - excellent point!
will let you know - looks like it's more complicated than just changing the URL - will update here
j
Thanks so much! Working as expected now
🙌 1
🙏 1