How This Helps
Dataset sharing lets you collaborate with teammates without duplicating data. You can grant access to reviewers, annotators, or developers using a single API call.
Prerequisites
- A dataset ID (visible in the browser URL when viewing a dataset:
https://app.visual-layer.com/dataset/<dataset_id>/data). - A valid JWT token. See Authentication.
- The recipient must be a registered Visual Layer user.
Share a Dataset
Grant another user access to your dataset by sending their email address in aPUT request.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
grant_to_user_email | string | Yes | Email address of the user to grant access. Must be a registered Visual Layer account. |
Example
HTTP 200 with a null body.
List Dataset Members
Retrieve the list of users who currently have access to a dataset.Example
Response
Python Example
Response Codes
See Error Handling for the error response format and Python handling patterns.Invite (PUT /api/v1/manage/{dataset_id}/invite)
| HTTP Code | Meaning |
|---|---|
| 200 | User access granted successfully. |
| 401 | Unauthorized — check your JWT token. |
| 404 | Dataset not found, or the specified email does not match a registered Visual Layer account. |
List Members (GET /api/v1/manage/{dataset_id}/share)
| HTTP Code | Meaning |
|---|---|
| 200 | Members list returned successfully. |
| 401 | Unauthorized — check your JWT token. |
| 404 | Dataset not found. |