Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/langsmith/data-export.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down