Skip to content

Rework observations.update to use ingestion-based span/generation updates #3

Description

@isaka1022

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    nowHigh priority - next uproadmapPlanned roadmap item

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions