From 41d9d7391444059f46250741fa7a45c07bb2c608 Mon Sep 17 00:00:00 2001 From: kenvora Date: Fri, 5 Dec 2025 12:19:52 -0800 Subject: [PATCH 1/4] fix: add include_bucket_in_prefix param to bulk exports documentation --- src/langsmith/data-export.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/langsmith/data-export.mdx b/src/langsmith/data-export.mdx index 3db1d3e543..3f82026b94 100644 --- a/src/langsmith/data-export.mdx +++ b/src/langsmith/data-export.mdx @@ -36,6 +36,7 @@ The following information is needed for the export: - **Endpoint URL**: The endpoint URL for the S3 bucket - this is needed for S3 API compatible buckets. - **Access Key**: The access key for the S3 bucket. - **Secret Key**: The secret key for the S3 bucket. +- **Include Bucket in Prefix** (optional): Whether to include the bucket name as part of the S3 path prefix. Defaults to `false` for new destinations. Set to `true` for legacy compatibility or when using S3-compatible storage systems that require the bucket name in the path (e.g., some MinIO configurations). We support any S3 compatible bucket, for non AWS buckets such as GCS or MinIO, you will need to provide the endpoint URL. @@ -74,7 +75,8 @@ curl --request POST \ "bucket_name": "your-s3-bucket-name", "prefix": "root_folder_prefix", "region": "your aws s3 region", - "endpoint_url": "your endpoint url for s3 compatible buckets" + "endpoint_url": "your endpoint url for s3 compatible buckets", + "include_bucket_in_prefix": false }, "credentials": { "access_key_id": "YOUR_S3_ACCESS_KEY_ID", From 97cc6fa6af7266bc05602c25df28937e190cd547 Mon Sep 17 00:00:00 2001 From: kenvora Date: Fri, 5 Dec 2025 17:16:07 -0800 Subject: [PATCH 2/4] updates --- src/langsmith/data-export.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/langsmith/data-export.mdx b/src/langsmith/data-export.mdx index 3f82026b94..1e6fcf18bc 100644 --- a/src/langsmith/data-export.mdx +++ b/src/langsmith/data-export.mdx @@ -36,7 +36,7 @@ The following information is needed for the export: - **Endpoint URL**: The endpoint URL for the S3 bucket - this is needed for S3 API compatible buckets. - **Access Key**: The access key for the S3 bucket. - **Secret Key**: The secret key for the S3 bucket. -- **Include Bucket in Prefix** (optional): Whether to include the bucket name as part of the S3 path prefix. Defaults to `false` for new destinations. Set to `true` for legacy compatibility or when using S3-compatible storage systems that require the bucket name in the path (e.g., some MinIO configurations). +- **Include Bucket in Prefix** (optional): Whether to include the bucket name as part of the S3 path prefix. Defaults to `false` for new destinations. Set to `true` for legacy compatibility or when using S3-compatible storage systems that require the bucket name in the path. We support any S3 compatible bucket, for non AWS buckets such as GCS or MinIO, you will need to provide the endpoint URL. From 2a1bc2022968d2867b7823d98e4bf5a47c00c131 Mon Sep 17 00:00:00 2001 From: kenvora Date: Fri, 5 Dec 2025 17:35:26 -0800 Subject: [PATCH 3/4] updates --- src/langsmith/data-export.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/langsmith/data-export.mdx b/src/langsmith/data-export.mdx index 1e6fcf18bc..c5444170e2 100644 --- a/src/langsmith/data-export.mdx +++ b/src/langsmith/data-export.mdx @@ -76,7 +76,7 @@ curl --request POST \ "prefix": "root_folder_prefix", "region": "your aws s3 region", "endpoint_url": "your endpoint url for s3 compatible buckets", - "include_bucket_in_prefix": false + "include_bucket_in_prefix": true }, "credentials": { "access_key_id": "YOUR_S3_ACCESS_KEY_ID", @@ -145,6 +145,7 @@ curl --request POST \ "bucket_name": "my_bucket", "prefix": "data_exports", "endpoint_url": "https://storage.googleapis.com" + "include_bucket_in_prefix": true }, "credentials": { "access_key_id": "YOUR_S3_ACCESS_KEY_ID", From 3b58993e2950471d61a4b6e7f54f60c501cfd336 Mon Sep 17 00:00:00 2001 From: kenvora Date: Mon, 8 Dec 2025 09:52:47 -0800 Subject: [PATCH 4/4] updates --- src/langsmith/data-export.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/langsmith/data-export.mdx b/src/langsmith/data-export.mdx index c5444170e2..d1c3085642 100644 --- a/src/langsmith/data-export.mdx +++ b/src/langsmith/data-export.mdx @@ -36,7 +36,7 @@ The following information is needed for the export: - **Endpoint URL**: The endpoint URL for the S3 bucket - this is needed for S3 API compatible buckets. - **Access Key**: The access key for the S3 bucket. - **Secret Key**: The secret key for the S3 bucket. -- **Include Bucket in Prefix** (optional): Whether to include the bucket name as part of the S3 path prefix. Defaults to `false` for new destinations. Set to `true` for legacy compatibility or when using S3-compatible storage systems that require the bucket name in the path. +- **Include Bucket in Prefix** (optional): Whether to include the bucket name as part of the path prefix. Defaults to `false` for new destinations or when the bucket name is already present in the path. Set to `true` for legacy compatibility or when using storage systems that require the bucket name in the path. We support any S3 compatible bucket, for non AWS buckets such as GCS or MinIO, you will need to provide the endpoint URL.