Skip to content

Commit 88fcc58

Browse files
committed
remove org id
1 parent 0f3dd46 commit 88fcc58

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

versioned_docs/version-2.0/how_to_guides/tracing/data_export.mdx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ curl --request POST \
4949
--header 'Content-Type: application/json' \
5050
--header 'X-API-Key: YOUR_API_KEY' \
5151
--header 'X-Tenant-Id: YOUR_WORKSPACE_ID' \
52-
--header 'X-Organization-Id: YOUR_ORG_ID' \
5352
--data '{
5453
"destination_type": "s3",
5554
"display_name": "My S3 Destination",
@@ -80,7 +79,6 @@ curl --request POST \
8079
--header 'Content-Type: application/json' \
8180
--header 'X-API-Key: YOUR_API_KEY' \
8281
--header 'X-Tenant-Id: YOUR_WORKSPACE_ID' \
83-
--header 'X-Organization-Id: YOUR_ORG_ID' \
8482
--data '{
8583
"bulk_export_destination_id": "your_destination_id",
8684
"session_id": "project_uuid",
@@ -102,8 +100,7 @@ curl --request GET \
102100
--url 'https://api.smith.langchain.com/api/v1/bulk-exports/{export_id}' \
103101
--header 'Content-Type: application/json' \
104102
--header 'X-API-Key: YOUR_API_KEY' \
105-
--header 'X-Tenant-Id: YOUR_WORKSPACE_ID' \
106-
--header 'X-Organization-Id: YOUR_ORG_ID'
103+
--header 'X-Tenant-Id: YOUR_WORKSPACE_ID'
107104
```
108105

109106
Replace `{export_id}` with the ID of the export you want to monitor. This command retrieves the current status of the specified export job.
@@ -118,8 +115,7 @@ curl --request GET \
118115
--url 'https://api.smith.langchain.com/api/v1/bulk-exports/{export_id}/runs' \
119116
--header 'Content-Type: application/json' \
120117
--header 'X-API-Key: YOUR_API_KEY' \
121-
--header 'X-Tenant-Id: YOUR_WORKSPACE_ID' \
122-
--header 'X-Organization-Id: YOUR_ORG_ID'
118+
--header 'X-Tenant-Id: YOUR_WORKSPACE_ID'
123119
```
124120

125121
This command fetches all runs related to the specified export, providing details such as run ID, status, creation time, rows exported, etc.
@@ -133,8 +129,7 @@ curl --request GET \
133129
--url 'https://api.smith.langchain.com/api/v1/bulk-exports' \
134130
--header 'Content-Type: application/json' \
135131
--header 'X-API-Key: YOUR_API_KEY' \
136-
--header 'X-Tenant-Id: YOUR_WORKSPACE_ID' \
137-
--header 'X-Organization-Id: YOUR_ORG_ID'
132+
--header 'X-Tenant-Id: YOUR_WORKSPACE_ID'
138133
```
139134

140135
This command returns a list of all export jobs along with their current statuses and creation timestamps.
@@ -149,7 +144,6 @@ curl --request PATCH \
149144
--header 'Content-Type: application/json' \
150145
--header 'X-API-Key: YOUR_API_KEY' \
151146
--header 'X-Tenant-Id: YOUR_WORKSPACE_ID' \
152-
--header 'X-Organization-Id: YOUR_ORG_ID' \
153147
--data '{
154148
"status": "Cancelled"
155149
}'

0 commit comments

Comments
 (0)