Skip to content

Add Sessions API support #7

Description

@isaka1022

What

Implement a client.sessions resource that wraps the Langfuse Sessions API, supporting create and get operations.

Why

Sessions group multiple traces that belong to the same user conversation or workflow. Without session support, multi-turn interactions cannot be visualised as a single unit in the Langfuse UI. This API is absent from all three competing Ruby gems (langfuse, langfuse-ruby ai-firstly, langfuse-rb), making it a concrete differentiator.

Effort estimate

S (half day) — add a Sessions client class following the existing resource pattern, wire it into the top-level client, and add spec coverage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    nextMedium priorityroadmapPlanned roadmap item

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions