The REST API documentation for a locally hosted open-source Prefect server is available in the Prefect REST API Reference.
When self-hosting, you can access REST API documentation at the /docs endpoint of your PREFECT_API_URL - for example, if you ran prefect server start with no additional configuration you can find this reference at http://localhost:4200/docs.