Dataset

Update Dataset

Update a dataset.

You can update visual_schema only when the dataset status is draft.

Completion Requirements: To set status to completed, the dataset must have at least 5 images.

put/tailored-gen/datasets/{dataset_id}

Request

  • Base URL: https://engine.prod.bria-api.com/v1
  • URL: https://engine.prod.bria-api.com/v1/tailored-gen/datasets/{dataset_id}
  • Auth: none declared. Required headers: api_token

Path parameters

dataset_idinteger required

Headers

api_tokenstring required

Request body

namestring
visual_schemastring

A string containing the JSON structure from /generate_visual_schema. Can only be updated when status is draft.

status'draft' | 'completed'

Response

Dataset successfully updated

idinteger
project_idinteger
namestring
visual_schemastring nullable
status'draft' | 'completed'
captions_update_status'empty' | 'in_progress' | 'completed'
upload_type'basic' | 'advanced'
created_atstring date-time
updated_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.