In conjunction with both the GraphQL API and the UI, Prefect offers a fully-integrated CLI for working with the Prefect API. Using Prefect's GraphQL API as the backbone for communicating with the back end, we have designed the CLI to operate as a wrapper for GraphQL queries and mutations.

For CLI information visit the relevant API documentation