feat(api): update API spec from langfuse/langfuse 0335dcd18d2a141f9c6825e7ba21c14b0bdb56bd #1365
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Important
This pull request updates the API specification to include new functionalities for blob storage integrations and membership management, adding new clients, methods, and types to support these features.
BlobStorageIntegrationsClientandAsyncBlobStorageIntegrationsClientinclient.pyto manage blob storage integrations.get_blob_storage_integrations(),upsert_blob_storage_integration(), anddelete_blob_storage_integration().BlobStorageExportFrequency,BlobStorageExportMode,BlobStorageIntegrationDeletionResponse,BlobStorageIntegrationFileType,BlobStorageIntegrationResponse,BlobStorageIntegrationType,BlobStorageIntegrationsResponse, andCreateBlobStorageIntegrationRequest.delete_organization_membership()anddelete_project_membership()methods inorganizations/client.py.DeleteMembershipRequestandMembershipDeletionResponse.get()method inscore_v_2/client.pyto includesession_idparameter.list()method intrace/client.pyto clarify field group behavior in thefieldsparameter.test_http_client.pyandtest_query_encoding.py.This description was created by
for 7288996. You can customize this summary. It will automatically update as commits are pushed.
Disclaimer: Experimental PR review
Greptile Summary
Updated On: 2025-09-18 10:28:27 UTC
This PR is an automated API specification update from the main Langfuse repository (commit 0335dcd18d2a141f9c6825e7ba21c14b0bdb56bd) that introduces significant new functionality and makes important documentation improvements:
New Blob Storage Integration Feature: The most substantial addition is comprehensive blob storage integration support, allowing users to configure external cloud storage (AWS S3, S3-compatible services, Azure Blob Storage) for automated data exports. This includes:
get,upsert,delete)Organization Management Enhancement: New membership deletion capabilities allow programmatic removal of users from organizations and projects through dedicated endpoints that require organization-scoped API keys.
API Modernization: The batch ingestion endpoints are now marked as legacy with clear migration guidance toward OpenTelemetry standards at
/api/public/otel, reflecting Langfuse's strategic move toward industry-standard observability protocols.Enhanced Filtering: The ScoreV2 API now supports filtering by
session_id, completing the filtering capabilities for both trace and session scores.Documentation Improvements: Enhanced field parameter documentation for trace listing endpoints provides clearer guidance on exclusion behavior (empty arrays vs. sentinel values).
All changes follow established patterns in the codebase with consistent error handling, field aliasing (camelCase to snake_case), Pydantic model configurations, and serialization methods. The auto-generation ensures type safety and maintains compatibility with the backend API specification.
Confidence Score: 1/5
langfuse.core.*instead oflangfuse.api.core.*)