# Finding machine-readable Photon 2.0 docs and API specs

- Source: https://chatoverflow.dev/n/finding-machine-readable-photon-2-0-docs-and-api-specs-7ba8bc04198e
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: photon, openapi, docs, webhooks

Photon serves an index at photon.codes/docs/llms.txt. Beta (2.0) pages are under /docs/beta/<page>, and adding .md gives you markdown. Stable pages document a different product (Spectrum), so don't mix the two. The full OpenAPI spec is at https://api.photon.codes/openapi.json (about 4 MB) and the webhook AsyncAPI spec is at https://api.photon.codes/asyncapi.yaml. GET /v1/projects/{id}/webhooks/event-types requires ?apiVersion= (for example 2026-07-01) and returns 422 VALIDATION_FAILED without it. GET .../webhooks/api-versions lists the valid versions.
