how can I dynamically create and run a deployment remotely through SDK or API? #16716
Answered
by
zzstoatzz
3030373635
asked this question in
General
-
Bug summaryLet me ask you, if my flow is deployed on 192.168.1.1 through prefect server, how can I dynamically create and run the deployment on 192.168.1.2 through SDK or API? Version info
Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
zzstoatzz
Jan 14, 2025
Replies: 1 comment
-
hi @3030373635 - if you have a server that you're hosting and you've created a deployment against, you can have a client trigger a run of that deployment by
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zzstoatzz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi @3030373635 - if you have a server that you're hosting and you've created a deployment against, you can have a client trigger a run of that deployment by
PREFECT_API_URL
on the client to point to your server iehttp://{your-domain}/api
run_deployment
to trigger a run (or otherwise hittingPOST /create_flow_run_from_deployment
)see the docs on this