> ## Documentation Index
> Fetch the complete documentation index at: https://personal-92-migrate-dev-docs-guides.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAPI Specification

> The canonical API contract that powers PlexAPI.dev

The [Plex Media Server OpenAPI specification](https://github.com/LukasParke/plex-api-spec/blob/main/plex-api-spec.yaml) is the canonical API contract for PlexAPI.dev. The [API reference](/api-reference) on this site and the [SDKs](/SDKs) are generated from this specification.

## What is OpenAPI?

OpenAPI is a standard format for describing REST APIs. It lets tools generate interactive documentation, client SDKs, server stubs, and tests from a single source of truth. If you are new to OpenAPI, [OpenAPI.Info](https://openapi.info/) is a comprehensive reference.

## The PlexAPI.dev specification

The canonical specification is maintained in the [plex-api-spec](https://github.com/LukasParke/plex-api-spec) repository as `plex-api-spec.yaml`. It describes the Plex Media Server endpoints, request parameters, response shapes, authentication, and error handling that the docs and SDKs rely on.

## How this site uses the specification

This documentation site consumes a rendered version of the specification that includes generated code samples. The sample-rich spec is produced by the [Speakeasy](https://www.speakeasyapi.dev/) workflow defined in the [plex-mintlify-docs](https://github.com/LukasParke/plex-mintlify-docs) repository.

## Contributing

Contributions to the specification are welcome. See the [Contributing](/contributing) page for the workflow, style rules, and how to validate changes.
