Add Columns to Scenario
Adds new AI-generated columns to a scenario's dataset.
POST
https://api.futureagi.com/simulate/scenarios/{scenario_id}/add-columns/ Authentication
Path parameters
scenario_id
The scenario ID. The dataset must have at least one row.
Request body
columns
Column definitions to add (1—10 per request). Names must be unique in the dataset. Each column: name (string, max 50 chars), dataType (text, boolean, integer, float, json, array, image, images, datetime, audio, document, others, persona), description (string, max 200 chars, guides AI generation).
Response
202 Accepted message
Confirmation that column generation has started.
scenario_id
UUID of the scenario.
dataset_id
UUID of the underlying dataset.
columns
Names of the columns being generated.
Errors
400
Invalid columns: missing fields, duplicates, exceeds 10-column limit, or dataset has no rows.
401
Invalid or missing API credentials.
404
Scenario not found.
500
Unexpected server error.