Skip to content

feat(api): update API spec from langfuse/langfuse 25b5139#1543

Merged
hassiebp merged 1 commit intomainfrom
api-spec-bot-25b5139
Feb 26, 2026
Merged

feat(api): update API spec from langfuse/langfuse 25b5139#1543
hassiebp merged 1 commit intomainfrom
api-spec-bot-25b5139

Conversation

@langfuse-bot
Copy link
Collaborator

@langfuse-bot langfuse-bot commented Feb 26, 2026

Important

Add sessionId to trace field group in API client methods and data models.

  • API Specification:
    • Add sessionId to trace field group in get() and async get() methods in client.py and raw_client.py.
  • Data Models:
    • Add session_id field to GetScoresResponseTraceData in get_scores_response_trace_data.py.

This description was created by Ellipsis for d2fdc8e. You can customize this summary. It will automatically update as commits are pushed.

Disclaimer: Experimental PR review

Greptile Summary

Added sessionId support to Score V2 API trace field group. This auto-generated change updates documentation strings and adds an optional session_id field to the trace data model.

  • Updated fields parameter documentation in both sync and async versions of get() methods in client.py and raw_client.py to include sessionId in the trace properties list
  • Added session_id field to GetScoresResponseTraceData model with proper Pydantic aliasing (sessionId in API)
  • Changes are backward compatible (optional field) and follow existing patterns

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • Auto-generated API spec update that adds a single optional field. Changes are backward compatible, follow existing patterns exactly, and include proper typing and documentation. No logical errors, syntax issues, or breaking changes.
  • No files require special attention

Important Files Changed

Filename Overview
langfuse/api/score_v2/types/get_scores_response_trace_data.py Added session_id field to trace data model with proper typing and Pydantic aliasing
langfuse/api/score_v2/client.py Updated documentation to include sessionId in trace field group description (sync and async methods)
langfuse/api/score_v2/raw_client.py Updated documentation to include sessionId in trace field group description (sync and async methods)

Last reviewed commit: d2fdc8e

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@hassiebp hassiebp merged commit 30b46ba into main Feb 26, 2026
13 checks passed
@hassiebp hassiebp deleted the api-spec-bot-25b5139 branch February 26, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants