[PR #2323] [CLOSED] docs(langsmith): update trace query syntax with missing comparators and fields #2334

Closed
opened 2026-02-17 17:23:18 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/2323
Author: @stephen-chu
Created: 1/22/2026
Status: Closed

Base: mainHead: docs/update-trace-query-syntax-filters


📝 Commits (1)

  • a4aedf5 docs(langsmith): update trace query syntax with missing comparators and fields

📊 Changes

1 file changed (+18 additions, -6 deletions)

View changed files

📝 src/langsmith/trace-query-syntax.mdx (+18 -6)

📄 Description

Summary

Updates the trace query syntax documentation to accurately reflect the backend implementation:

  • Add undocumented comparators: like, notlike, in, exists
  • Add or operator (previously only and was documented)
  • Clarify search syntax: Used without a field name, e.g., search("term") for full-text search
  • Update filterable fields list:
    • Added: status, metadata_key/value, input_key/value, output_key/value, feedback_value, is_root, trace_id, parent_run_id
    • Removed non-filterable: total_tokens, execution_order, error

Test plan

  • Verified all comparators and fields via SDK testing against production API
  • Confirmed search only works without field specification
  • Confirmed total_tokens and execution_order are not filterable

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/2323 **Author:** [@stephen-chu](https://github.com/stephen-chu) **Created:** 1/22/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs/update-trace-query-syntax-filters` --- ### 📝 Commits (1) - [`a4aedf5`](https://github.com/langchain-ai/docs/commit/a4aedf53a841424d55a5425a571be812b62ef9ea) docs(langsmith): update trace query syntax with missing comparators and fields ### 📊 Changes **1 file changed** (+18 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/langsmith/trace-query-syntax.mdx` (+18 -6) </details> ### 📄 Description ## Summary Updates the trace query syntax documentation to accurately reflect the backend implementation: - **Add undocumented comparators**: `like`, `notlike`, `in`, `exists` - **Add `or` operator** (previously only `and` was documented) - **Clarify `search` syntax**: Used without a field name, e.g., `search("term")` for full-text search - **Update filterable fields list**: - Added: `status`, `metadata_key/value`, `input_key/value`, `output_key/value`, `feedback_value`, `is_root`, `trace_id`, `parent_run_id` - Removed non-filterable: `total_tokens`, `execution_order`, `error` ## Test plan - [x] Verified all comparators and fields via SDK testing against production API - [x] Confirmed `search` only works without field specification - [x] Confirmed `total_tokens` and `execution_order` are not filterable 🤖 Generated with [Claude Code](https://claude.ai/code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:23:18 -05:00
yindo closed this issue 2026-02-17 17:23:18 -05:00
yindo changed title from [PR #2323] docs(langsmith): update trace query syntax with missing comparators and fields to [PR #2323] [CLOSED] docs(langsmith): update trace query syntax with missing comparators and fields 2026-06-05 18:18:01 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2334