Skip to content

Commit 35d872e

Browse files
committed
fix: add include_bucket_in_prefix param to bulk exports documentation
1 parent 28096ac commit 35d872e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/langsmith/data-export.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ The following information is needed for the export:
3636
- **Endpoint URL**: The endpoint URL for the S3 bucket - this is needed for S3 API compatible buckets.
3737
- **Access Key**: The access key for the S3 bucket.
3838
- **Secret Key**: The secret key for the S3 bucket.
39+
- **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).
3940

4041
We support any S3 compatible bucket, for non AWS buckets such as GCS or MinIO, you will need to provide the endpoint URL.
4142

@@ -74,7 +75,8 @@ curl --request POST \
7475
"bucket_name": "your-s3-bucket-name",
7576
"prefix": "root_folder_prefix",
7677
"region": "your aws s3 region",
77-
"endpoint_url": "your endpoint url for s3 compatible buckets"
78+
"endpoint_url": "your endpoint url for s3 compatible buckets",
79+
"include_bucket_in_prefix": false
7880
},
7981
"credentials": {
8082
"access_key_id": "YOUR_S3_ACCESS_KEY_ID",

0 commit comments

Comments
 (0)