> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prefect.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Server API Overview

> The Prefect server API enables you to interact programmatically with self-hosted Prefect server.

The self-hosted Prefect server API is organized around REST.
Select links in the left navigation menu to explore.

Learn about [self-hosting Prefect server](/v3/how-to-guides/self-hosted/server-cli).

The generated OpenAPI schema for the self-hosted Prefect server API is published at [`/v3/api-ref/rest-api/server/schema.json`](/v3/api-ref/rest-api/server/schema.json). A running Prefect server also serves its schema from the `/openapi.json` endpoint of the REST API app, such as `http://localhost:4200/api/openapi.json` when using the default local server.
