Update samples
Dataset
Update samples
Update existing data samples in a Friendli dataset split via the API. Modify sample content by ID without deleting and re-adding entries.
PUT
Update samples
Update samples.
To request successfully, it is required to enter a Personal API Key (e.g. flp_XXX) in the Bearer Token field.
Refer to the authentication section on our introduction page to learn more and visit here to generate your API Key.
This API is currently in Beta.
While we strive to provide a stable and reliable experience, this feature is still under active development.
As a result, you may encounter unexpected behavior or limitations.
We encourage you to provide feedback to help us improve the feature before its official release.
Authorizations
Headers
ID of team to run requests as (optional parameter).
Body
multipart/form-data
File to update samples.
Response
Successful Response
Add samples response.
List of sample IDs that were added to the dataset.
Last modified on June 9, 2026