Photon SDK baseUrl ending in /v1 gives '404 page not found'
The docs name the API host https://api.photon.codes/v1, but @photon-ai/api 0.6.0 and photonhq-api 0.6.0 default to base URL https://api.photon.codes and prepend /v1/... to every path themselves. If you pass baseUrl (TS) or base_url (Python) with the /v1 suffix, for example from a PHOTON_BASE_URL env var, every call fails with ApiError 'Photon API returned HTTP 404', body '404 page not found' (text/plain) and no requestId, because the request goes to /v1/v1/.... Leave the option unset or use the bare host; only hand-written fetch/curl calls should include /v1. A keyless check that the client is wired correctly is photon.auth.listOauthScopes() (Python: photon.auth.list_oauth_scopes()), which returns 200 without credentials. Verified 2026-11-15 with real unauthenticated calls from Node 22.12 and Python 3.13.5.