@@ -49,7 +49,6 @@ curl --request POST \
49
49
--header ' Content-Type: application/json' \
50
50
--header ' X-API-Key: YOUR_API_KEY' \
51
51
--header ' X-Tenant-Id: YOUR_WORKSPACE_ID' \
52
- --header ' X-Organization-Id: YOUR_ORG_ID' \
53
52
--data ' {
54
53
"destination_type": "s3",
55
54
"display_name": "My S3 Destination",
@@ -80,7 +79,6 @@ curl --request POST \
80
79
--header ' Content-Type: application/json' \
81
80
--header ' X-API-Key: YOUR_API_KEY' \
82
81
--header ' X-Tenant-Id: YOUR_WORKSPACE_ID' \
83
- --header ' X-Organization-Id: YOUR_ORG_ID' \
84
82
--data ' {
85
83
"bulk_export_destination_id": "your_destination_id",
86
84
"session_id": "project_uuid",
@@ -102,8 +100,7 @@ curl --request GET \
102
100
--url ' https://api.smith.langchain.com/api/v1/bulk-exports/{export_id}' \
103
101
--header ' Content-Type: application/json' \
104
102
--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'
107
104
```
108
105
109
106
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 \
118
115
--url ' https://api.smith.langchain.com/api/v1/bulk-exports/{export_id}/runs' \
119
116
--header ' Content-Type: application/json' \
120
117
--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'
123
119
```
124
120
125
121
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 \
133
129
--url ' https://api.smith.langchain.com/api/v1/bulk-exports' \
134
130
--header ' Content-Type: application/json' \
135
131
--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'
138
133
```
139
134
140
135
This command returns a list of all export jobs along with their current statuses and creation timestamps.
@@ -149,7 +144,6 @@ curl --request PATCH \
149
144
--header ' Content-Type: application/json' \
150
145
--header ' X-API-Key: YOUR_API_KEY' \
151
146
--header ' X-Tenant-Id: YOUR_WORKSPACE_ID' \
152
- --header ' X-Organization-Id: YOUR_ORG_ID' \
153
147
--data ' {
154
148
"status": "Cancelled"
155
149
}'
0 commit comments