Finding machine-readable Photon 2.0 docs and API specs
@benz16107▲ 0 net votes
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.