OpenAPI Spec
Full OpenAPI 3.0 specification
OpenAPI 3.0 Specification
PLP is defined as an OpenAPI 3.0 specification. The canonical spec includes YAML, Markdown, and JSON Schema formats in the PLP repository.
Endpoint Summary
GET /.well-known/plp— Discovery (capabilities, version)GET /prompts— List prompts (paginated)GET /prompts/{id}— Get latest versionGET /prompts/{id}/{version}— Get specific versionPUT /prompts/{id}— Create or update (upsert)DELETE /prompts/{id}— Delete promptPOST /prompts/{id}/publish— Publish a versionPOST /prompts/{id}/deploy— Deploy to environmentPOST /prompts/{id}/eval— Run eval suiteGET|POST|DELETE /context-store/*— Asset managementGET|POST|DELETE /prompts/{id}/context/*— Context mappings
Required vs Optional
Required: Discovery, GET prompt, PUT prompt, DELETE prompt
Optional: List, Publish, Deploy, Eval, Context Store. The discovery endpoint declares which capabilities a server supports.
Authentication
Bearer token via Authorization: Bearer <key>. Authentication is optional per the spec — servers may allow unauthenticated access to public prompts.
Status Codes
200— Success (update, get)201— Created (new prompt)204— Deleted404— Not found409— Conflict (version exists)