Add Columns
Add one or more columns to a dataset with specified names and data types.
POST
https://api.futureagi.com/model-hub/develops/{dataset_id}/add_columns/ Authentication
Path parameters
dataset_id
The dataset ID.
Request body
new_columns_data
Array of column objects to create.
name
Name for the column. Must be unique within the dataset.
data_type
Column data type. Values: text, number, boolean, json, image, audio, pdf.
source
Source type annotation for the column.
Response
200 OK message
Confirmation message.
data
Array of created column objects.
id
UUID of the column.
name
Column name.
data_type
Column data type.
Errors
400
Invalid request parameters.
401
Invalid or missing API credentials.
404
The specified dataset was not found or does not belong to your organization.
500
Unexpected server error.