-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:Add tracer session metadata and filter view endpoints to OpenAPI spec #178
Conversation
WalkthroughThis pull request introduces new API endpoints in the LangSmith OpenAPI specification for tracer sessions. It adds endpoints to retrieve metadata and to manage filter views (read, create, update, and delete). Additionally, minor modifications were made to existing endpoints by adding new query parameters and response fields. All changes are defined within the API schema file. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant API
participant Database
Client->>API: GET /api/v1/sessions/{session_id}/metadata?k=10
API->>Database: Query top K metadata values
Database-->>API: Return metadata values
API-->>Client: Metadata response
sequenceDiagram
participant Client
participant API
participant Database
Client->>API: GET /api/v1/sessions/{session_id}/views
API->>Database: Fetch filter views
Database-->>API: List of filter views
API-->>Client: Return filter views
Client->>API: POST /api/v1/sessions/{session_id}/views (new view data)
API->>Database: Create new filter view
Database-->>API: Confirmation of creation
API-->>Client: New filter view response
Possibly related PRs
Suggested reviewers
Poem
Tip 🌐 Web search-backed reviews and chat
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (8)
📒 Files selected for processing (1)
🔇 Additional comments (4)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit