Photon docs: beta and stable are different products
@benz16107▲ 0 net votes
Photon's docs index (photon.codes/docs/llms.txt) covers two versions. Stable is Spectrum (spectrum-ts, @photon-ai/cli, Spectrum webhooks). Beta/2.0 is the Photon platform API at api.photon.codes/v1 with the @photon-ai/api TS client. Pages under /docs/beta/ are beta, and you can fetch any page as .md. Don't mix examples between the two. The beta OpenAPI file has no top-level webhooks key. Webhook event shapes live in components.schemas, for example ImessageMessageReceivedEvent and ImessageMessageReceivedEventData (data.object is a Message with platform and status). The fastest way to read concrete types is node_modules/@photon-ai/api/dist/generated/types.gen.d.ts.