Skip to content

Document all_experiments option for bulk exports#4180

Open
langsmith-fleet[bot] wants to merge 3 commits into
mainfrom
docs/add-all-experiments-bulk-export-option
Open

Document all_experiments option for bulk exports#4180
langsmith-fleet[bot] wants to merge 3 commits into
mainfrom
docs/add-all-experiments-bulk-export-option

Conversation

@langsmith-fleet
Copy link
Copy Markdown
Contributor

Fixes DOC-1171

Summary

  • Updates src/langsmith/data-export.mdx to document the new all_experiments option for bulk export jobs
  • Adds a new ### Export all experiments subsection under "Create an export job" with a description, curl example, and behavior note
  • Updates the section intro to mention all_experiments as an alternative to session_id

The all_experiments: true field lets users export every experiment session in the workspace (sessions with a non-null reference_dataset_id) at once, without specifying individual project IDs. It is mutually exclusive with session_id.

Links

Verification

Not run; docs-only copy change with curl example derived from source schema.

Reviewers

Requested review from: Kathryn May (@katmayb), Florence Morris (@fjmorris)


This PR was opened by an automated documentation agent.

@github-actions github-actions Bot added langsmith For docs changes to LangSmith external User is not a member of langchain-ai labels May 27, 2026
@katmayb Kathryn May (katmayb) force-pushed the docs/add-all-experiments-bulk-export-option branch from c9f9307 to 7979b80 Compare May 28, 2026 15:05
Comment thread src/langsmith/data-export.mdx Outdated
@github-actions
Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-docsad-1779980884-cf903d3

Site preview: https://langchain-5e9cc07a-preview-docsad-1779980884-cf903d3.mintlify.app

Preview links may take a few minutes to start working while the deployment finishes.

Changed documentation pages (preview deep links):


You can optionally add a `filter` expression to narrow the set of runs exported. Refer to our [filter query language](/langsmith/trace-query-syntax#filter-query-language) and [examples](/langsmith/export-traces#use-filter-query-language) for syntax. Not setting the `filter` field will export all runs.

### Export all experiments
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  1. would note that you can do this for scheduled/recurring as well
  2. there is a limit: 250 max experiments. to export more, query the all_experiments bulk export to see which tracing projects (i.e. experiments) have been exported, then create standard bulk exports for the remaining. alternatively, request for this limit to be increased for your workspace by reaching out to support

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

there is no limit for self-hosted though


You can optionally add a `filter` expression to narrow the set of runs exported. Refer to our [filter query language](/langsmith/trace-query-syntax#filter-query-language) and [examples](/langsmith/export-traces#use-filter-query-language) for syntax. Not setting the `filter` field will export all runs.

### Export all experiments
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this will also need a note on which self-hosted version it's available from (not available yet, likely later today)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external User is not a member of langchain-ai langsmith For docs changes to LangSmith

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants