Skip to content

feat(api): update API spec from langfuse/langfuse 784ab09#1538

Merged
hassiebp merged 1 commit intomainfrom
api-spec-bot-784ab09
Feb 24, 2026
Merged

feat(api): update API spec from langfuse/langfuse 784ab09#1538
hassiebp merged 1 commit intomainfrom
api-spec-bot-784ab09

Conversation

@langfuse-bot
Copy link
Collaborator

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

Important

Update API spec to deprecate parse_io_as_json in observations_v2 and add filter parameter in score_v2.

  • Behavior:
    • Deprecate parse_io_as_json parameter in get_many() in client.py and raw_client.py for observations_v2.
    • Add filter parameter to get() in client.py and raw_client.py for score_v2.
  • Deprecation:
    • parse_io_as_json now returns a 400 error if set to true in observations_v2 clients.
  • Enhancements:
    • filter parameter allows JSON stringified array of filter objects in score_v2 clients.

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

Disclaimer: Experimental PR review

Greptile Summary

Updates API spec from langfuse/langfuse repository to deprecate parse_io_as_json parameter in observations_v2 endpoints and add filtering capability to score_v2 endpoints.

Key Changes:

  • Deprecates parse_io_as_json parameter in observations_v2.get_many() - setting to true now returns 400 error
  • Adds filter parameter to score_v2.get() for metadata-based filtering using JSON stringified filter objects
  • Updates docstrings across sync and async clients to reflect these API changes

The changes are documentation-only updates to auto-generated API client code, ensuring the Python SDK matches the latest API specification.

Confidence Score: 5/5

  • Safe to merge - documentation-only changes to auto-generated API client code
  • This PR only updates docstrings and adds an optional parameter to auto-generated API client files. No functional logic changes, no breaking changes to existing functionality (the deprecated parameter still works when set to false), and the new filter parameter is optional with proper documentation.
  • No files require special attention

Important Files Changed

Filename Overview
langfuse/api/observations_v2/client.py Updated docstrings to deprecate parse_io_as_json parameter, warning it returns 400 error if set to true
langfuse/api/observations_v2/raw_client.py Updated docstrings to deprecate parse_io_as_json parameter, warning it returns 400 error if set to true
langfuse/api/score_v2/client.py Added filter parameter to get() method for JSON stringified array filtering of score metadata
langfuse/api/score_v2/raw_client.py Added filter parameter to get() method for JSON stringified array filtering of score metadata

Last reviewed commit: e0fe3cc

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.

4 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@hassiebp hassiebp merged commit 11d7ab6 into main Feb 24, 2026
13 checks passed
@hassiebp hassiebp deleted the api-spec-bot-784ab09 branch February 24, 2026 18:54
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