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.
What
Implement a
client.sessionsresource 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
Sessionsclient class following the existing resource pattern, wire it into the top-level client, and add spec coverage.