Prefect: API Design & Integration Surface
Docs-backedThe REST API covers flows, flow runs, deployments, schedules, and work pools. The deployment model is key: flows are deployed with specific infrastructure configurations and schedules, and agents interact with deployments to trigger runs or modify schedules. The flow run API enables agents to trigger specific deployments, pass runtime parameters, and monitor execution status for downstream coordination.