DatasetSnapshots

Create dataset snapshot

Changed on

Create a new dataset snapshot. If there is an existing dataset snapshot with the same name as the one specified in the request, will return the existing dataset snapshot unmodified

post/v1/dataset_snapshot

Request

  • Base URL
    https://api.braintrust.dev
  • Auth
    • HTTP bearer
    • or none

Request body

dataset_idstring uuid required

Unique identifier for the dataset that this snapshot belongs to

namestring required

Name of the dataset snapshot

descriptionstring nullable

Textual description of the dataset snapshot

xact_idstring required

Transaction id of the brainstore version at the time of the snapshot

Response

Returns the new dataset snapshot object

idstring uuid required

Unique identifier for the dataset snapshot

dataset_idstring uuid required

Unique identifier for the dataset that this snapshot belongs to

namestring required

Name of the dataset snapshot

descriptionstring nullable required
xact_idstring required

Transaction id of the brainstore version at the time of the snapshot

createdstring date-time nullable required

Date of dataset snapshot creation

Changes