diff --git a/src/langsmith/data-export.mdx b/src/langsmith/data-export.mdx index 3db1d3e543..d1c3085642 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 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. @@ -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": true }, "credentials": { "access_key_id": "YOUR_S3_ACCESS_KEY_ID", @@ -143,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",