datasets
Share Dataset
Changed onShare a dataset publicly and return its share token.
Anyone with the share token can view the dataset, its examples, and its experiments, including their runs and feedback, without signing in. When the dataset is already shared, returns its existing share token. Fails with 403 when the organization disables public sharing.
put/api/v1/datasets/{dataset_id}/share
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/datasets/{dataset_id}/share
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Path parameters
dataset_idstring uuid required
Query parameters
share_projectsboolean
Deprecated and has no effect. A shared dataset always shows its experiments.
Response
Successful Response
Changes
- info
queryrequest parametershare_projectswas deprecated
- info
- breaking
the
/response's property type changed fromobjecttostringfor status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status
- breaking