What
Replace the current observations.update implementation, which calls PUT /api/public/observations/:id, with ingestion-based span/generation update events via the /api/public/ingestion batch endpoint.
Why
PUT /api/public/observations/:id does not exist in the official Langfuse API. The current implementation will return a 404 at runtime. The correct approach is to emit a span-update or generation-update ingestion event with the same observation ID, which is the pattern used by official SDKs. This is already noted as a known issue in the API Coverage table in the README.
Effort estimate
S (half day) — swap the HTTP method and endpoint; update spec stubs to match the ingestion path.
What
Replace the current
observations.updateimplementation, which callsPUT /api/public/observations/:id, with ingestion-based span/generation update events via the/api/public/ingestionbatch endpoint.Why
PUT /api/public/observations/:iddoes not exist in the official Langfuse API. The current implementation will return a 404 at runtime. The correct approach is to emit aspan-updateorgeneration-updateingestion event with the same observation ID, which is the pattern used by official SDKs. This is already noted as a known issue in the API Coverage table in the README.Effort estimate
S (half day) — swap the HTTP method and endpoint; update spec stubs to match the ingestion path.