Update Column Type
Change the data type of an existing column with preview and conversion support.
PUT
https://api.futureagi.com/model-hub/develops/{dataset_id}/update_column_type/{column_id}/ Authentication
Path parameters
dataset_id
The dataset ID.
column_id
The column ID.
Request body
new_column_type
Target data type for the column.
preview
When true, returns a conversion preview without applying changes.
force_update
When true, forces conversion even if some values are incompatible.
Response
200 OKThe response structure varies depending on whether the request is in preview mode or execution mode.
message
Status message.
data
Conversion preview data.
invalid_count
Number of values that cannot be converted.
invalid_values
Sample values that cannot be converted.
valid_conversion_samples
Mapping of original values to converted equivalents.
new_data_type
Target data type evaluated.
column_id
UUID of the column.
new_data_type
Target data type.
status
Conversion task status.
Errors
400
Invalid request parameters.
401
Invalid or missing API credentials.
404
The specified column or dataset was not found, or does not belong to your organization.
500
Unexpected server error.