Skip to content

API References

Prefect provides several APIs.

  • The Prefect Python SDK API is used to build, test, and execute workflows against the Prefect orchestration engine. This is the primary user-facing API.
  • The Prefect REST API is used for communicating data from clients to the Prefect server so that orchestration can be performed. This API is consumed by clients such as the Prefect Python SDK or the server dashboard.
  • The Prefect Server API is used by the server to work with workflow metadata and enforce orchestration logic. This API is primarily used by Prefect developers.